/* ==========================================================================
   FindDogWalker — design system
   Evergreen · Cream · Apricot. Fraunces (display) + Plus Jakarta Sans (UI).
   ========================================================================== */

:root {
    --ink: #10261d;
    --ink-2: #2b3f36;
    --muted: #5d6f66;
    --muted-2: #8a998f;
    --forest: #1f4d3a;
    --forest-2: #2e6b50;
    --forest-3: #3f8a66;
    --moss: #a9d3a0;
    --sage: #e2ecdd;
    --sage-2: #eff4ec;
    --cream: #fbf7ef;
    --sand: #f4ecdf;
    --paper: #ffffff;
    --apricot: #f2784b;
    --apricot-2: #e0623a;
    --apricot-soft: #fde6dc;
    --sun: #ffc857;
    --sky: #dbeaf3;
    --danger: #c8442f;
    --danger-soft: #fbe4df;
    --warning: #b7791f;
    --warning-soft: #fdf1d8;
    --info: #2f6f8f;
    --info-soft: #e1eef5;
    --success: #2e7d4f;
    --success-soft: #def0e4;
    --line: rgba(16, 38, 29, .1);
    --line-2: rgba(16, 38, 29, .16);

    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --shadow-sm: 0 1px 2px rgba(16, 38, 29, .06), 0 2px 8px rgba(16, 38, 29, .05);
    --shadow: 0 2px 6px rgba(16, 38, 29, .05), 0 12px 32px -8px rgba(16, 38, 29, .14);
    --shadow-lg: 0 30px 60px -20px rgba(16, 38, 29, .28), 0 8px 20px -10px rgba(16, 38, 29, .12);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-ui);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-2);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--apricot-2); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    font-variation-settings: "SOFT" 50, "opsz" 72;
    text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 4.8vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.08rem; font-family: var(--font-ui); font-weight: 700; letter-spacing: -.01em; }
h6 { font-size: .95rem; font-family: var(--font-ui); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--moss); color: var(--ink); }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; color: #fff; }
.visually-hidden-focusable:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.container { max-width: 1240px; padding-left: 20px; padding-right: 20px; }
.container--narrow { max-width: 860px; }
@media (max-width: 767px) {
    .row.g-5, .row.gx-5 { --bs-gutter-x: 1.5rem; }
    .row.g-4, .row.gx-4 { --bs-gutter-x: 1.25rem; }
}
.profile-grid > *, .search-layout > *, .hero__grid > *, .split > * { min-width: 0; }

em.accent, .accent-text { font-style: italic; color: var(--apricot); font-variation-settings: "SOFT" 100, "opsz" 72; }
.text-forest { color: var(--forest) !important; }
.text-apricot { color: var(--apricot-2) !important; }
.muted { color: var(--muted) !important; }
.small-print { font-size: .82rem; color: var(--muted); }
.fw-800 { font-weight: 800; }
.serif { font-family: var(--font-display); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); line-height: 1.6; text-wrap: pretty; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--font-ui); font-size: .78rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--forest-2);
    margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--apricot); }
