/* JD's Pet Care: public website */
:root {
  --cream: #fbf6ee; --paper: #fffdf8; --blush: #f7e7e5; --blush-2: #f1d6d6;
  --rose: #a9525f; --rose-2: #c47080; --rose-soft: #e9bcc2;
  --brown: #6b4423; --ink: #3a2a20; --muted: #75604f; --line: #ecdccf;
  --sage: #6f8a69; --sage-soft: #e3ebdc; --gold: #c9a46a;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script: "Great Vibes", "Snell Roundhand", cursive;
  --r: 22px; --shadow: 0 1px 2px rgba(80, 50, 30, .06), 0 12px 32px -12px rgba(80, 50, 30, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--rose); }
h1, h2, h3 { font-family: var(--display); color: var(--brown); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.script { font-family: var(--script); color: var(--rose-2); font-size: 1.9em; line-height: 1; font-weight: 400; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rose); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
:focus-visible { outline: 3px solid var(--rose-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brown); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 24px; font: 800 1rem var(--body); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-rose { background: var(--rose); color: #fff; box-shadow: 0 8px 20px -8px rgba(169, 82, 95, .7); }
.btn-rose:hover { background: #974552; }
.btn-ghost { background: var(--paper); color: var(--brown); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--rose-soft); }
.btn-sm { padding: 9px 16px; font-size: .92rem; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(251, 246, 238, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brown); }
.brand img { width: 40px; height: auto; }
.brand b { font-family: var(--display); font-size: 1.32rem; font-weight: 700; letter-spacing: -.01em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .96rem; }
.nav-links a:not(.btn):hover { color: var(--rose); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--brown); }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav-links { position: fixed; inset: 72px 0 auto; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 12px; border: 0; }
}

/* Hero */
.hero { position: relative; padding: 48px 0 70px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--rose); font-weight: 500; }
.hero .lead { font-size: 1.16rem; color: var(--muted); max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 7px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 700; color: var(--brown); }
.trust svg { color: var(--sage); flex: none; }
.hero-art { position: relative; aspect-ratio: 1 / 1.02; }
.hero-art .disc { position: absolute; inset: 4% 2%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #fff 0 55%, var(--blush) 75%); box-shadow: var(--shadow); }
.hero-art img.logo { position: absolute; inset: 6% 6% 2%; width: 88%; height: auto; -webkit-mask-image: radial-gradient(ellipse 49.5% 44% at 50% 49.6%, #000 97%, transparent 100%); mask-image: radial-gradient(ellipse 49.5% 44% at 50% 49.6%, #000 97%, transparent 100%); }
.hero-art img.photo { position: absolute; inset: 4% 2%; width: 96%; height: 92%; object-fit: cover; border-radius: 50%; }
.paw { position: absolute; color: var(--rose-soft); opacity: .75; animation: drift 9s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(calc(var(--r, 0deg) + 8deg)); } }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; z-index: -1; }
@media (max-width: 900px) {
  .hero { padding: 24px 0 50px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { max-width: 380px; width: 100%; margin: 0 auto; order: -1; }
}

/* Sections */
section { padding: 84px 0; }
.sec-head { max-width: 720px; margin-bottom: 40px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.band { background: var(--paper); border-block: 1px solid var(--line); }
@media (max-width: 700px) { section { padding: 60px 0; } }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
@media (max-width: 380px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(0,0,0,.02); transition: transform .2s, box-shadow .2s; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-top { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--blush), #fbefe6 60%, var(--sage-soft)); display: grid; place-items: center; overflow: hidden; }
.svc-top img { width: 100%; height: 100%; object-fit: cover; }
.svc-top .ico { font-size: 4.2rem; filter: drop-shadow(0 6px 10px rgba(107, 68, 35, .18)); }
.svc-top .tag { position: absolute; left: 14px; bottom: 12px; background: rgba(255,253,248,.92); border-radius: 999px; padding: 5px 12px; font-size: .78rem; font-weight: 800; color: var(--brown); }
.svc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin-bottom: .2em; }
.svc-body .sub { color: var(--rose); font-weight: 800; font-size: .92rem; margin-bottom: .7em; }
.svc-body p { color: var(--muted); font-size: .98rem; }
.prices { list-style: none; padding: 0; margin: 4px 0 18px; border-top: 1px dashed var(--line); }
.prices li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.prices .l { font-weight: 700; }
.prices .l small { display: block; color: var(--muted); font-weight: 600; }
.prices .p { font-family: var(--display); font-size: 1.35rem; color: var(--brown); font-weight: 700; white-space: nowrap; }
.prices .p small { font-family: var(--body); font-size: .78rem; color: var(--muted); font-weight: 700; }
.includes { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; }
.includes li { display: flex; gap: 8px; font-size: .94rem; }
.includes li::before { content: "✓"; color: var(--sage); font-weight: 900; }
.svc .btn { margin-top: auto; align-self: flex-start; }
.svc.included .prices { display: none; }
.svc-skel { height: 420px; border-radius: var(--r); background: linear-gradient(90deg, var(--paper), var(--blush), var(--paper)); background-size: 200% 100%; animation: sh 1.4s infinite; }
@keyframes sh { to { background-position: -200% 0; } }

/* Tracking feature */
.track .wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.phone { position: relative; width: min(330px, 100%); margin: 0 auto; aspect-ratio: 9 / 18.5; border-radius: 44px; background: #2d211a; padding: 12px; box-shadow: 0 30px 60px -25px rgba(58, 42, 32, .55); }
.phone .screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #f4efe6; display: flex; flex-direction: column; }
.phone .bar { padding: 16px 18px 10px; background: var(--paper); border-bottom: 1px solid var(--line); }
.phone .bar b { font-family: var(--display); color: var(--brown); font-size: 1.05rem; }
.phone .live { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 800; color: var(--rose); }
.phone .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--rose); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(169,82,95,.5); } 100% { box-shadow: 0 0 0 10px rgba(169,82,95,0); } }
.phone svg.map { flex: 1; width: 100%; }
.phone .stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--paper); border-top: 1px solid var(--line); text-align: center; padding: 12px 6px 18px; }
.phone .stats b { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--brown); }
.phone .stats span { font-size: .7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.route { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 6s ease-in-out infinite; }
@keyframes draw { 0% { stroke-dashoffset: 900; } 70%, 100% { stroke-dashoffset: 0; } }
.feat-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.feat-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.feat-list .fi { width: 46px; height: 46px; border-radius: 14px; background: var(--blush); display: grid; place-items: center; font-size: 1.35rem; }
.feat-list b { display: block; color: var(--brown); }
.feat-list span { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .track .wrap { grid-template-columns: 1fr; gap: 36px; } .track .phone { order: 2; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--rose); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin-bottom: 14px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* About */
.about .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 200px 200px 28px 28px; overflow: hidden; background: linear-gradient(160deg, var(--blush), var(--sage-soft)); box-shadow: var(--shadow); display: grid; place-items: center; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .ph { text-align: center; color: var(--brown); padding: 24px; }
.portrait .ph img { width: 60%; height: auto; margin: 0 auto 10px; opacity: .9; object-fit: contain; }
.about-text { white-space: pre-line; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { background: var(--sage-soft); color: #44593f; border-radius: 999px; padding: 6px 13px; font-size: .86rem; font-weight: 800; }
.sig { font-family: var(--script); font-size: 2.6rem; color: var(--rose-2); margin-top: 8px; }
@media (max-width: 900px) { .about .wrap { grid-template-columns: 1fr; gap: 30px; } .portrait { max-width: 360px; width: 100%; margin: 0 auto; } }

/* Area */
.area-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.area-card .txt { padding: 40px; }
.towns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.towns li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .88rem; font-weight: 700; background: var(--cream); }
.area-card .art { background: linear-gradient(160deg, #eef3ea, var(--blush)); display: grid; place-items: center; padding: 24px; }
@media (max-width: 800px) { .area-card { grid-template-columns: 1fr; } .area-card .txt { padding: 28px 22px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--brown); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--rose); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 30px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label.f { display: block; font-weight: 800; font-size: .9rem; color: var(--brown); margin-bottom: 14px; }
label.f input, label.f textarea, label.f select { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; border-radius: 13px; border: 1.5px solid var(--line); background: #fff; font: 600 1rem var(--body); color: var(--ink); }
label.f input:focus, label.f textarea:focus { outline: none; border-color: var(--rose-2); box-shadow: 0 0 0 4px rgba(196, 112, 128, .15); }
.form-note { font-size: .92rem; margin-top: 12px; }
.form-note.err { color: #9b2c2c; } .form-note.ok { color: #3f6b39; font-weight: 700; }
.reach { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.reach a { font-weight: 800; text-decoration: none; }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } .form .row { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* CTA band + footer */
.cta-band { background: var(--rose); color: #fff; border-radius: 30px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin: 0 0 .2em; }
.cta-band p { margin: 0; opacity: .9; }
.cta-band .btn { background: #fff; color: var(--rose); }
@media (max-width: 760px) { .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 24px; } }
footer { padding: 56px 0 36px; color: var(--muted); font-size: .94rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
footer a { color: var(--brown); font-weight: 700; text-decoration: none; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
