/* BUDDY — Friendly pet care theme: warm cream + warm orange + teal */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Pacifico&display=swap');

:root {
    --bd-cream: #fdf6ee;
    --bd-orange: #f37121;
    --bd-orange-deep: #d85c12;
    --bd-teal: #0d9488;
    --bd-teal-deep: #0a766c;
    --bd-dark: #1a1a1a;
    --bd-dark-soft: #2a2a2a;
    --bd-pink: #fde0d0;
    --bd-yellow: #fbbf24;
    --bd-text: #1a1a1a;
    --bd-text-mute: #6b6b6b;
    --bd-line: #f0e6d8;
    --bd-white: #ffffff;
    --bd-font: 'Manrope', 'Inter', system-ui, sans-serif;
    --bd-font-body: 'Inter', system-ui, sans-serif;
    --bd-font-script: 'Pacifico', cursive;
    --bd-radius: 22px;
    --bd-radius-sm: 14px;
    --bd-shadow-sm: 0 4px 18px rgba(26,26,26,.06);
    --bd-shadow-md: 0 12px 30px rgba(26,26,26,.10);
    --bd-shadow-lg: 0 24px 50px rgba(26,26,26,.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bd-cream);
    color: var(--bd-text);
    font-family: var(--bd-font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
button { background: 0; border: 0; cursor: pointer; font: inherit; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--bd-font); font-weight: 800; letter-spacing: -.02em; color: var(--bd-dark); }

[x-cloak] { display: none !important; }

.preview-banner {
    background: var(--bd-orange);
    color: #fff;
    text-align: center;
    padding: .55rem 1rem;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .02em;
}

/* ---------- BUTTONS ---------- */
.bd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .95rem 1.85rem;
    border-radius: 999px;
    font-family: var(--bd-font);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1;
    transition: all .25s ease;
    cursor: pointer;
    white-space: nowrap;
}
.bd-btn--orange { background: var(--bd-orange); color: #fff; box-shadow: 0 8px 20px rgba(243,113,33,.28); }
.bd-btn--orange:hover { background: var(--bd-orange-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(243,113,33,.34); }
.bd-btn--ghost { background: transparent; color: var(--bd-dark); border: 2px solid var(--bd-dark); }
.bd-btn--ghost:hover { background: var(--bd-dark); color: #fff; transform: translateY(-2px); }
.bd-btn--teal { background: var(--bd-teal); color: #fff; box-shadow: 0 8px 20px rgba(13,148,136,.28); }
.bd-btn--teal:hover { background: var(--bd-teal-deep); transform: translateY(-2px); }

/* ---------- HELPERS ---------- */
.bd-script {
    font-family: var(--bd-font-script);
    color: var(--bd-orange);
    font-weight: 400;
    letter-spacing: 0;
    display: inline-block;
    transform: translateY(.05em);
}
.bd-eyebrow {
    display: inline-block;
    background: var(--bd-pink);
    color: var(--bd-orange-deep);
    padding: .4rem 1rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}
.bd-section-title {
    font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.1;
    color: var(--bd-dark);
    margin-bottom: 1rem;
}

/* ---------- HEADER ---------- */
.bd-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: var(--bd-cream);
    border-bottom: 1px solid var(--bd-line);
    padding: .9rem 2.5rem;
    backdrop-filter: blur(8px);
}
.bd-header__inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.bd-logo {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--bd-orange);
    font-family: var(--bd-font);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: -.02em;
}
.bd-logo__paw {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bd-pink);
    color: var(--bd-orange);
    border-radius: 50%;
}
.bd-logo--light { color: var(--bd-cream); }
.bd-logo--light .bd-logo__paw { background: rgba(255,255,255,.12); color: var(--bd-cream); }

.bd-nav ul {
    display: flex;
    gap: 1.85rem;
}
.bd-nav a {
    font-family: var(--bd-font);
    font-size: .92rem;
    font-weight: 600;
    color: var(--bd-dark);
    transition: color .2s;
}
.bd-nav a:hover { color: var(--bd-orange); }
.bd-nav a.is-active { color: var(--bd-orange); }

.bd-header__cta {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem 1.3rem;
}
.bd-header__phone {
    font-size: .8rem;
    font-weight: 600;
    opacity: .9;
    border-left: 1px solid rgba(255,255,255,.4);
    padding-left: .65rem;
}

/* ---------- HERO ---------- */
.bd-hero {
    position: relative;
    background: var(--bd-cream);
    padding: 3.5rem 2.5rem 5rem;
    overflow: hidden;
}
.bd-hero__inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.bd-hero__text { max-width: 560px; }
.bd-hero__eyebrow {
    display: inline-block;
    background: var(--bd-pink);
    color: var(--bd-orange-deep);
    padding: .45rem 1.1rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.bd-hero__title {
    font-family: var(--bd-font);
    font-size: clamp(2.6rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.025em;
    color: var(--bd-dark);
    margin-bottom: 1.5rem;
}
.bd-hero__title .bd-script {
    font-size: 1.15em;
    transform: translateY(.08em) rotate(-3deg);
    margin: 0 .15em;
}
.bd-hero__lead {
    font-size: 1.05rem;
    color: var(--bd-text-mute);
    margin-bottom: 2rem;
    line-height: 1.65;
    max-width: 520px;
}
.bd-hero__ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bd-hero__photo {
    position: relative;
    aspect-ratio: 4/5;
    max-width: 520px;
    margin-left: auto;
}
.bd-hero__photo-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 50% 50% 26px 26px / 35% 35% 26px 26px;
    box-shadow: var(--bd-shadow-lg);
    overflow: hidden;
    z-index: 2;
}
.bd-hero__badge {
    position: absolute;
    bottom: 1.5rem;
    left: -1rem;
    background: #fff;
    border-radius: 18px;
    padding: .9rem 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    box-shadow: var(--bd-shadow-md);
    z-index: 3;
}
.bd-hero__badge-emoji {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--bd-pink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.bd-hero__badge-text { font-size: .82rem; line-height: 1.25; color: var(--bd-text-mute); }
.bd-hero__badge-text strong { color: var(--bd-dark); font-size: 1.05rem; font-weight: 800; }

.bd-hero__decor { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; }
.bd-hero__decor--1 { top: 10%; right: 38%; width: 90px; height: 90px; background: var(--bd-pink); opacity: .85; }
.bd-hero__decor--2 { bottom: 12%; right: 4%; width: 220px; height: 220px; background: var(--bd-pink); opacity: .55; }
.bd-hero__decor--3 { top: 60%; left: 42%; width: 60px; height: 60px; background: var(--bd-yellow); opacity: .35; }

/* ---------- FEATURES ---------- */
.bd-features {
    background: #fff;
    padding: clamp(3rem, 5vw, 5rem) 2.5rem;
}
.bd-features__inner { max-width: 1300px; margin: 0 auto; }
.bd-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.bd-feature {
    background: var(--bd-cream);
    padding: 2rem 1.5rem;
    border-radius: var(--bd-radius);
    text-align: center;
    transition: transform .3s, box-shadow .3s;
}
.bd-feature:hover { transform: translateY(-4px); box-shadow: var(--bd-shadow-md); }
.bd-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--bd-pink);
    color: var(--bd-orange-deep);
    font-size: 1.65rem;
    margin-bottom: 1.1rem;
}
.bd-feature:nth-child(2) .bd-feature__icon { background: rgba(13,148,136,.14); color: var(--bd-teal); }
.bd-feature:nth-child(3) .bd-feature__icon { background: rgba(251,191,36,.18); color: #b78118; }
.bd-feature:nth-child(4) .bd-feature__icon { background: var(--bd-pink); color: var(--bd-orange-deep); }
.bd-feature__title { font-size: 1.1rem; margin-bottom: .55rem; }
.bd-feature__desc { font-size: .9rem; color: var(--bd-text-mute); line-height: 1.55; }

/* ---------- PARTNER ---------- */
.bd-partner {
    background: var(--bd-cream);
    padding: clamp(3rem, 5vw, 5rem) 2.5rem;
}
.bd-partner__inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.bd-partner__text { max-width: 540px; }
.bd-partner__lead { color: var(--bd-text-mute); margin-bottom: 1.85rem; line-height: 1.7; }
.bd-partner__list { display: flex; flex-direction: column; gap: .25rem; }
.bd-partner__item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bd-line);
}
.bd-partner__item:last-child { border-bottom: 0; }
.bd-partner__num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--bd-orange);
    color: #fff;
    font-family: var(--bd-font);
    font-weight: 800;
    font-size: .85rem;
}
.bd-partner__item h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .25rem; }
.bd-partner__item p { font-size: .9rem; color: var(--bd-text-mute); line-height: 1.55; }

