/* Ruff Diamonds theme: logo red, black line-art outlines, playful rounded type.
   --brand is the logo's background red. Use it for surfaces with BLACK text only
   (white text on it is 3.6:1, which fails AA for body text). Buttons and links use
   --accent (#c81e1e, set in the client JSON), which passes AA with white text. */
:root{
  --brand:#fc3631;
  --ink:#141414;
  --cream:#fff5f0;
  --blush:#ffe1dc;
  --paw-blush:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%23ffd3cd'%3E%3Cellipse cx='13' cy='27' rx='6' ry='8' transform='rotate(-20 13 27)'/%3E%3Cellipse cx='25' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='51' cy='27' rx='6' ry='8' transform='rotate(20 51 27)'/%3E%3Cpath d='M32 31c-9 0-17 10-17 18 0 6 5 9 10 8 3-.5 5-2 7-2s4 1.5 7 2c5 1 10-2 10-8 0-8-8-18-17-18z'/%3E%3C/svg%3E");
  --paw-white:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%23ffffff'%3E%3Cellipse cx='13' cy='27' rx='6' ry='8' transform='rotate(-20 13 27)'/%3E%3Cellipse cx='25' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='51' cy='27' rx='6' ry='8' transform='rotate(20 51 27)'/%3E%3Cpath d='M32 31c-9 0-17 10-17 18 0 6 5 9 10 8 3-.5 5-2 7-2s4 1.5 7 2c5 1 10-2 10-8 0-8-8-18-17-18z'/%3E%3C/svg%3E");
  --paw-red:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%23fc3631'%3E%3Cellipse cx='13' cy='27' rx='6' ry='8' transform='rotate(-20 13 27)'/%3E%3Cellipse cx='25' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='51' cy='27' rx='6' ry='8' transform='rotate(20 51 27)'/%3E%3Cpath d='M32 31c-9 0-17 10-17 18 0 6 5 9 10 8 3-.5 5-2 7-2s4 1.5 7 2c5 1 10-2 10-8 0-8-8-18-17-18z'/%3E%3C/svg%3E");
  --paw-deep:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%23e82a25'%3E%3Cellipse cx='13' cy='27' rx='6' ry='8' transform='rotate(-20 13 27)'/%3E%3Cellipse cx='25' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='51' cy='27' rx='6' ry='8' transform='rotate(20 51 27)'/%3E%3Cpath d='M32 31c-9 0-17 10-17 18 0 6 5 9 10 8 3-.5 5-2 7-2s4 1.5 7 2c5 1 10-2 10-8 0-8-8-18-17-18z'/%3E%3C/svg%3E");
  --wave:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath fill='%23fc3631' d='M0 48V24C180 4 360 4 540 22S900 44 1080 26 1320 6 1440 18V48Z'/%3E%3C/svg%3E");
}

body{color:var(--ink)}
h1,h2,h3{font-weight:700;letter-spacing:-.01em;color:var(--ink)}

/* Header */
.top{border-bottom:3px solid var(--ink);padding:10px 20px}
.brand{font-size:20px;color:var(--ink)}
.brand-logo{border:2px solid var(--ink)}
.top nav a{font-weight:600}
.top nav a:hover{color:var(--accent)}