.eyebrow--light { color: var(--moss); }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--forest); --fg: #fff; --bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    min-height: 48px; padding: .7rem 1.4rem;
    font-family: var(--font-ui); font-size: .96rem; font-weight: 700; line-height: 1.2; letter-spacing: -.005em;
    color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: 999px;
    cursor: pointer; text-decoration: none; white-space: nowrap; user-select: none;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s, border-color .2s;
    /* Bootstrap's :hover/:focus/:active states read these variables — keep them in sync with ours. */
    --bs-btn-color: var(--fg); --bs-btn-bg: var(--bg); --bs-btn-border-color: var(--bd);
    --bs-btn-hover-color: var(--fg); --bs-btn-hover-bg: var(--bg); --bs-btn-hover-border-color: var(--bd);
    --bs-btn-active-color: var(--fg); --bs-btn-active-bg: var(--bg); --bs-btn-active-border-color: var(--bd);
    --bs-btn-disabled-color: var(--fg); --bs-btn-disabled-bg: var(--bg); --bs-btn-disabled-border-color: var(--bd);
    --bs-btn-focus-box-shadow: 0 0 0 4px rgba(242, 120, 75, .3);
}
.btn:hover, .btn:focus-visible, .btn:active, .btn.active, .btn.show,
.btn:first-child:active, :not(.btn-check) + .btn:active { color: var(--fg); background: var(--bg); border-color: var(--bd); }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(16, 38, 29, .5); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }
.btn i { font-size: 1.15em; }
.btn--primary, .btn--base, .btn-primary, .btn--success { --bg: var(--forest); --fg: #fff; }
.btn--primary:hover, .btn--base:hover { --bg: var(--forest-2); }
.btn--accent { --bg: var(--apricot); --fg: #fff; }
.btn--accent:hover { --bg: var(--apricot-2); box-shadow: 0 12px 26px -10px rgba(224, 98, 58, .65); }
.btn--ghost, .btn-outline--base, .btn--outline { --bg: transparent; --fg: var(--forest); --bd: var(--line-2); }
.btn--ghost:hover, .btn-outline--base:hover { --bg: var(--paper); --bd: var(--forest); box-shadow: none; }
.btn--light { --bg: var(--cream); --fg: var(--ink); }
.btn--light:hover { --bg: #fff; }
.btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { --bd: #fff; --bg: rgba(255,255,255,.08); }
.btn--danger, .btn--danger-soft { --bg: var(--danger-soft); --fg: var(--danger); }
.btn--danger:hover { --bg: var(--danger); --fg: #fff; }
.btn--soft { --bg: var(--sage); --fg: var(--forest); }
.btn--soft:hover { --bg: var(--moss); }
.btn--sm { min-height: 38px; padding: .45rem 1rem; font-size: .86rem; }
.btn--lg { min-height: 58px; padding: .9rem 1.9rem; font-size: 1.04rem; }
.btn--block, .btn.w-100 { width: 100%; }
.btn--icon { width: 44px; min-height: 44px; padding: 0; }
.btn-link-plain { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--forest); cursor: pointer; }
.btn-link-plain:hover { color: var(--apricot-2); }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow i { transition: transform .2s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    height: var(--header-h);
    background: rgba(251, 247, 239, .78);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(251, 247, 239, .92); box-shadow: 0 6px 24px -18px rgba(16,38,29,.4); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.38rem; letter-spacing: -.02em; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand svg { width: 36px; height: 36px; flex-shrink: 0; }
.brand b { color: var(--forest-2); font-weight: 700; }
.nav { display: flex; align-items: center; gap: .25rem; margin: 0 auto; list-style: none; padding: 0; }
.nav__link { position: relative; display: inline-block; padding: .55rem .85rem; font-weight: 600; font-size: .95rem; color: var(--ink-2); border-radius: 999px; }
.nav__link:hover { color: var(--forest); background: rgba(31, 77, 58, .06); }
.nav__link.active { color: var(--forest); }
.nav__link.active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--apricot); }
.header-actions { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.header-actions .nav__link { white-space: nowrap; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--paper); align-items: center; justify-content: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform .25s var(--ease), opacity .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }
.lang-select { border: 1.5px solid var(--line-2); background: transparent; border-radius: 999px; padding: .35rem .8rem; font-weight: 600; font-size: .85rem; color: var(--ink-2); }

@media (max-width: 1099px) {
    .nav, .header-actions .hide-mobile { display: none; }
    .burger { display: inline-flex; }
    .header-actions { margin-left: auto; }
    .mobile-nav {
        display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 1029;
        background: var(--cream); padding: 1.5rem 20px 2rem; overflow-y: auto;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    }
    body.nav-open { overflow: hidden; }
    body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
    .mobile-nav a.m-link { display: flex; justify-content: space-between; align-items: center; padding: 1rem .25rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
    .mobile-nav .m-actions { display: grid; gap: .75rem; margin-top: 1.75rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }
.section--sage { background: var(--sage-2); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, .78); }
.section--forest { background: var(--forest); color: rgba(255, 255, 255, .8); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4,
.section--forest h1, .section--forest h2, .section--forest h3, .section--forest h4 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.1rem; color: var(--muted); }
.section--ink .section-head p, .section--forest .section-head p { color: rgba(255, 255, 255, .7); }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head-row .section-head { margin-bottom: 0; }

/* Paper grain for big color sections */
.grain::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(4rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
    content: ""; position: absolute; right: -12vw; top: -18vw; width: 62vw; height: 62vw; max-width: 980px; max-height: 980px;
    background: radial-gradient(closest-side, rgba(169, 211, 160, .55), rgba(169, 211, 160, 0)); pointer-events: none;
}
.hero .container { position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__title { margin-bottom: 1.25rem; font-weight: 600; }
.hero__title .accent-text { white-space: nowrap; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 34rem; color: var(--muted); margin-bottom: 2rem; }
.hero__proof { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.75rem; font-size: .92rem; color: var(--muted); }
.hero__proof span { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.hero__proof i { color: var(--forest-3); font-size: 1.2rem; }

/* Search bar */
.search-bar {
    display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: stretch;
    background: var(--paper); border-radius: 22px; padding: 8px; gap: 4px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.search-field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: .55rem 1rem .55rem 2.7rem; border-radius: 16px; min-width: 0; transition: background .2s; }
.search-field:hover, .search-field:focus-within { background: var(--sage-2); }
.search-field:has(.locate-btn) { padding-right: 2.9rem; }
.search-field + .search-field::before { content: ""; position: absolute; left: -2px; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.search-field > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.25rem; color: var(--forest-2); }
.search-field label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin: 0; }
.search-field input, .search-field select {
    width: 100%; border: 0; background: transparent; padding: 0; margin: 0; font: inherit; font-size: .97rem; font-weight: 500; color: var(--ink-2);
    outline: none; appearance: none; -webkit-appearance: none; text-overflow: ellipsis;
}
.search-field input::placeholder { color: var(--muted-2); }
.search-bar .btn { border-radius: 16px; min-height: 60px; padding: 0 1.6rem; }
.locate-btn { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--sage); color: var(--forest); display: grid; place-items: center; cursor: pointer; }
.locate-btn:hover { background: var(--moss); }
.locate-btn.is-loading i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Hero art collage */
.hero__art { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; margin-left: auto; width: 100%; }
.hero__sun { position: absolute; inset: 9% 6% 4% 10%; border-radius: 48% 52% 46% 54% / 55% 48% 52% 45%; background: var(--apricot); overflow: hidden; animation: blob 14s ease-in-out infinite alternate; }
.hero__sun::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 30% 20%, rgba(255, 200, 87, .55), transparent 60%); }
@keyframes blob { 0% { border-radius: 48% 52% 46% 54% / 55% 48% 52% 45%; } 100% { border-radius: 56% 44% 52% 48% / 46% 56% 44% 54%; } }
.hero__dog { position: absolute; left: 14%; right: 6%; bottom: 0; height: 88%; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 30px 30px rgba(16, 38, 29, .25)); z-index: 2; }
.hero__route { position: absolute; inset: -4% -6% 0 -10%; z-index: 1; pointer-events: none; }
.hero__route path { fill: none; stroke: var(--forest); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 2 9; opacity: .55; }
.float-card {
    position: absolute; z-index: 3; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
    border-radius: 18px; box-shadow: var(--shadow-lg); padding: .85rem 1rem; display: flex; align-items: center; gap: .75rem;
    font-size: .86rem; color: var(--ink-2); border: 1px solid rgba(255,255,255,.7);
    animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-card--walker { top: 4%; left: -2%; }
.float-card--walk { bottom: 3%; left: 0; animation-delay: -2s; }
.float-card--rating { top: 30%; right: -5%; animation-delay: -4s; flex-direction: column; align-items: flex-start; gap: .1rem; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--sage); }
.avatar--sm { width: 34px; height: 34px; }
.avatar--lg { width: 64px; height: 64px; }
.avatar--xl { width: 132px; height: 132px; }
.mono-avatar { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--forest); background: var(--sage); }
.icon-dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--sage); color: var(--forest); flex-shrink: 0; }
.icon-dot--apricot { background: var(--apricot-soft); color: var(--apricot-2); }
.mini-map { width: 64px; height: 44px; border-radius: 10px; background: var(--sage-2); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 0 rgba(47, 191, 113, .6); animation: ping 1.8s infinite; margin-right: .3rem; vertical-align: middle; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(47, 191, 113, 0); } }

@media (max-width: 991px) {
    .hero__grid { grid-template-columns: minmax(0, 1fr); }
    .hero__art { max-width: 460px; margin: 1rem auto 0; }
    .search-bar { grid-template-columns: 1fr 1fr; }
    .search-bar .btn { grid-column: 1 / -1; }
    .search-field:nth-child(3)::before { display: none; }
}
@media (max-width: 575px) {
    .search-bar { grid-template-columns: 1fr; }
    .search-field + .search-field::before { left: 1rem; right: 1rem; top: -2px; bottom: auto; width: auto; height: 1px; }
    .float-card--walker { left: 0; }
    .float-card--walk { left: 0; }
    .float-card--rating { right: 0; }
    .float-card { font-size: .78rem; padding: .65rem .8rem; }
}