.bd-partner__visual {
    position: relative;
    aspect-ratio: 1/1.05;
    max-width: 520px;
    margin-left: auto;
}
.bd-partner__photo {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: var(--bd-radius);
    box-shadow: var(--bd-shadow-lg);
}
.bd-partner__pop {
    position: absolute;
    background: #fff;
    border-radius: 18px;
    padding: 1rem 1.25rem;
    box-shadow: var(--bd-shadow-md);
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.bd-partner__pop-num {
    font-family: var(--bd-font);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bd-orange);
}
.bd-partner__pop-label {
    font-size: .8rem;
    color: var(--bd-text-mute);
    font-weight: 600;
}
.bd-partner__pop--1 { top: 1.5rem; left: -1.25rem; }
.bd-partner__pop--2 { bottom: 2rem; right: -1.25rem; }
.bd-partner__pop--2 .bd-partner__pop-num { color: var(--bd-teal); }

/* ---------- CTA BAND ---------- */
.bd-cta {
    background: var(--bd-teal);
    padding: clamp(3rem, 5vw, 4.5rem) 2.5rem;
    color: var(--bd-cream);
}
.bd-cta__inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: center;
}
.bd-cta__photo {
    aspect-ratio: 4/5;
    max-width: 420px;
    background-size: cover;
    background-position: center;
    border-radius: var(--bd-radius);
    box-shadow: var(--bd-shadow-lg);
}
.bd-cta__title {
    font-family: var(--bd-font);
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--bd-cream);
    letter-spacing: -.01em;
    margin-bottom: 1.25rem;
}
.bd-cta__title .bd-script {
    color: var(--bd-yellow);
    text-transform: none;
    font-size: 1.15em;
}
.bd-cta__lead {
    color: rgba(253,246,238,.85);
    font-size: 1.05rem;
    margin-bottom: 1.85rem;
    max-width: 520px;
}

