/* ===========================================================
   MESS GROOMING — styles
   Brand: black & white, dalmatian-dot motif, sunflower-yellow pop
   =========================================================== */

:root {
  --bg: #F4F2EC;          /* warm off-white */
  --bg-2: #ECEAE2;        /* slightly deeper */
  --white: #ffffff;
  --ink: #16150F;         /* near-black */
  --ink-soft: #5c584e;    /* muted text */
  --line: #E4E0D4;        /* hairlines */
  --sun: #F4B400;         /* sunflower yellow */
  --sun-dark: #D89A00;    /* yellow hover */
  --leaf: #4C7A3F;        /* subtle green from sunflower leaves */

  --radius: 16px;
  --radius-lg: 26px;
  --radius-xl: 38px;
  --shadow-sm: 0 4px 14px rgba(22,21,15,.06);
  --shadow: 0 16px 40px rgba(22,21,15,.10);
  --shadow-lg: 0 30px 70px rgba(22,21,15,.16);

  --font-display: 'Baloo 2', system-ui, sans-serif;  /* rounded, echoes the MESS wordmark */
  --font-body: 'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --maxw: 1180px;
  --cursor-paw: url("../images/paw-cursor.svg") 14 16, auto;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

@media (hover: hover) and (pointer: fine) {
  body, a, button, .btn, input, select, textarea, [role="button"] { cursor: var(--cursor-paw); }
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; color: var(--ink); margin: 0 0 .4em; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body); font-weight: 800; font-size: .98rem;
  padding: .72em 1.4em; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap; line-height: 1;
}
.btn-lg { padding: .95em 1.8em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow); }