/* ---------- Value strip (floating card under the hero) ---------- */
.value-strip { position: relative; z-index: 3; margin-top: -2.5rem; background: transparent; }
.value-strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.value-item { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 1.4rem; transition: background .25s; }
.value-item:hover { background: var(--sage-2); }
.value-item + .value-item { border-left: 1px solid var(--line); }
.value-item .icon-dot { width: 54px; height: 54px; border-radius: 18px; font-size: 1.6rem; background: var(--forest); color: #fff; box-shadow: 0 10px 20px -10px rgba(31, 77, 58, .7); transition: transform .3s var(--ease); }
.value-item:nth-child(even) .icon-dot { background: var(--apricot); box-shadow: 0 10px 20px -10px rgba(242, 120, 75, .8); }
.value-item:hover .icon-dot { transform: translateY(-3px) rotate(-4deg); }
.value-item strong { display: block; color: var(--ink); font-size: 1.02rem; line-height: 1.3; font-weight: 750; }
.value-item span { font-size: .86rem; color: var(--muted); }
@media (max-width: 991px) { .value-strip__inner { grid-template-columns: 1fr 1fr; } .value-item:nth-child(3) { border-left: 0; } .value-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 575px) { .value-strip { margin-top: -1.5rem; } .value-strip__inner { grid-template-columns: 1fr; } .value-item + .value-item { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Cards: services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.svc-card {
    grid-column: span 4; position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); color: var(--ink-2);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card:nth-child(1), .svc-card:nth-child(2) { grid-column: span 6; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.svc-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage); }
.svc-card:nth-child(1) .svc-card__media, .svc-card:nth-child(2) .svc-card__media { aspect-ratio: 16 / 8.5; }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.05); }
.svc-card__icon { position: absolute; left: 1.1rem; bottom: -22px; width: 52px; height: 52px; border-radius: 16px; background: var(--paper); color: var(--forest); display: grid; place-items: center; font-size: 1.6rem; box-shadow: var(--shadow); z-index: 2; }
.svc-card__body { padding: 2.1rem 1.4rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.svc-card__body h3 { margin-bottom: .35rem; font-size: 1.38rem; }
.svc-card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line-2); font-size: .9rem; }
.svc-card__foot strong { color: var(--ink); }
.svc-card__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--forest); transition: background .25s, color .25s, transform .25s var(--ease); }
.svc-card:hover .svc-card__go { background: var(--apricot); color: #fff; transform: rotate(-45deg); }
@media (max-width: 991px) { .svc-card, .svc-card:nth-child(1), .svc-card:nth-child(2) { grid-column: span 6; } }
@media (max-width: 575px) { .svc-card, .svc-card:nth-child(1), .svc-card:nth-child(2) { grid-column: span 12; } }

/* ---------- Steps (cards on a dotted route) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 76px; left: 16%; right: 16%; height: 2px; background-image: linear-gradient(90deg, var(--apricot) 50%, transparent 0); background-size: 14px 2px; opacity: .55; z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 2.2rem 1.6rem 2rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step__num { position: relative; width: 84px; height: 84px; margin: 0 auto 1.4rem; border-radius: 28px; background: linear-gradient(145deg, var(--forest-2), var(--forest)); color: #fff; display: grid; place-items: center; font-size: 2.2rem; box-shadow: 0 16px 30px -14px rgba(31, 77, 58, .8); }
.step:nth-child(2) .step__num { background: linear-gradient(145deg, #f79a73, var(--apricot-2)); box-shadow: 0 16px 30px -14px rgba(224, 98, 58, .8); }
.step__num::after { counter-increment: step; content: counter(step); position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--ink); border: 2px solid var(--line-2); font-family: var(--font-display); font-size: .95rem; font-weight: 700; display: grid; place-items: center; }
.step h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; font-size: .97rem; }
.section--ink .step { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; gap: 1.25rem; } .steps::before { display: none; } }

/* Tabs (pill switch) */
.switch-tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); gap: 4px; }
.switch-tabs button, .switch-tabs a { border: 0; background: transparent; padding: .6rem 1.2rem; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.switch-tabs .active { background: var(--forest); color: #fff; }
[data-tab-panel] { display: none; }
[data-tab-panel].active { display: block; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Walker cards ---------- */
.walker-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.25rem; }
.walker-card {
    position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg);
    border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.walker-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.walker-card__photo { position: relative; aspect-ratio: 4 / 3.3; background: var(--sage); overflow: hidden; }
.walker-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.walker-card:hover .walker-card__photo img { transform: scale(1.04); }
.walker-card__tags { position: absolute; left: .8rem; top: .8rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.walker-card__body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.walker-card__name { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.walker-card__name h3 { font-size: 1.28rem; margin: 0; }
.walker-card__name h3 a { color: var(--ink); }
.walker-card__name h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.walker-card__headline { color: var(--muted); font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.walker-card__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .84rem; color: var(--muted); }
.walker-card__meta i { color: var(--forest-3); }
.walker-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); }
.price-tag { font-size: .82rem; color: var(--muted); }
.price-tag strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
.fav-btn { position: absolute; right: .8rem; top: .8rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), color .2s; }
.fav-btn:hover { transform: scale(1.08); color: var(--apricot-2); }
.fav-btn.is-saved { color: var(--apricot); }

/* Badges, chips, pills, stars */
.vbadge { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 700; background: rgba(255, 255, 255, .94); color: var(--forest); box-shadow: var(--shadow-sm); }
.vbadge i { font-size: .95rem; }
.vbadge--solid { background: var(--forest); color: #fff; }
.vbadge--apricot { background: var(--apricot); color: #fff; }
.vbadge--soft { background: var(--sage); box-shadow: none; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 999px; background: var(--sage-2); color: var(--forest); font-size: .84rem; font-weight: 600; border: 1px solid transparent; }
.chip--outline { background: transparent; border-color: var(--line-2); color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; font-size: .76rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--success { background: var(--success-soft); color: var(--success); }
.pill--warning { background: var(--warning-soft); color: var(--warning); }
.pill--info { background: var(--info-soft); color: var(--info); }
.pill--danger { background: var(--danger-soft); color: var(--danger); }
.pill--muted { background: #eceeec; color: var(--muted); }
.stars { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--ink); font-size: .9rem; }
.stars i { color: var(--sun); font-size: 1.05rem; }
.stars small { color: var(--muted); font-weight: 500; }
.star-row { color: var(--sun); letter-spacing: 1px; font-size: 1rem; }
.star-row .off { color: #d9ddd9; }
.new-tag { font-size: .8rem; font-weight: 700; color: var(--forest-3); background: var(--sage-2); padding: .15rem .55rem; border-radius: 999px; }

/* ---------- Feature / trust ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { padding: 1.75rem; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon-dot { width: 52px; height: 52px; border-radius: 16px; font-size: 1.6rem; margin-bottom: 1.1rem; }
.feature h3 { text-wrap: wrap; font-size: 1.2rem; font-family: var(--font-ui); font-weight: 750; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: .95rem; }
.section--ink .feature, .section--forest .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.section--ink .feature p, .section--forest .feature p { color: rgba(255, 255, 255, .66); }
.section--ink .feature h3, .section--forest .feature h3 { color: #fff; }
.section--ink .feature .icon-dot, .section--forest .feature .icon-dot { background: rgba(169, 211, 160, .14); color: var(--moss); }
@media (max-width: 991px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .feature-grid { grid-template-columns: 1fr; } }

/* Split feature with image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media .frame { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 5.4; background: var(--sage); box-shadow: var(--shadow-lg); }
.split__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split__media .float-card { animation: none; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .85rem; }
.check-list li { position: relative; padding-left: 2.1rem; }
.check-list li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; position: absolute; left: 0; top: .15rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--sage); color: var(--forest); font-size: .7rem; display: grid; place-items: center; }
.check-list strong { color: var(--ink); }
@media (max-width: 991px) { .split { grid-template-columns: minmax(0, 1fr); } .split--reverse .split__media { order: 0; } }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.review-card { background: var(--paper); border-radius: var(--r-lg); padding: 1.6rem; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.review-card blockquote { margin: 0; font-family: var(--font-display); font-size: 1.12rem; line-height: 1.5; color: var(--ink); font-variation-settings: "SOFT" 100; flex: 1; }
.review-card__who { display: flex; align-items: center; gap: .75rem; font-size: .88rem; }
.review-card__who strong { display: block; color: var(--ink); }
.review-card__reply { background: var(--sage-2); border-radius: 12px; padding: .8rem 1rem; font-size: .9rem; color: var(--ink-2); }
@media (max-width: 991px) { .review-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .review-grid { grid-template-columns: 1fr; } }

/* Promise cards (shown before real reviews exist) */
.promise { border-radius: var(--r-lg); padding: 1.75rem; background: var(--paper); border: 1px solid var(--line); }
.promise__icon { font-size: 2rem; color: var(--apricot); }

/* ---------- Walker recruitment band ---------- */
.earn-band { position: relative; border-radius: var(--r-xl); background: var(--forest); color: rgba(255, 255, 255, .8); overflow: hidden; padding: clamp(2rem, 5vw, 4rem); }
.earn-band h2 { color: #fff; }
.earn-band__art { position: absolute; right: -2%; bottom: 0; height: 105%; max-height: 520px; object-fit: contain; pointer-events: none; }
.earn-band .content { max-width: 560px; position: relative; z-index: 2; }
@media (max-width: 991px) { .earn-band__art { opacity: .25; height: 80%; } }

/* Earnings calculator */
.calc { background: var(--paper); border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.calc__row { margin-bottom: 1.5rem; }
.calc__row label { display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); margin-bottom: .6rem; }
.calc__row label output { font-family: var(--font-display); color: var(--forest); font-size: 1.15rem; }
.calc__total { margin-top: 1.25rem; padding: 1.5rem; border-radius: var(--r); background: var(--sage-2); text-align: center; }
.calc__total .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 3.6rem); color: var(--forest); line-height: 1; letter-spacing: -.03em; }
input[type=range].range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--forest) var(--p, 50%), var(--sage) var(--p, 50%)); outline: none; }
input[type=range].range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--forest); box-shadow: var(--shadow); cursor: grab; }
input[type=range].range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--forest); cursor: grab; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .25s, border-color .25s; }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-weight: 700; color: var(--ink); font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--sage-2); color: var(--forest); display: grid; place-items: center; font-size: 1.3rem; font-weight: 500; transition: transform .3s var(--ease), background .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--apricot); color: #fff; }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); padding: clamp(2.5rem, 6vw, 4.5rem); background: var(--apricot); color: rgba(255,255,255,.92); overflow: hidden; text-align: center; }
.cta-band h2 { color: #fff; max-width: 720px; margin: 0 auto .75rem; }
.cta-band p { max-width: 560px; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-band .btn--light { color: var(--apricot-2); }
.cta-band__paws { position: absolute; inset: 0; opacity: .14; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90'%3E%3Cg fill='%23fff'%3E%3Cellipse cx='45' cy='52' rx='11' ry='9'/%3E%3Cellipse cx='30' cy='40' rx='4.5' ry='5.5'/%3E%3Cellipse cx='39' cy='31' rx='4.5' ry='5.5'/%3E%3Cellipse cx='51' cy='31' rx='4.5' ry='5.5'/%3E%3Cellipse cx='60' cy='40' rx='4.5' ry='5.5'/%3E%3C/g%3E%3C/svg%3E"); background-size: 90px; transform: rotate(-12deg) scale(1.3); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); color: var(--ink-2); transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--ink-2); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post-card__body h3 { font-size: 1.25rem; margin: 0; color: var(--ink); }
.post-card__body p { font-size: .93rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { font-size: .8rem; font-weight: 600; color: var(--muted); display: flex; gap: .8rem; }
.post-card--feature { grid-column: span 3; display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card--feature .post-card__img { aspect-ratio: auto; min-height: 340px; }
.post-card--feature .post-card__body { padding: clamp(1.5rem, 3vw, 2.75rem); justify-content: center; }
.post-card--feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
@media (max-width: 991px) { .post-grid { grid-template-columns: 1fr 1fr; } .post-card--feature { grid-column: span 2; grid-template-columns: 1fr; } .post-card--feature .post-card__img { min-height: 0; aspect-ratio: 16/9; } }
@media (max-width: 575px) { .post-grid { grid-template-columns: 1fr; } .post-card--feature { grid-column: span 1; } }

.prose { font-size: 1.08rem; line-height: 1.8; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 2.4rem 0 .9rem; }
.prose h3 { font-size: 1.35rem; margin: 2rem 0 .7rem; }
.prose h4 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1.2rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--apricot); }
.prose a { text-decoration: underline; text-decoration-color: rgba(242, 120, 75, .5); text-underline-offset: 3px; }
.prose blockquote { margin: 1.8rem 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--apricot); background: var(--paper); border-radius: 0 var(--r) var(--r) 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .97rem; background: var(--paper); border-radius: var(--r); overflow: hidden; }
.prose th, .prose td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--sage-2); color: var(--ink); font-weight: 700; }
.prose img { border-radius: var(--r); margin: 1.5rem 0; }
.prose .callout { background: var(--sage-2); border-radius: var(--r); padding: 1.2rem 1.4rem; margin: 1.5rem 0; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; font-size: .92rem; }
.toc a { display: block; padding: .3rem 0; color: var(--muted); }
.toc a:hover { color: var(--forest); }

