/* ==========================================================================
   PetBiz public-site theme
   --------------------------------------------------------------------------
   The shared design system for every page a logged-out visitor (or a carrier's
   A2P vetting crawler) can reach: the marketing landing page, the privacy
   policy, the terms of service, and the login screen.

   The visual language deliberately mirrors kennelgeek.com — the sibling brand
   under the same ownership — so the two properties read as one family:
     * cyan #3cbedc accent on warm-neutral greys
     * a fixed dark chrome bar with a 5px cyan top rule
     * condensed uppercase display type (Fjalla One) over light body type (Lato)
     * full-bleed dark hero with a photographic/patterned treatment
     * uppercase, wide-tracked, 700-weight buttons

   SELF-CONTAINED BY REQUIREMENT. No CDN stylesheets, no webfont CDN, no remote
   images — everything referenced here lives under wwwroot. See wwwroot/fonts/README.md.

   This file is NOT loaded by the authenticated application shell (_Layout /
   _TenantLayout); it is scoped to _PublicLayout and _LoginLayout.
   ========================================================================== */

/* ── Webfonts (self-hosted, see wwwroot/fonts/README.md) ─────────────────── */

@font-face {
    font-family: 'Fjalla One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fjalla-one-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Fjalla One';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/fjalla-one-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/lato-300-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/lato-300-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

/* ── Minimal reset ───────────────────────────────────────────────────────
   The public pages deliberately do NOT load Bootstrap (see the layouts): they
   need none of it, and ~230KB of CSS plus a JS bundle is real first-paint cost
   on a Basic App Service tier. This covers the handful of Reboot behaviours the
   pages actually relied on. */

.pb-public *,
.pb-public *::before,
.pb-public *::after,
.pb-login *,
.pb-login *::before,
.pb-login *::after {
    box-sizing: border-box;
}

.pb-public img,
.pb-login img,
.pb-public svg,
.pb-login svg {
    max-width: 100%;
    vertical-align: middle;
}

.pb-public :focus-visible,
.pb-login :focus-visible {
    outline: 3px solid var(--pb-accent);
    outline-offset: 2px;
}

/* ── Tokens ──────────────────────────────────────────────────────────────── */

.pb-public,
.pb-login {
    /* Accent — kennelgeek.com's cyan, used verbatim. */
    --pb-accent: #3cbedc;
    --pb-accent-dark: #2ba7c3;
    --pb-accent-soft: rgba(60, 190, 220, 0.12);

    /* Chrome + type greys. KG runs a warm-neutral grey scale, not a blue one. */
    --pb-chrome: #555555;
    --pb-chrome-deep: #3b3b3b;
    --pb-chrome-darkest: #303030;
    --pb-ink: #3c3c3c;
    --pb-muted: #919191;
    --pb-footer-label: #989794;

    --pb-neutral: #cccbc6;
    --pb-neutral-dark: #b2b2ad;
    --pb-rule: #e2e2df;
    --pb-wash: #f4f4f2;
    --pb-surface: #ffffff;

    --pb-display: 'Fjalla One', 'Haettenschweiler', 'Arial Narrow', Impact, sans-serif;
    --pb-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --pb-header-h: 66px;
    --pb-shell: 1120px;
}

/* ── Base ────────────────────────────────────────────────────────────────── */

body.pb-public {
    margin: 0;
    background: var(--pb-surface);
    color: var(--pb-ink);
    font-family: var(--pb-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: calc(var(--pb-header-h) + 5px);
}

body.pb-public a {
    color: var(--pb-accent-dark);
    text-decoration: none;
    transition: color 250ms ease;
}

body.pb-public a:hover {
    color: var(--pb-accent);
    text-decoration: underline;
}

.pb-shell {
    width: 100%;
    max-width: var(--pb-shell);
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Skip link — the fixed header means keyboard users otherwise tab the whole nav
   on every page. Visible only on focus. */
.pb-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
}

.pb-skip:focus {
    left: 12px;
    top: 12px;
    background: var(--pb-accent);
    color: #fff !important;
    padding: 10px 16px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.pb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: var(--pb-chrome);
    border-top: 5px solid var(--pb-accent);
}

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

.pb-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    font-family: var(--pb-display);
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
}

.pb-brand:hover {
    color: #fff !important;
}

.pb-brand-mark {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    color: var(--pb-accent);
}

.pb-brand-name em {
    font-style: normal;
    color: var(--pb-accent);
}

.pb-nav {
    display: flex;
    align-items: stretch;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pb-nav a {
    display: flex;
    align-items: center;
    padding: 0 20px;
    min-height: var(--pb-header-h);
    color: #fff !important;
    font-family: var(--pb-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background 250ms ease;
}

.pb-nav a:hover,
.pb-nav a:focus,
.pb-nav a.is-current {
    background: var(--pb-accent);
}

@media (max-width: 700px) {
    /* The two-row header is too tall to pin on a phone — it would eat a third of
       the viewport and force a guessed body offset. Let it scroll away instead. */
    .pb-header {
        position: static;
    }

    body.pb-public {
        padding-top: 0;
    }

    .pb-header .pb-shell {
        flex-direction: column;
        align-items: center;
        gap: 0;
        min-height: 0;
        padding-top: 12px;
    }

    .pb-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pb-nav a {
        min-height: 44px;
        padding: 0 12px;
        font-size: 12px;
    }

    .pb-section {
        scroll-margin-top: 0;
    }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.pb-btn {
    display: inline-block;
    padding: 16px 28px;
    border: 0;
    border-radius: 6px;
    background: var(--pb-neutral);
    color: #333333 !important;
    font-family: var(--pb-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 350ms ease, color 350ms ease, border-color 350ms ease;
}

.pb-btn:hover,
.pb-btn:focus {
    background: var(--pb-neutral-dark);
    color: #333333 !important;
}

.pb-btn--primary {
    background: var(--pb-accent);
    color: #fff !important;
}

.pb-btn--primary:hover,
.pb-btn--primary:focus {
    background: var(--pb-accent-dark);
    color: #fff !important;
}

.pb-btn--ghost {
    background: transparent;
    color: #fff !important;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.pb-btn--ghost:hover,
.pb-btn--ghost:focus {
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
    box-shadow: inset 0 0 0 2px #fff;
}

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

/* ── Hero / banner ───────────────────────────────────────────────────────── */

/* KG's hero is a full-bleed dark photograph with centred condensed uppercase
   type. We reproduce the treatment with a locally-generated pattern + gradient
   rather than a remote photo, so the page stays dependency-free. */
.pb-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--pb-chrome-deep);
    background-image:
        linear-gradient(150deg, rgba(60, 190, 220, 0.30) 0%, rgba(48, 48, 48, 0.86) 55%, rgba(30, 30, 30, 0.95) 100%),
        url('../img/public/paw-pattern.svg');
    background-size: cover, 260px 260px;
    background-position: center center, center center;
    background-repeat: no-repeat, repeat;
    padding: 88px 0;
}

.pb-hero--tall {
    min-height: 70vh;
}

.pb-hero--short {
    padding: 56px 0;
}

.pb-hero-eyebrow {
    margin: 0 0 18px;
    color: var(--pb-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.pb-hero h1 {
    margin: 0 0 24px;
    color: #fff;
    font-family: var(--pb-display);
    font-weight: 400;
    font-size: clamp(2.6rem, 7vw, 5.4rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
    word-spacing: 0.1em;
    text-transform: uppercase;
}

.pb-hero--short h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    margin-bottom: 8px;
}

.pb-hero-sub {
    max-width: 780px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pb-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ── Sections ────────────────────────────────────────────────────────────── */

.pb-section {
    padding: 76px 0;
    /* In-page nav (#features, #contact) has to clear the fixed header. */
    scroll-margin-top: calc(var(--pb-header-h) + 5px);
}

.pb-section--wash {
    background: var(--pb-wash);
}

.pb-section--dark {
    background: var(--pb-chrome);
    color: rgba(255, 255, 255, 0.88);
}

.pb-section-head {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.pb-section h2 {
    margin: 0 0 14px;
    color: var(--pb-chrome);
    font-family: var(--pb-display);
    font-weight: 400;
    font-size: clamp(1.9rem, 3.6vw, 2.35rem);
    line-height: 1.2;
}

.pb-section--dark h2 {
    color: #fff;
}

.pb-section p {
    font-size: 1.05rem;
    line-height: 1.65;
}

.pb-lede {
    color: var(--pb-muted);
    font-weight: 300;
    font-size: 1.1rem;
}

.pb-section--dark .pb-lede {
    color: rgba(255, 255, 255, 0.8);
}

/* The "BOARDING - GROOMING - DAYCARE - TRAINING" strip. */
.pb-disciplines {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    color: var(--pb-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.pb-disciplines li + li::before {
    content: "\2022";
    margin-right: 18px;
    color: var(--pb-neutral-dark);
}

/* ── Feature grid ────────────────────────────────────────────────────────── */

.pb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pb-card {
    background: var(--pb-surface);
    border: 1px solid var(--pb-rule);
    border-top: 4px solid var(--pb-accent);
    border-radius: 6px;
    padding: 26px 24px 28px;
}

.pb-card-icon {
    display: block;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    color: var(--pb-accent);
}

.pb-card h3 {
    margin: 0 0 8px;
    color: var(--pb-chrome);
    font-family: var(--pb-display);
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pb-card p {
    margin: 0;
    color: var(--pb-muted);
    font-size: 0.98rem;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .pb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .pb-grid {
        grid-template-columns: 1fr;
    }

    .pb-section {
        padding: 52px 0;
    }
}

/* ── Pull quote (KG runs one between sections) ───────────────────────────── */

.pb-quote {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0 0 34px;
    border-left: 4px solid var(--pb-accent);
    color: var(--pb-chrome);
    font-size: clamp(1.35rem, 3.2vw, 2.1rem);
    font-weight: 700;
    line-height: 1.4;
}

/* The pull-quote band is a breather between sections, not a full section. */
.pb-section--quote {
    padding: 54px 0;
}

.pb-section--dark .pb-quote {
    color: #fff;
}

.pb-quote p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.pb-footer {
    background: var(--pb-chrome-deep);
    color: var(--pb-neutral-dark);
    padding: 52px 0 40px;
    font-size: 0.92rem;
}

.pb-footer-cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pb-footer h2 {
    margin: 0 0 12px;
    color: var(--pb-footer-label);
    font-family: var(--pb-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pb-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pb-footer li {
    margin-bottom: 8px;
}

.pb-footer a {
    color: var(--pb-accent) !important;
}

.pb-footer a:hover {
    color: #fff !important;
}

.pb-footer-legalname {
    color: #fff;
    font-family: var(--pb-display);
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.pb-footer-blurb {
    margin: 0;
    max-width: 46ch;
    color: var(--pb-neutral-dark);
    font-weight: 300;
    line-height: 1.6;
}

.pb-footer-base {
    padding-top: 22px;
    color: var(--pb-muted);
    font-size: 0.85rem;
}

@media (max-width: 760px) {
    .pb-footer-cols {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}