/* ---------- SERVICES ---------- */
.bd-services {
    background: #fff;
    padding: clamp(3rem, 5vw, 5rem) 2.5rem;
}
.bd-services__inner { max-width: 1300px; margin: 0 auto; }
.bd-services__head {
    text-align: center;
    margin-bottom: 3rem;
}
.bd-services__lead {
    color: var(--bd-text-mute);
    max-width: 540px;
    margin: 0 auto;
    font-size: .98rem;
}
.bd-services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.85rem;
}
.bd-service {
    background: var(--bd-cream);
    border-radius: var(--bd-radius);
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.bd-service:hover { transform: translateY(-4px); box-shadow: var(--bd-shadow-md); }
.bd-service__photo {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
}
.bd-service__body { padding: 1.65rem 1.65rem 1.85rem; }
.bd-service__title { font-size: 1.35rem; margin-bottom: .55rem; }
.bd-service__desc { font-size: .92rem; color: var(--bd-text-mute); margin-bottom: 1rem; line-height: 1.6; }
.bd-service__link {
    color: var(--bd-orange);
    font-family: var(--bd-font);
    font-weight: 700;
    font-size: .9rem;
    transition: gap .2s, color .2s;
}
.bd-service__link:hover { color: var(--bd-orange-deep); }

/* ---------- FOOTER ---------- */
.bd-footer {
    background: var(--bd-teal-deep);
    color: rgba(253,246,238,.85);
    padding: 3.5rem 2.5rem 1.5rem;
}
.bd-footer__inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 3rem;
}
.bd-footer__brand .bd-logo { color: var(--bd-cream); margin-bottom: 1rem; }
.bd-footer__tag { font-size: .92rem; line-height: 1.65; max-width: 380px; color: rgba(253,246,238,.7); }
.bd-footer__col h4 {
    color: var(--bd-cream);
    font-family: var(--bd-font);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.bd-footer__col ul { display: flex; flex-direction: column; gap: .55rem; }
.bd-footer__col a { color: rgba(253,246,238,.75); transition: color .2s; }
.bd-footer__col a:hover { color: var(--bd-orange); }
.bd-footer__col li { font-size: .92rem; }

.bd-footer__divider {
    max-width: 1300px;
    margin: 2.5rem auto 1.25rem;
    height: 3px;
    border-radius: 999px;
    background: var(--bd-orange);
}
.bd-footer__bottom {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    color: rgba(253,246,238,.65);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ---------- CONTACT PAGE (fallback styles) ---------- */
.contact-page { padding: 4rem 2.5rem; background: var(--bd-cream); }
.contact-page .container { max-width: 1100px; margin: 0 auto; }
.contact-page .two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }
.contact-page h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; background: #fff; padding: 2rem; border-radius: var(--bd-radius); box-shadow: var(--bd-shadow-sm); }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; font-weight: 600; color: var(--bd-dark); }
.contact-form input, .contact-form textarea, .contact-form select {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--bd-line);
    border-radius: 12px;
    font-family: inherit;
    font-size: .95rem;
    background: var(--bd-cream);
    transition: border-color .2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: none;
    border-color: var(--bd-orange);
}
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form .btn-primary, .btn-primary {
    background: var(--bd-orange);
    color: #fff;
    border: 0;
    padding: .95rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-start;
    transition: background .2s;
}
.contact-form .btn-primary:hover, .btn-primary:hover { background: var(--bd-orange-deep); }
.flash { padding: .9rem 1.1rem; border-radius: 12px; font-size: .92rem; margin-bottom: 1rem; }
.flash-success { background: rgba(13,148,136,.12); color: var(--bd-teal-deep); }
.flash-error { background: rgba(243,113,33,.12); color: var(--bd-orange-deep); }