/* ---------- Page header ---------- */
.page-hero { position: relative; padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; left: -10vw; top: -20vw; width: 50vw; height: 50vw; background: radial-gradient(closest-side, rgba(169, 211, 160, .45), transparent); pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 880px; }
.page-hero .lead { max-width: 640px; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-left: auto; margin-right: auto; }
.page-hero--center .eyebrow { justify-content: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .85rem; color: var(--muted); }
.page-hero--center .crumbs { justify-content: center; }
.crumbs li + li::before { content: "/"; margin-right: .45rem; opacity: .5; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--forest); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .66); padding: clamp(3.5rem, 6vw, 5rem) 0 1.75rem; position: relative; overflow: hidden; }
.site-footer a { color: rgba(255, 255, 255, .74); }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.site-footer .brand b { color: var(--moss); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.5fr; gap: 2rem; }
.footer-grid h4 { font-family: var(--font-ui); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 1.1rem; font-weight: 800; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .94rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .86rem; }
.socials { display: flex; gap: .5rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; }
.socials a:hover { background: var(--apricot); color: #fff; }
.newsletter { display: flex; gap: .5rem; background: rgba(255, 255, 255, .07); border-radius: 999px; padding: 5px; border: 1px solid rgba(255,255,255,.1); }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 .9rem; font: inherit; font-size: .92rem; outline: none; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter .btn { min-height: 42px; padding: .5rem 1.1rem; }
.footer-wordmark { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.5rem, 13vw, 11rem); line-height: .8; letter-spacing: -.05em; color: rgba(255, 255, 255, .04); margin: 2.5rem 0 -1rem; white-space: nowrap; user-select: none; }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; } }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.1rem; }
.field > label, .form-label, .form-group > label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: .45rem; }
label.required::after { content: " *"; color: var(--apricot-2); }
.input, .form-control, .form--control, .form-select, select.select, textarea.textarea {
    display: block; width: 100%; min-height: 50px; padding: .7rem 1rem;
    font: inherit; font-size: .97rem; color: var(--ink); background: var(--paper);
    border: 1.5px solid var(--line-2); border-radius: 14px; outline: none; box-shadow: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea.input, textarea.form-control, textarea.form--control { min-height: 120px; resize: vertical; }
.input:hover, .form-control:hover, .form--control:hover, .form-select:hover { border-color: rgba(16,38,29,.3); }
.input:focus, .form-control:focus, .form--control:focus, .form-select:focus { border-color: var(--forest-2); box-shadow: 0 0 0 4px rgba(46, 107, 80, .14); background: #fff; }
.form-select, select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231f4d3a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted-2); font-size: 1.15rem; pointer-events: none; }
.input-icon .input { padding-left: 2.7rem; }
.input-group-text { border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--sage-2); color: var(--forest); font-weight: 700; }
.input-group > .form-control { min-height: 50px; }
.hint { font-size: .82rem; color: var(--muted); margin-top: .35rem; }
.invalid-msg { font-size: .82rem; color: var(--danger); margin-top: .35rem; }
.form-check-input { width: 1.2em; height: 1.2em; border: 1.5px solid var(--line-2); margin-top: .2em; cursor: pointer; }
.form-check-input:checked { background-color: var(--forest); border-color: var(--forest); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(46, 107, 80, .14); border-color: var(--forest-2); }
.form-check-label { cursor: pointer; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; align-items: center; gap: .5rem; padding: .75rem .9rem; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: .9rem; cursor: pointer; transition: all .2s; height: 100%; }
.choice span:hover { border-color: var(--forest-3); }
.choice input:checked + span { border-color: var(--forest); background: var(--sage-2); color: var(--forest); box-shadow: inset 0 0 0 1px var(--forest); }
.choice input:focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 2px; }
.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.role-cards .choice span { flex-direction: column; align-items: flex-start; gap: .15rem; padding: 1rem 1.1rem; }
.role-cards .choice span i { font-size: 1.7rem; color: var(--forest); margin-bottom: .3rem; }
.role-cards .choice span small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Panels (cards) ---------- */
.panel { background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.panel__head h2, .panel__head h3, .panel__head h5 { margin: 0; font-size: 1.15rem; font-family: var(--font-ui); font-weight: 750; letter-spacing: -.01em; }
.panel__body { padding: 1.4rem; }
.panel--flat { box-shadow: none; }
.panel--sage { background: var(--sage-2); border-color: transparent; }
.panel--ink { background: var(--ink); color: rgba(255, 255, 255, .78); border: 0; }
.panel--ink h2, .panel--ink h3, .panel--ink h4 { color: #fff; }
.card, .custom--card { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--paper); }
.card-header { background: transparent; border-bottom: 1px solid var(--line); padding: 1.1rem 1.3rem; }
.card-body { padding: 1.3rem; }

/* Lists */
.list-rows { list-style: none; margin: 0; padding: 0; }
.list-rows > li, .list-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.4rem; border-bottom: 1px solid var(--line); }
.list-rows > li:last-child { border-bottom: 0; }
.list-row__main { flex: 1; min-width: 0; }
.list-row__main strong { display: block; color: var(--ink); }
.list-row__main small { color: var(--muted); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .55rem 1.25rem; font-size: .94rem; }
.kv dt { color: var(--muted); font-weight: 500; }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }

/* Tables */
.table-clean { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
.table-clean th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 800; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--sage-2); }
.table-clean td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink-2); }
.table-clean tr:last-child td { border-bottom: 0; }
.table-clean tbody tr { transition: background .15s; }
.table-clean tbody tr:hover { background: rgba(226, 236, 221, .35); }
.table-wrap { overflow-x: auto; }
/* Legacy class names used by payment/support templates */
.table.custom--table, .custom--table { width: 100%; }
.custom--table thead th { background: var(--sage-2); color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; border: 0; padding: .9rem 1rem; }
.custom--table td { border-color: var(--line); padding: .9rem 1rem; vertical-align: middle; }
@media (max-width: 767px) {
    .table-clean.stack thead { display: none; }
    .table-clean.stack tr { display: block; border-bottom: 1px solid var(--line); padding: .6rem 0; }
    .table-clean.stack td { display: flex; justify-content: space-between; gap: 1rem; border: 0; padding: .45rem 1.2rem; text-align: right; }
    .table-clean.stack td::before { content: attr(data-label); font-weight: 700; color: var(--muted); text-align: left; }
}

/* Stats */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; position: relative; overflow: hidden; }
.stat__label { font-size: .8rem; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: .45rem; }
.stat__label i { font-size: 1.1rem; color: var(--forest-3); }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--ink); line-height: 1.05; letter-spacing: -.02em; }
.stat--accent { background: var(--forest); border-color: var(--forest); }
.stat--accent .stat__label, .stat--accent .stat__label i { color: var(--moss); }
.stat--accent .stat__value { color: #fff; }
@media (max-width: 991px) { .stat-grid { grid-template-columns: 1fr 1fr; } }

/* Empty states */
.empty-state { text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1.5rem; }
.empty-state__art { width: 84px; height: 84px; margin: 0 auto 1.1rem; border-radius: 28px; background: var(--sage-2); display: grid; place-items: center; font-size: 2.4rem; color: var(--forest-3); }
.empty-state h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.empty-state p { color: var(--muted); max-width: 420px; margin: 0 auto 1.25rem; }

/* Alerts */
.notice { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: var(--r); background: var(--info-soft); color: var(--info); font-size: .93rem; }
.notice i { font-size: 1.35rem; flex-shrink: 0; margin-top: .05rem; }
.notice strong { color: inherit; }
.notice--warning { background: var(--warning-soft); color: #8a5a12; }
.notice--success { background: var(--success-soft); color: var(--success); }
.notice--danger { background: var(--danger-soft); color: var(--danger); }
.notice--apricot { background: var(--apricot-soft); color: #9a3d1d; }
.alert { border-radius: var(--r); }

/* Progress */
.progress-line { height: 8px; border-radius: 8px; background: var(--sage); overflow: hidden; }
.progress-line span { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--forest-3), var(--forest)); transition: width .8s var(--ease); }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: 2rem 0 0; padding: 0; }
.pagination .page-item .page-link { min-width: 42px; height: 42px; padding: 0 .8rem; border-radius: 12px !important; border: 1.5px solid var(--line-2); background: var(--paper); color: var(--ink); font-weight: 700; display: grid; place-items: center; box-shadow: none; }
.pagination .page-item.active .page-link { background: var(--forest); border-color: var(--forest); color: #fff; }
.pagination .page-item.disabled .page-link { opacity: .45; }
.pagination .page-link:hover { border-color: var(--forest); color: var(--forest); }

/* Modals */
.modal-content { border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.modal-header { border-bottom: 1px solid var(--line); padding: 1.2rem 1.4rem; }
.modal-header .modal-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.modal-body { padding: 1.4rem; }
.modal-footer { border-top: 1px solid var(--line); padding: 1rem 1.4rem; }
.modal-backdrop.show { opacity: .45; }
.btn-close:focus { box-shadow: 0 0 0 4px rgba(46, 107, 80, .2); }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.auth__side { position: relative; background: var(--forest); color: rgba(255, 255, 255, .78); padding: 3rem clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; overflow: hidden; }
.auth__side .brand { color: #fff; }
.auth__side .brand b { color: var(--moss); }
.auth__side h2 { color: #fff; font-size: clamp(2rem, 3vw, 2.9rem); max-width: 460px; }
.auth__side .quote { margin-top: auto; position: relative; z-index: 2; }
.auth__side img.auth__dog { position: absolute; right: -4%; bottom: 0; height: 58%; object-fit: contain; z-index: 1; opacity: .95; }
.auth__blob { position: absolute; right: -15%; bottom: -15%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--forest-2); }
.auth__main { display: flex; flex-direction: column; justify-content: center; padding: 3rem clamp(1.25rem, 5vw, 5rem); background: var(--cream); }
.auth__card { width: 100%; max-width: 460px; margin: 0 auto; }
.auth__card h1 { font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: .5rem; }
.auth__switch { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: .94rem; }
.divider-text { display: flex; align-items: center; gap: 1rem; color: var(--muted-2); font-size: .82rem; font-weight: 600; margin: 1.4rem 0; }
.divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social-btns { display: grid; gap: .6rem; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: .7rem; min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--paper); color: var(--ink); font-weight: 700; font-size: .93rem; }
.social-btn:hover { border-color: var(--forest); color: var(--ink); }
.social-btn img { width: 20px; height: 20px; }
.pw-toggle { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); font-size: 1.2rem; padding: .3rem .5rem; cursor: pointer; }
.code-inputs { display: flex; gap: .5rem; justify-content: center; }
.code-inputs input { width: 52px; height: 60px; text-align: center; font-size: 1.5rem; font-weight: 700; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--paper); }
@media (max-width: 991px) { .auth { grid-template-columns: minmax(0, 1fr); } .auth__side { display: none; } .auth__main { padding-top: 2rem; } }