/* Buttons: pill shape with a cartoon offset shadow, like the logo's line art */
.btn{border-radius:999px;border:2px solid var(--ink);box-shadow:4px 4px 0 var(--ink);font-weight:700;transition:transform .12s,box-shadow .12s}
.btn:hover{transform:translate(2px,2px);box-shadow:2px 2px 0 var(--ink)}
.btn:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.btn-ghost{background:#fff;color:var(--ink);box-shadow:4px 4px 0 var(--ink)}
.btn-small{box-shadow:3px 3px 0 var(--ink)}

/* Hero: cream with scattered paws, logo sitting in a red blob */
.hero{position:relative;overflow:hidden;background:var(--cream);padding:64px 0 72px}
.hero::before,.hero::after{content:"";position:absolute;background:var(--paw-blush) center/contain no-repeat;pointer-events:none}
.hero::before{width:90px;height:90px;left:3%;bottom:18px;transform:rotate(-24deg)}
.hero::after{width:64px;height:64px;right:44%;top:28px;transform:rotate(18deg)}
.hero .wrap{position:relative;z-index:1}
.eyebrow{display:inline-block;background:var(--blush);color:#8f1414;font-weight:700;padding:6px 14px;border-radius:999px;letter-spacing:.06em}
h1{font-size:clamp(34px,5.4vw,56px);line-height:1.08;margin-top:14px}
.lead{color:#3a3a3a}
.rating{font-weight:600;color:#3a3a3a}
.stars{color:var(--brand);font-size:1.15em}
.hero-art{position:relative;max-width:460px;margin:0 auto;width:100%}
.hero-art::before{content:"";position:absolute;inset:0;background:var(--ink);border-radius:58% 42% 52% 48% / 46% 56% 44% 54%;transform:translate(12px,12px)}
.hero-art::after{content:"";position:absolute;width:78px;height:78px;right:-6px;top:-10px;background:var(--paw-red) center/contain no-repeat;transform:rotate(22deg)}
.hero-art img{position:relative;max-width:none;padding:13%;background:var(--brand);border-radius:58% 42% 52% 48% / 46% 56% 44% 54%;aspect-ratio:1;object-fit:contain;object-position:center;box-sizing:border-box}

/* Section headings with a paw */
.section h2{text-align:center;font-size:clamp(30px,4vw,40px)}
.section h2::before{content:"";display:inline-block;width:.85em;height:.85em;margin-right:.3em;vertical-align:-.05em;background:var(--paw-red) center/contain no-repeat;transform:rotate(-14deg)}
#contact h2{text-align:left}
#contact h2::before{display:none}

/* Service cards: outlined stickers with a red paw badge */
.grid{gap:24px}
.card{border:2px solid var(--ink);border-radius:22px;padding:24px;box-shadow:6px 6px 0 var(--brand)}
.card::before{content:"";display:block;width:52px;height:52px;margin-bottom:14px;border-radius:50%;border:2px solid var(--ink);background:var(--brand) var(--paw-white) center/56% no-repeat}
.card h3{font-size:21px}
.card p{color:#3a3a3a}

/* Red band with wavy edges (black text: 5.2:1 on the logo red) */
.band{position:relative;z-index:1;background:var(--brand);color:var(--ink);padding:72px 0;margin:24px 0 0}
.band::before,.band::after{content:"";position:absolute;left:0;right:0;height:40px;background:var(--wave) center/100% 100% no-repeat}
.band::before{top:-39px}
.band::after{bottom:-39px;transform:scaleY(-1)}
.band .wrap{position:relative}
.band h2{font-size:clamp(32px,4.4vw,44px);color:var(--ink)}
.band p{font-weight:600}
.btn-light{background:#fff;color:var(--ink)}
.btn-outline-light{background:transparent;color:var(--ink);box-shadow:4px 4px 0 var(--ink)}

/* Contact */
.alt{background:var(--cream)}
#contact .two>div{background:#fff;border:2px solid var(--ink);border-radius:22px;padding:24px 26px}
#contact .two>div h2{font-size:28px}
.hours td{border-bottom:2px dashed var(--blush)}
.hours tr:last-child td{border-bottom:0}

/* Footer */
footer{background:var(--ink);color:#e9e9e9;border-top:0}

/* Mobile call bar */
@media (max-width:640px){
  .hero{padding:40px 0 56px}
  .hero::after{right:8%;top:auto;bottom:40%}
  .hero-art{max-width:300px}
  .hero-art::before{transform:translate(8px,8px)}
  .hero-art::after{width:58px;height:58px}
  .brand{font-size:18px}
  body{padding-bottom:0}
  footer{padding-bottom:100px}
  .mobile-call{background:var(--accent);border:2px solid var(--ink);border-radius:999px;box-shadow:4px 4px 0 var(--ink)}
}
/* ---------- Motion ----------
   CSS only, transform/opacity where possible, all switched off for prefers-reduced-motion. */

/* Hero logo: pops in, the red blob slowly wobbles, bubbles rise from the bathtub */
@keyframes rd-pop{0%{transform:scale(.86) rotate(-5deg)}60%{transform:scale(1.03) rotate(1.5deg)}100%{transform:none}}
@keyframes rd-blob{
  0%{border-radius:58% 42% 52% 48% / 46% 56% 44% 54%}
  50%{border-radius:47% 53% 44% 56% / 56% 45% 55% 44%}
  100%{border-radius:53% 47% 58% 42% / 44% 58% 42% 56%}}
.hero-art{animation:rd-pop .8s cubic-bezier(.34,1.56,.64,1) both}
.hero-art img,.hero-art::before{animation:rd-blob 9s ease-in-out infinite alternate}

.hero-fx{display:block;position:absolute;inset:0;pointer-events:none}
.hero-fx i{position:absolute;border-radius:50%;background:#fff;border:2px solid var(--ink);opacity:0;animation:rd-rise 5s ease-in infinite}
@keyframes rd-rise{
  0%{transform:translate(0,0) scale(.3);opacity:0}
  15%{opacity:1}
  45%{transform:translate(var(--sway,8px),-45px) scale(1)}
  80%{opacity:.9}
  100%{transform:translate(calc(var(--sway,8px) * -1),-110px) scale(1.08);opacity:0}}
.hero-fx i:nth-child(1){left:33%;top:64%;width:16px;height:16px;animation-delay:0s}
.hero-fx i:nth-child(2){left:44%;top:66%;width:10px;height:10px;animation-delay:1.1s;--sway:-10px}
.hero-fx i:nth-child(3){left:58%;top:63%;width:20px;height:20px;animation-delay:.5s;animation-duration:6s}
.hero-fx i:nth-child(4){left:69%;top:65%;width:12px;height:12px;animation-delay:2.2s;--sway:-6px}
.hero-fx i:nth-child(5){left:76%;top:60%;width:24px;height:24px;animation-delay:3s;animation-duration:6.5s;--sway:14px}
.hero-fx i:nth-child(6){left:27%;top:58%;width:14px;height:14px;animation-delay:3.6s;--sway:-12px}
.hero-fx i:nth-child(7){left:51%;top:67%;width:9px;height:9px;animation-delay:4.2s}

/* Red band: a trail of paw prints walks across, left to right */
.band-fx{display:block;position:absolute;inset:0;overflow:hidden;pointer-events:none}
.band-fx i{position:absolute;width:34px;height:34px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='%23d6221d'%3E%3Cellipse cx='13' cy='27' rx='6' ry='8' transform='rotate(-20 13 27)'/%3E%3Cellipse cx='25' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='39' cy='15' rx='6' ry='8.5'/%3E%3Cellipse cx='51' cy='27' rx='6' ry='8' transform='rotate(20 51 27)'/%3E%3Cpath d='M32 31c-9 0-17 10-17 18 0 6 5 9 10 8 3-.5 5-2 7-2s4 1.5 7 2c5 1 10-2 10-8 0-8-8-18-17-18z'/%3E%3C/svg%3E") center/contain no-repeat;rotate:90deg;opacity:0;animation:rd-step 7s ease-out infinite}
@keyframes rd-step{0%,4%{opacity:0;scale:.5}9%{opacity:1;scale:1.1}12%{scale:1}55%{opacity:1}75%,100%{opacity:0}}
.band-fx i:nth-child(odd){top:calc(100% - 64px)}
.band-fx i:nth-child(even){top:calc(100% - 40px)}
.band-fx i:nth-child(1){left:3%;animation-delay:0s}
.band-fx i:nth-child(2){left:12.5%;animation-delay:.35s}
.band-fx i:nth-child(3){left:22%;animation-delay:.7s}
.band-fx i:nth-child(4){left:31.5%;animation-delay:1.05s}
.band-fx i:nth-child(5){left:41%;animation-delay:1.4s}
.band-fx i:nth-child(6){left:50.5%;animation-delay:1.75s}
.band-fx i:nth-child(7){left:60%;animation-delay:2.1s}
.band-fx i:nth-child(8){left:69.5%;animation-delay:2.45s}
.band-fx i:nth-child(9){left:79%;animation-delay:2.8s}
.band-fx i:nth-child(10){left:88.5%;animation-delay:3.15s}

/* Cards: lift on hover and the paw badge wiggles */
@keyframes rd-wiggle{0%,100%{rotate:0deg}25%{rotate:-14deg}50%{rotate:10deg}75%{rotate:-6deg}}
.card{transition:translate .2s,box-shadow .2s}
.card:hover{translate:0 -4px;box-shadow:9px 10px 0 var(--brand)}
.card:hover::before{animation:rd-wiggle .6s ease-in-out}
.brand:hover .brand-logo{animation:rd-wiggle .6s ease-in-out}
.section h2::before{transition:rotate .3s}
.section h2:hover::before{rotate:14deg}

/* Scroll reveal: cards tumble in as they enter the screen (browsers without
   scroll-driven animations just show them normally) */
@keyframes rd-in{from{opacity:0;transform:translateY(46px) rotate(-3deg) scale(.96)}to{opacity:1;transform:none}}
@supports (animation-timeline:view()){
  .card,#contact .two>div{animation:rd-in linear both;animation-timeline:view();animation-range:entry 0% entry 65%}
  .grid .card:nth-child(2){animation-range:entry 8% entry 73%}
  .grid .card:nth-child(3){animation-range:entry 16% entry 81%}
}

@media (max-width:640px){
  .band-fx i{width:24px;height:24px}
  .band-fx i:nth-child(odd){top:calc(100% - 52px)}
  .band-fx i:nth-child(even){top:calc(100% - 34px)}
}

@media (prefers-reduced-motion:reduce){
  .hero-fx,.band-fx{display:none}
  *,*::before,*::after{animation:none!important;transition:none!important}
}