.not-found { padding: 6rem 2.5rem; text-align: center; }
.not-found h1 { font-size: 2.5rem; margin-bottom: 1rem; }

/* ---------- RESPONSIVE @ 800px ---------- */
@media (max-width: 800px) {
    .bd-header { padding: .8rem 1.25rem; }
    .bd-header__inner { gap: 1rem; }
    .bd-nav { display: none; }
    .bd-header__cta { padding: .55rem 1rem; }
    .bd-header__phone { display: none; }

    .bd-hero { padding: 2.5rem 1.25rem 3.5rem; }
    .bd-hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .bd-hero__title { font-size: clamp(2.2rem, 8vw, 3rem); }
    .bd-hero__photo { max-width: 100%; margin: 0 auto; aspect-ratio: 4/4.5; }
    .bd-hero__decor--1, .bd-hero__decor--3 { display: none; }
    .bd-hero__decor--2 { width: 140px; height: 140px; }

    .bd-features { padding: 3rem 1.25rem; }
    .bd-features__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

    .bd-partner { padding: 3rem 1.25rem; }
    .bd-partner__inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .bd-partner__visual { max-width: 100%; }
    .bd-partner__pop--1 { left: .5rem; }
    .bd-partner__pop--2 { right: .5rem; }

    .bd-cta { padding: 2.5rem 1.25rem; }
    .bd-cta__inner { grid-template-columns: 1fr; gap: 2rem; }
    .bd-cta__photo { max-width: 100%; aspect-ratio: 4/3; }
    .bd-cta__title { font-size: clamp(1.5rem, 6vw, 2rem); }

    .bd-services { padding: 3rem 1.25rem; }
    .bd-services__grid { grid-template-columns: 1fr; gap: 1.25rem; }

    .bd-footer { padding: 2.5rem 1.25rem 1.25rem; }
    .bd-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
    .bd-footer__bottom { flex-direction: column; text-align: center; }

    .contact-page { padding: 2.5rem 1.25rem; }
    .contact-page .two-col { grid-template-columns: 1fr; gap: 2rem; }
}