/* sunny variant */
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 22px rgba(244,180,0,.32); }
.btn-sun:hover { background: var(--sun-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(244,180,0,.4); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); padding: .5em .9em; font-weight: 700; }
.btn-ghost:hover { color: var(--sun-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244,242,236,.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 20px; padding-block: 10px; }
.brand-logo { height: 58px; width: auto; }
.nav { display: flex; gap: 4px; margin-inline: auto; }
.nav a { color: var(--ink); font-weight: 700; padding: 8px 14px; border-radius: 999px; transition: color .18s, background .18s; }
.nav a:hover { background: var(--sun); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .phone { font-size: .92rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border: none; background: var(--ink); border-radius: 12px; padding: 0; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2.4px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 10px clamp(16px,4vw,40px) 22px; border-top: 1px solid var(--line); background: var(--bg); }
.mobile-nav a { padding: 12px 14px; border-radius: 12px; font-weight: 700; color: var(--ink); }
.mobile-nav a:hover { background: var(--sun); }
.mobile-nav .mobile-book { text-align: center; margin-top: 8px; color: #fff; }
.mobile-phone { text-align: center; color: var(--ink); font-weight: 800; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(36px, 6vw, 76px) 0 92px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 2; }
.blob { position: absolute; border-radius: 50%; filter: blur(10px); z-index: 1; }
.blob-1 { width: 380px; height: 380px; background: radial-gradient(circle at 40% 40%, rgba(244,180,0,.4), transparent 68%); top: -90px; right: -70px; }
.blob-2 { width: 320px; height: 320px; background: radial-gradient(circle at 60% 40%, rgba(22,21,15,.07), transparent 70%); bottom: -120px; left: -120px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .8rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); padding: 7px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
.hero-title { font-size: clamp(2.6rem, 6.2vw, 4.8rem); font-weight: 800; margin: 20px 0 16px; letter-spacing: -.01em; }
.squiggle { color: var(--ink); position: relative; white-space: nowrap; }
.squiggle::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .32em; background: var(--sun); border-radius: 999px; z-index: -1; transform: rotate(-1.5deg); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 30px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; padding: 0; margin: 0; }
.hero-badges li { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; box-shadow: var(--shadow-sm); }
.hero-badges strong { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.hero-badges span { color: var(--ink-soft); font-size: .88rem; }

.hero-media { position: relative; }
.hero-frame { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; rotate: 2deg; background: var(--bg-2); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; }
.hero-sticker { position: absolute; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 9px 16px; font-weight: 800; font-size: .88rem; box-shadow: var(--shadow); white-space: nowrap; }
.sticker-1 { top: 14px; left: -14px; rotate: -4deg; }
.sticker-1 b { color: var(--sun-dark); }
.sticker-2 { bottom: 18px; right: -10px; rotate: 3deg; background: var(--sun); border-color: var(--ink); }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 2; }
.wave svg { width: 100%; height: 72px; display: block; }
.wave path { fill: var(--white); }

/* ---------- Trust band ---------- */
.trust { background: var(--white); padding: 24px 0 54px; position: relative; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { text-align: center; padding: 14px; border-radius: var(--radius-lg); transition: background .2s; }
.trust-item:hover { background: var(--bg); }
.trust-ico { font-size: 2.1rem; display: inline-block; margin-bottom: 6px; }
.trust-item h3 { font-size: 1.18rem; margin-bottom: .2em; }
.trust-item p { color: var(--ink-soft); font-size: .94rem; margin: 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(34px, 5vw, 56px); }
.kicker { display: inline-block; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--ink); background: var(--sun); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); font-weight: 800; }
.section-lead { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--ink); }
.service-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-card.featured h3, .service-card.featured p { color: #fff; }
.service-card.featured .service-tag { background: var(--sun); color: var(--ink); }
.service-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--sun); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 18px; }
.service-card h3 { font-size: 1.35rem; }
.service-card p { color: var(--ink-soft); margin-bottom: 18px; }
.service-card.featured p { color: #e7e5db; }
.service-tag { display: inline-block; font-weight: 800; font-size: .88rem; color: var(--ink); background: var(--sun); padding: 6px 14px; border-radius: 999px; }
.services-note { text-align: center; color: var(--ink-soft); margin-top: 36px; font-weight: 600; }

/* ---------- About ---------- */
.about { background: var(--bg-2); position: relative; }
.about-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about-media { position: relative; }
.about-img-wrap { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); border: 8px solid #fff; rotate: -2deg; }
.about-img-wrap img { width: 100%; aspect-ratio: 4/4; object-fit: cover; }
.about-badge { position: absolute; right: -10px; bottom: -22px; background: var(--sun); color: var(--ink); width: 120px; height: 120px; border-radius: 50%; display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); rotate: 6deg; border: 5px solid #fff; }
.about-badge strong { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.about-badge span { font-size: .76rem; font-weight: 800; }
.about-copy h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.about-copy p { color: var(--ink-soft); font-size: 1.06rem; }
.about-list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 8px; }
.about-list li { font-weight: 700; }

/* ---------- Gallery ---------- */
.gallery { background: var(--bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.gallery-item { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; border: 5px solid #fff; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after { content: "🐾"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; background: rgba(22,21,15,.28); opacity: 0; transition: opacity .3s; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item { cursor: zoom-in; }
.gallery-item:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.gallery-item::after { content: "🔍"; }
.gallery-cta { text-align: center; margin-top: 34px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(22,21,15,.92); padding: clamp(16px, 4vw, 48px); }
.lightbox.open { display: flex; }
.lightbox-figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-figure img { max-width: 100%; max-height: 82vh; width: auto; height: auto; border-radius: var(--radius-lg); border: 5px solid #fff; box-shadow: var(--shadow-lg); background: #fff; }
.lightbox-cap { color: #f4f2ec; font-weight: 700; font-size: .98rem; text-align: center; }
.lightbox-count { color: #b9b4a6; font-weight: 700; }
.lb-btn { position: absolute; background: #fff; color: var(--ink); border: 2px solid var(--ink); width: 54px; height: 54px; border-radius: 50%; font-size: 1.5rem; display: grid; place-items: center; line-height: 1; transition: transform .15s, background .15s; }
.lb-btn:hover { background: var(--sun); transform: scale(1.06); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover, .lb-next:hover { transform: translateY(-50%) scale(1.06); }
@media (max-width: 560px) {
  .lb-btn { width: 46px; height: 46px; font-size: 1.25rem; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-close { top: 12px; right: 12px; }
}

/* ---------- Pricing ---------- */
.pricing { background: var(--white); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card { background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 34px 28px; position: relative; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.price-card.popular { background: var(--ink); color: #fff; border-color: var(--ink); transform: scale(1.03); }
.price-card.popular:hover { transform: scale(1.03) translateY(-5px); }
.price-card.popular h3, .price-card.popular .price, .price-card.popular ul li { color: #fff; }
.price-card.popular .price-note { color: #c9c6ba; }
.badge-popular { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--sun); color: var(--ink); font-weight: 800; font-size: .78rem; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 1.5rem; }
.price-note { color: var(--ink-soft); font-size: .9rem; margin-bottom: 14px; }
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; margin-bottom: 18px; }
.price span { font-size: 1rem; font-weight: 700; color: var(--ink-soft); margin-right: 4px; }
.price-card.popular .price span { color: #c9c6ba; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.price-card ul li { padding-left: 26px; position: relative; }
.price-card ul li::before { content: "🐾"; position: absolute; left: 0; font-size: .85rem; }
.price-card .btn { margin-top: auto; }

/* ---------- Reviews ---------- */
.reviews { background: var(--sun); position: relative; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: #fff; border-radius: var(--radius-lg); padding: 30px 28px; margin: 0; box-shadow: var(--shadow-sm); border: 2px solid var(--ink); transition: transform .25s, box-shadow .25s; }
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.stars { color: var(--sun-dark); letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 10px; }
.review-card p { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); font-weight: 500; }
.review-card footer { font-weight: 800; color: var(--ink); margin-top: 8px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-2); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.c-ico { font-size: 1.35rem; width: 46px; height: 46px; display: grid; place-items: center; background: var(--sun); border-radius: 14px; flex: none; }
.contact-list strong { display: block; }
.contact-list a { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 3px; }
.contact-list .muted { color: var(--ink-soft); font-size: .9rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 6px solid #fff; }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

.contact-card { background: #fff; border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); border: 2px solid var(--ink); }
.contact-card h3 { font-size: 1.6rem; }
.contact-card > p { color: var(--ink-soft); }
.contact-actions { display: grid; gap: 12px; margin: 22px 0 26px; }
.qr-block { display: flex; align-items: center; gap: 18px; padding-top: 22px; border-top: 1.5px solid var(--line); }
.qr-block img { width: 128px; height: 128px; flex: none; border-radius: 14px; }
.qr-text strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.qr-text p { margin: 4px 0 0; font-size: .92rem; color: var(--ink-soft); }
.qr-text a { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--sun); text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9d6cc; padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-logo { height: 74px; margin-bottom: 14px; }
.footer-brand p { color: #a9a595; max-width: 34ch; }
.socials { display: flex; gap: 16px; margin-top: 8px; }
.socials a { color: #d9d6cc; font-weight: 700; }
.socials a:hover { color: var(--sun); }
.footer-col h4 { color: #fff; font-size: 1.1rem; }
.footer-col p { color: #a9a595; }
.footer-col a { color: #d9d6cc; }
.footer-col a:hover { color: var(--sun); }
.footer-col .btn { margin-top: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #8f8b7c; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* ---------- Paw cursor follower ---------- */
.paw-follower { position: fixed; top: 0; left: 0; width: 22px; height: 22px; pointer-events: none; z-index: 9999; background: url("../images/paw-cursor.svg") center/contain no-repeat; transform: translate(-50%, -50%) scale(0); opacity: 0; transition: opacity .2s ease; will-change: transform; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .mobile-nav { display: flex; }
  .brand-logo { height: 50px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; margin-inline: auto; }
  .hero-sub { max-width: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin: 0 auto 20px; }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-5px); }
  .review-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .contact-inner { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item.wide { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .field.two { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.3rem, 11vw, 3rem); }
  .sticker-1 { left: 4px; }
  .sticker-2 { right: 4px; }
  .gallery-item.tall { grid-row: span 1; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .paw-follower { display: none; }
}