/* ---------- Dashboard ---------- */
.dash { display: grid; grid-template-columns: 272px minmax(0, 1fr); min-height: 100vh; background: var(--cream); }
.dash-side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--paper); border-right: 1px solid var(--line); padding: 1.25rem 1rem 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; z-index: 1040; }
.dash-side .brand { padding: .25rem .6rem; font-size: 1.25rem; }
.dash-user { display: flex; align-items: center; gap: .75rem; padding: .8rem; border-radius: 16px; background: var(--sage-2); }
.dash-user strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.2; }
.dash-user small { color: var(--muted); font-size: .78rem; }
.dash-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.dash-nav__label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-2); padding: 1rem .8rem .4rem; }
.dash-nav a { display: flex; align-items: center; gap: .75rem; padding: .68rem .8rem; border-radius: 12px; font-weight: 600; font-size: .93rem; color: var(--ink-2); transition: background .15s, color .15s; }
.dash-nav a i { font-size: 1.3rem; width: 22px; text-align: center; color: var(--muted); transition: color .15s; }
.dash-nav a:hover { background: var(--sage-2); color: var(--forest); }
.dash-nav a:hover i { color: var(--forest); }
.dash-nav a.active { background: var(--forest); color: #fff; }
.dash-nav a.active i { color: var(--moss); }
.dash-nav .count { margin-left: auto; min-width: 22px; height: 22px; border-radius: 999px; padding: 0 .4rem; background: var(--apricot); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.dash-side__foot { margin-top: auto; }
.dash-main { min-width: 0; display: flex; flex-direction: column; }
.dash-top { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: 1rem; height: 72px; padding: 0 clamp(1rem, 3vw, 2.25rem); background: rgba(251, 247, 239, .85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.dash-top h1 { font-size: 1.35rem; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-top__actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; font-size: 1.3rem; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { color: var(--forest); border-color: var(--line-2); }
.icon-btn .dot { position: absolute; top: 8px; right: 9px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--apricot); color: #fff; font-size: .65rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--cream); }
.dash-body { padding: clamp(1.25rem, 3vw, 2.25rem); flex: 1; }
.dash-toggle { display: none; }
.wallet-chip { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--ink); }
.wallet-chip i { color: var(--forest-3); font-size: 1.15rem; }
.dropdown-menu { border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: .5rem; }
.dropdown-item { border-radius: 10px; padding: .55rem .8rem; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--sage-2); color: var(--forest); }
.notif-menu { width: 360px; max-width: calc(100vw - 24px); padding: 0; overflow: hidden; }
.notif-menu__head { display: flex; justify-content: space-between; align-items: center; padding: .9rem 1rem; border-bottom: 1px solid var(--line); }
.notif-menu__list { max-height: 360px; overflow-y: auto; }
.notif-item { display: flex; gap: .75rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .88rem; line-height: 1.4; }
.notif-item:hover { background: var(--sage-2); color: var(--ink); }
.notif-item.unread { background: rgba(253, 230, 220, .45); }
.notif-item .icon-dot { width: 34px; height: 34px; font-size: 1.05rem; border-radius: 10px; }
.notif-item small { display: block; color: var(--muted); margin-top: .15rem; }
.welcome { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--forest); color: rgba(255,255,255,.8); padding: clamp(1.5rem, 3vw, 2.25rem); }
.welcome h2 { color: #fff; font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.welcome__art { position: absolute; right: 2%; bottom: 0; height: 115%; object-fit: contain; pointer-events: none; }
@media (max-width: 767px) { .welcome__art { opacity: .2; } }
.booking-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.booking-row:last-child { border-bottom: 0; }
.booking-row:hover { background: rgba(226, 236, 221, .3); color: var(--ink-2); }
.date-tile { width: 56px; flex-shrink: 0; border-radius: 14px; background: var(--sage-2); text-align: center; padding: .45rem 0; line-height: 1.1; }
.date-tile small { display: block; font-size: .68rem; font-weight: 800; text-transform: uppercase; color: var(--apricot-2); letter-spacing: .08em; }
.date-tile strong { font-family: var(--font-display); font-size: 1.45rem; color: var(--ink); }
.pet-card { display: flex; gap: 1rem; align-items: center; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.pet-card img { width: 64px; height: 64px; border-radius: 18px; object-fit: cover; background: var(--sage); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.checklist a { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font-weight: 600; }
.checklist a:hover { border-color: var(--forest-3); color: var(--forest); }
.checklist .tick { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-2); font-size: .8rem; flex-shrink: 0; }
.checklist .done .tick { background: var(--forest); border-color: var(--forest); color: #fff; }
.checklist .done span { text-decoration: line-through; color: var(--muted); }
.checklist .go { margin-left: auto; color: var(--muted-2); }
.chart-bars { display: flex; align-items: flex-end; gap: .6rem; height: 160px; padding-top: 1rem; }
.chart-bars .bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; height: 100%; justify-content: flex-end; }
.chart-bars .bar span { display: block; width: 100%; max-width: 42px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--forest-3), var(--forest)); min-height: 4px; transition: height .8s var(--ease); position: relative; }
.chart-bars .bar span:hover::after { content: attr(data-value); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; padding: .2rem .45rem; border-radius: 6px; white-space: nowrap; }
.chart-bars .bar small { font-size: .7rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 1099px) {
    .dash { grid-template-columns: minmax(0, 1fr); }
    .dash-side { position: fixed; left: 0; top: 0; bottom: 0; width: 290px; transform: translateX(-100%); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); }
    body.dash-open .dash-side { transform: none; }
    body.dash-open::after { content: ""; position: fixed; inset: 0; background: rgba(16, 38, 29, .4); z-index: 1035; }
    .dash-toggle { display: grid; }
    .hide-sm { display: none !important; }
}

/* Chat */
.chat { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: calc(100vh - 72px - 4.5rem); min-height: 480px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.chat__list { border-right: 1px solid var(--line); overflow-y: auto; }
.chat__item { display: flex; gap: .75rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--ink-2); align-items: center; }
.chat__item:hover { background: var(--sage-2); color: var(--ink-2); }
.chat__item.active { background: var(--sage); }
.chat__item .who { flex: 1; min-width: 0; }
.chat__item strong { display: flex; justify-content: space-between; color: var(--ink); font-size: .94rem; }
.chat__item strong small { font-weight: 500; color: var(--muted-2); font-size: .74rem; }
.chat__item p { margin: 0; font-size: .84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__item .count { min-width: 20px; height: 20px; border-radius: 999px; background: var(--apricot); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.chat__thread { display: flex; flex-direction: column; min-width: 0; }
.chat__head { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); }
.chat__msgs { flex: 1; overflow-y: auto; padding: 1.4rem; display: flex; flex-direction: column; gap: .55rem; background: var(--cream); }
.msg { max-width: 72%; padding: .7rem 1rem; border-radius: 18px 18px 18px 6px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); font-size: .94rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; align-self: flex-start; }
.msg time { display: block; font-size: .7rem; color: var(--muted-2); margin-top: .25rem; }
.msg--mine { align-self: flex-end; background: var(--forest); border-color: var(--forest); color: #fff; border-radius: 18px 18px 6px 18px; }
.msg--mine time { color: rgba(255, 255, 255, .6); }
.chat__compose { display: flex; gap: .6rem; padding: .9rem; border-top: 1px solid var(--line); background: var(--paper); }
.chat__compose textarea { flex: 1; min-height: 48px; max-height: 140px; resize: none; border-radius: 16px; }
.chat__safety { font-size: .78rem; color: var(--muted); padding: .5rem 1.2rem; background: var(--sage-2); }
@media (max-width: 767px) {
    .chat { grid-template-columns: minmax(0, 1fr); height: auto; min-height: 0; }
    .chat.has-active .chat__list { display: none; }
    .chat:not(.has-active) .chat__thread { display: none; }
    .chat__msgs { min-height: 50vh; max-height: 60vh; }
}

/* ---------- Search page ---------- */
.search-hero { padding: 2rem 0 1.5rem; }
.search-hero .search-bar { box-shadow: var(--shadow); }
.search-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 1.5rem; align-items: start; }
.search-layout.no-map { grid-template-columns: 1fr; }
.results-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.results-head h1 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1.25rem; }
.filter-bar select, .filter-bar .filter-pill { min-height: 42px; border-radius: 999px; padding: .45rem 2.2rem .45rem 1rem; font-size: .88rem; font-weight: 600; width: auto; border: 1.5px solid var(--line-2); background-color: var(--paper); }
.filter-pill { display: inline-flex; align-items: center; gap: .45rem; padding-right: 1rem !important; cursor: pointer; }
.filter-pill input { accent-color: var(--forest); }
.map-panel { position: sticky; top: calc(var(--header-h) + 16px); height: calc(100vh - var(--header-h) - 32px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sage); }
.map-panel #map { width: 100%; height: 100%; }
.results-list { display: grid; gap: 1rem; }
.result-card { position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 1.2rem; padding: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); transition: box-shadow .25s, transform .25s var(--ease), border-color .25s; }
.result-card:hover, .result-card.is-hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.result-card__photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--sage); }
.result-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.result-card__body { display: flex; flex-direction: column; gap: .45rem; min-width: 0; padding: .2rem .2rem .2rem 0; }
.result-card__top { display: flex; justify-content: space-between; gap: 1rem; }
.result-card h2 { font-size: 1.35rem; margin: 0; }
.result-card h2 a { color: var(--ink); }
.result-card h2 a::after { content: ""; position: absolute; inset: 0; }
.result-card .headline { color: var(--muted); font-size: .92rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.result-card .svc-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.result-card .svc-chips span { font-size: .76rem; padding: .2rem .55rem; border-radius: 8px; background: var(--sage-2); color: var(--forest); font-weight: 600; }
.result-card .fav-btn { position: relative; right: auto; top: auto; z-index: 2; box-shadow: none; border: 1px solid var(--line); width: 38px; height: 38px; font-size: 1.15rem; flex-shrink: 0; }
.results-loading { opacity: .45; pointer-events: none; transition: opacity .2s; }
.map-toggle { display: none; }
.leaflet-container { font-family: var(--font-ui); background: var(--sage-2); }
.map-pin { background: var(--paper); color: var(--ink); font-weight: 800; font-size: .82rem; padding: .3rem .6rem; border-radius: 999px; box-shadow: 0 4px 12px rgba(16,38,29,.25); white-space: nowrap; border: 2px solid var(--paper); transition: transform .15s, background .15s; display: inline-block; transform: translate(-50%, -50%); }
.map-pin.is-hover, .map-pin:hover { background: var(--forest); color: #fff; transform: translate(-50%, -50%) scale(1.12); }
.leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: var(--shadow-lg); }
.leaflet-popup-content { margin: .8rem; }
.map-popup { display: flex; gap: .7rem; align-items: center; min-width: 200px; }
.map-popup img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.map-popup strong { display: block; color: var(--ink); }
@media (max-width: 1199px) {
    .search-layout { grid-template-columns: minmax(0, 1fr); }
    .map-panel { display: none; position: fixed; inset: var(--header-h) 0 0 0; height: auto; border-radius: 0; z-index: 1025; }
    body.show-map .map-panel { display: block; }
    .map-toggle { display: inline-flex; position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 1026; box-shadow: var(--shadow-lg); }
}
@media (max-width: 575px) {
    .result-card { grid-template-columns: 110px minmax(0, 1fr); gap: .9rem; padding: .8rem; }
    .result-card h2 { font-size: 1.15rem; }
    .result-card .headline { -webkit-line-clamp: 2; font-size: .85rem; }
}

/* ---------- Walker profile ---------- */
.profile-hero { padding: 2rem 0 0; }
.profile-head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.75rem; align-items: center; }
.profile-photo { position: relative; }
.profile-photo img { width: 168px; height: 168px; border-radius: 40px; object-fit: cover; box-shadow: var(--shadow-lg); border: 6px solid var(--paper); background: var(--sage); }
.profile-photo .verified-seal { position: absolute; right: -6px; bottom: -6px; width: 46px; height: 46px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; font-size: 1.4rem; border: 4px solid var(--cream); }
.profile-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .35rem; }
.profile-head .headline { font-size: 1.12rem; color: var(--muted); margin-bottom: .9rem; }
.profile-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; font-size: .93rem; color: var(--muted); }
.profile-meta i { color: var(--forest-3); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 2.5rem; align-items: start; padding: 2.5rem 0 4rem; }
.profile-section { padding: 2rem 0; border-bottom: 1px solid var(--line); }
.profile-section:first-child { padding-top: 0; }
.profile-section h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.svc-price-list { display: grid; gap: .7rem; }
.svc-price { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.svc-price .icon-dot { width: 46px; height: 46px; font-size: 1.4rem; }
.svc-price__main { flex: 1; min-width: 0; }
.svc-price__main strong { display: block; color: var(--ink); }
.svc-price__main small { color: var(--muted); }
.svc-price__amount { text-align: right; }
.svc-price__amount strong { font-family: var(--font-display); font-size: 1.45rem; color: var(--ink); display: block; line-height: 1.1; }
.svc-price__amount small { color: var(--muted); font-size: .78rem; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45rem; }
.week-day { text-align: center; padding: .75rem .3rem; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: .78rem; }
.week-day strong { display: block; font-size: .82rem; color: var(--ink); margin-bottom: .3rem; }
.week-day.on { background: var(--sage-2); border-color: transparent; }
.week-day.on strong { color: var(--forest); }
.week-day span { display: block; color: var(--muted); line-height: 1.35; }
.week-day.off span { color: var(--muted-2); }
@media (max-width: 575px) { .week-grid { grid-template-columns: repeat(4, 1fr); } }
.rating-summary { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; margin-bottom: 1.5rem; }
.rating-summary .score { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; color: var(--ink); line-height: 1; }
.rating-bars { display: grid; gap: .35rem; }
.rating-bars div { display: grid; grid-template-columns: 2.5rem 1fr 2rem; gap: .6rem; align-items: center; font-size: .82rem; color: var(--muted); }
.rating-bars .track { height: 8px; border-radius: 8px; background: var(--sage); overflow: hidden; }
.rating-bars .track span { display: block; height: 100%; background: var(--sun); border-radius: 8px; }
.service-area-map { height: 280px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }

/* Booking widget */
.book-widget { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.book-widget__head { padding: 1.4rem 1.5rem 1rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.book-widget__head .from { font-size: .85rem; color: var(--muted); }
.book-widget__head .from strong { font-family: var(--font-display); font-size: 2rem; color: var(--ink); letter-spacing: -.02em; }
.book-widget__body { padding: 0 1.5rem 1.5rem; }
.book-step { margin-bottom: 1.1rem; }
.book-step > label { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: .5rem; }
.svc-options { display: grid; gap: .45rem; }
.svc-option { position: relative; }
.svc-option input { position: absolute; opacity: 0; }
.svc-option span { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .75rem .95rem; border-radius: 14px; border: 1.5px solid var(--line-2); cursor: pointer; font-size: .9rem; font-weight: 600; transition: all .15s; }
.svc-option span b { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.svc-option input:checked + span { border-color: var(--forest); background: var(--sage-2); box-shadow: inset 0 0 0 1px var(--forest); }
.svc-option input:focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 2px; }
.date-scroller { position: relative; padding: 0 34px; }
.date-strip { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 62px; gap: .45rem; overflow-x: auto; padding: 2px; scroll-snap-type: x proximity; scrollbar-width: none; -ms-overflow-style: none; }
.date-strip::-webkit-scrollbar { display: none; }
.date-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); color: var(--forest); display: grid; place-items: center; font-size: 1rem; cursor: pointer; box-shadow: var(--shadow-sm); transition: opacity .2s, background .2s; }
.date-nav:hover { background: var(--sage-2); }
.date-nav:disabled { opacity: .3; cursor: default; }
.date-nav--prev { left: 0; }
.date-nav--next { right: 0; }
.date-chip { scroll-snap-align: start; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--paper); padding: .5rem 0; text-align: center; cursor: pointer; line-height: 1.15; transition: all .15s; }
.date-chip small { display: block; font-size: .66rem; text-transform: uppercase; font-weight: 800; color: var(--muted); letter-spacing: .06em; }
.date-chip strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.date-chip:hover { border-color: var(--forest-3); }
.date-chip.active { background: var(--forest); border-color: var(--forest); }
.date-chip.active small, .date-chip.active strong { color: #fff; }
.date-chip.off { opacity: .4; }
.slot-grid { display: grid; gap: .9rem; }
.slot-group__label { display: flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; color: var(--muted); margin-bottom: .4rem; }
.slot-group__label i { color: var(--apricot); font-size: 1rem; }
.slot-group__label span { margin-left: auto; font-weight: 600; color: var(--muted-2); }
.slot-group__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.slot { border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--paper); padding: .55rem 0; font-weight: 700; font-size: .84rem; color: var(--ink); cursor: pointer; transition: all .15s; }
.slot:hover { border-color: var(--forest-3); }
.slot.active { background: var(--forest); border-color: var(--forest); color: #fff; }
.slot-empty { grid-column: 1 / -1; font-size: .86rem; color: var(--muted); padding: .7rem; background: var(--sage-2); border-radius: 12px; text-align: center; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 40px; border: 0; background: var(--paper); font-size: 1.2rem; color: var(--forest); cursor: pointer; }
.qty input { width: 46px; text-align: center; border: 0; font-weight: 700; font-size: 1rem; background: transparent; }
.pet-picks { display: flex; flex-wrap: wrap; gap: .45rem; }
.pet-pick input { position: absolute; opacity: 0; }
.pet-pick span { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem .35rem .35rem; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .86rem; cursor: pointer; }
.pet-pick img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.pet-pick input:checked + span { border-color: var(--forest); background: var(--sage-2); color: var(--forest); }
.quote-box { border-top: 1px dashed var(--line-2); margin-top: 1rem; padding-top: 1rem; display: grid; gap: .4rem; font-size: .9rem; }
.quote-box div { display: flex; justify-content: space-between; }
.quote-box .total { font-weight: 800; color: var(--ink); font-size: 1.05rem; padding-top: .5rem; border-top: 1px solid var(--line); margin-top: .3rem; }
.book-widget__trust { display: flex; gap: .6rem; align-items: center; padding: .9rem 1.5rem; background: var(--sage-2); font-size: .8rem; color: var(--forest); font-weight: 600; }
.mobile-book-bar { display: none; }
@media (max-width: 1099px) {
    .profile-grid { grid-template-columns: minmax(0, 1fr); }
    .book-widget { position: static; }
    .mobile-book-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020; background: var(--paper); border-top: 1px solid var(--line); padding: .75rem 20px; align-items: center; justify-content: space-between; gap: 1rem; box-shadow: 0 -10px 30px -15px rgba(16,38,29,.3); }
    .profile-page { padding-bottom: 80px; }
}
@media (max-width: 575px) { .profile-head { grid-template-columns: 1fr; text-align: center; } .profile-photo img { margin: 0 auto; width: 136px; height: 136px; } .profile-meta { justify-content: center; } }

/* Availability editor */
.avail-row { display: grid; grid-template-columns: 150px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.avail-row:last-child { border-bottom: 0; }
.avail-day { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--ink); padding-top: .55rem; }
.avail-windows { display: grid; gap: .5rem; }
.avail-window { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.avail-window input[type=time] { width: 140px; min-height: 44px; }
.avail-off { color: var(--muted-2); padding-top: .6rem; font-size: .9rem; }
.switch { position: relative; display: inline-block; width: 44px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: #d6dbd6; cursor: pointer; transition: background .2s; }
.switch span::before { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--forest); }
.switch input:checked + span::before { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid var(--apricot); outline-offset: 2px; }
@media (max-width: 575px) { .avail-row { grid-template-columns: 1fr; gap: .4rem; } }

/* Timeline (booking details) */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 1.3rem 2.2rem; font-size: .92rem; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 3px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--line-2); background: var(--paper); }
.timeline li.done::after { border-color: var(--forest); background: var(--forest); }
.timeline li.current::after { border-color: var(--apricot); background: var(--apricot); box-shadow: 0 0 0 5px var(--apricot-soft); }
.timeline li strong { display: block; color: var(--ink); }

/* Rating input */
.rate-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.rate-input input { position: absolute; opacity: 0; }
.rate-input label { font-size: 2rem; color: #d9ddd9; cursor: pointer; transition: color .15s, transform .15s; line-height: 1; }
.rate-input label:hover, .rate-input label:hover ~ label, .rate-input input:checked ~ label { color: var(--sun); }
.rate-input label:hover { transform: scale(1.12); }

/* Cookie banner */
.cookie-bar { position: fixed; left: 20px; bottom: 20px; z-index: 1060; max-width: 420px; background: var(--ink); color: rgba(255,255,255,.8); border-radius: var(--r-lg); padding: 1.2rem 1.3rem; box-shadow: var(--shadow-lg); font-size: .88rem; display: none; }
.cookie-bar.show { display: block; animation: fadeUp .4s var(--ease); }
.cookie-bar a { color: var(--moss); text-decoration: underline; }
.cookie-bar .actions { display: flex; gap: .5rem; margin-top: .9rem; }
@media (max-width: 575px) { .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* Scroll-to-top */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 1000; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--forest); color: #fff; font-size: 1.3rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); cursor: pointer; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.profile-page ~ .to-top, body.has-book-bar .to-top { bottom: 90px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* iziToast refresh */
.iziToast { border-radius: 16px !important; box-shadow: var(--shadow-lg) !important; font-family: var(--font-ui) !important; }
.iziToast > .iziToast-body .iziToast-title { font-weight: 800 !important; color: var(--ink) !important; }
.iziToast > .iziToast-body .iziToast-message { color: var(--ink-2) !important; }

/* Misc */
.divider { height: 1px; background: var(--line); margin: 1.5rem 0; border: 0; }
.ratio-photo { border-radius: var(--r-lg); overflow: hidden; }
.badge { font-weight: 700; border-radius: 999px; padding: .35em .7em; }
.badge--success { background: var(--success-soft); color: var(--success); }
.badge--warning { background: var(--warning-soft); color: var(--warning); }
.badge--danger { background: var(--danger-soft); color: var(--danger); }
.badge--primary, .badge--info { background: var(--info-soft); color: var(--info); }
.badge--dark { background: #eceeec; color: var(--muted); }
.gap-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.sticky-top-offset { position: sticky; top: calc(var(--header-h) + 20px); }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-band strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; line-height: 1; margin-bottom: .4rem; }
@media (max-width: 767px) { .stat-band { grid-template-columns: 1fr 1fr; } }
.city-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.city-links a { padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .9rem; color: var(--ink-2); background: var(--paper); }
.city-links a:hover { border-color: var(--forest); color: var(--forest); }
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.error-page .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(6rem, 18vw, 11rem); line-height: .9; color: var(--forest); letter-spacing: -.05em; }
.error-page .code span { color: var(--apricot); }

/* Utilities & legacy hooks */
.min-w-0 { min-width: 0; }
.form--label { display: block; font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: .45rem; }
.custom--card .card-header h5, .custom--card .card-title { font-family: var(--font-display); font-size: 1.3rem; margin: 0; }
.custom--card { box-shadow: var(--shadow-sm); }
.dash-body > .container { padding: 0; max-width: none; }
.la-spin { animation: spin 1s linear infinite; display: inline-block; }
.user .thumb img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
