/* Annabelle's Pet Grooming & Boutique — palette sampled from the shop logo */
:root {
  --night: #16222a;
  --night-2: #1f2f39;
  --ink: #1e2528;
  --ink-soft: #4a5358;
  --blue: #5592bd;
  --blue-deep: #34688f;
  --blue-wash: #e8f1f8;
  --gold: #c89f59;
  --gold-light: #e6c67f;
  --gold-deep: #86632a;
  --cream: #f7eede;
  --cream-soft: #fbf7ef;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 34, 42, 0.12);
  --shadow-soft: 0 6px 20px rgba(22, 34, 42, 0.07);
  --maxw: 1180px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); }
a:hover { color: var(--gold-deep); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--night); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h1 span { color: var(--blue-deep); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--maxw), 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(900px, 100% - 32px); }
.wrap-any { overflow-wrap: anywhere; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.eyebrow { display: inline-block; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--night);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 64px; height: 62px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--white); letter-spacing: 0.01em; }
.brand-tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-light); }
.brand:hover .brand-name { color: var(--gold-light); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #ffffff; font-weight: 800; font-size: 1rem; letter-spacing: 0.03em;
  text-decoration: none; padding: 10px 14px; border-radius: 8px;
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.35);
}
.nav a:hover { color: var(--gold-light); background: rgba(255, 255, 255, 0.07); }
.nav a[aria-current="page"] { color: var(--gold-light); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 8px 8px 0 0; }
.nav .nav-cta { margin-left: 8px; background: var(--gold); color: var(--ink); text-shadow: none; box-shadow: 0 4px 14px rgba(200, 159, 89, 0.35); }
.nav .nav-cta:hover { background: var(--gold-light); color: var(--ink); }
.nav .nav-cta[aria-current="page"] { color: var(--ink); box-shadow: 0 0 0 3px var(--gold-light); border-radius: 8px; }
.header-book[aria-current="page"] { box-shadow: 0 0 0 3px var(--gold-light); }
.header-actions { display: none; align-items: center; gap: 10px; }
.header-book {
  background: var(--gold); color: var(--ink); font-weight: 800; text-decoration: none;
  padding: 9px 16px; border-radius: 10px; border: 2px solid var(--gold);
}
.header-book:hover { background: var(--gold-light); color: var(--ink); }
.nav-toggle {
  background: transparent; border: 2px solid var(--gold); color: var(--white);
  border-radius: 10px; padding: 8px 12px; font: 800 0.95rem var(--sans); cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font: 800 1rem var(--sans);
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); color: var(--ink); }
.btn-blue { background: var(--blue-deep); color: var(--white); }
.btn-blue:hover { background: var(--night-2); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--night); border-color: var(--night); }
.btn-ghost:hover { background: var(--night); color: var(--white); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }
.more-link { display: inline-block; font-weight: 800; color: var(--blue-deep); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.more-link:hover { color: var(--gold-deep); }

/* ---------- Background flow: every section fades into the next ---------- */
section { padding: 72px 0; }
.band-a { background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%); }
.band-b { background: linear-gradient(180deg, var(--cream) 0%, var(--blue-wash) 100%); }
.band-c { background: linear-gradient(180deg, var(--blue-wash) 0%, var(--white) 100%); }

/* ---------- Intro header (every page) ---------- */
section.intro { padding: 48px 0 64px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.intro-box {
  background: var(--white); border-radius: var(--radius); padding: 36px 36px 30px;
  box-shadow: var(--shadow); border-top: 5px solid var(--gold);
}
.intro-box.center { max-width: 720px; margin: 0 auto; text-align: center; }
.intro-box .lead { font-size: 1.12rem; color: var(--ink-soft); }
.intro-box .btn-row { margin-top: 22px; }
.intro-note { margin: 18px 0 0; font-size: 0.95rem; color: var(--ink-soft); }
.intro-note a { font-weight: 800; }
.intro-photo { position: relative; }
.intro-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 6px solid var(--white); box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; left: -18px; bottom: -22px; background: var(--night); color: var(--white);
  border: 3px solid var(--gold); border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow);
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--gold-light); line-height: 1; }
.hero-badge span { font-size: 0.85rem; font-weight: 700; }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.trust div { background: var(--white); border-radius: 14px; padding: 14px 16px; box-shadow: 0 4px 14px rgba(22, 34, 42, 0.06); border-top: 3px solid var(--blue); }
.trust strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--night); }
.trust span { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 10px; }
.section-head .more-link { margin-top: 4px; }
.divider-paw { display: block; width: 60px; height: 3px; background: var(--gold); margin: 16px auto 0; border-radius: 3px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft); border-top: 4px solid var(--gold); }
.card h3 { margin-bottom: 0.35em; }
.card p { color: var(--ink-soft); margin: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-wash); color: var(--blue-deep); display: grid; place-items: center; margin-bottom: 14px; }
.card .icon svg { width: 26px; height: 26px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > img { border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid var(--white); width: 100%; aspect-ratio: 4 / 5; max-height: 600px; object-fit: cover; }
.split > img.contain { aspect-ratio: auto; max-height: none; object-fit: contain; border: 0; box-shadow: none; max-width: 460px; margin-inline: auto; }
.split-text { align-items: stretch; }
.checks { list-style: none; padding: 0; margin: 18px 0 24px; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316222a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery.preview { grid-template-columns: repeat(4, 1fr); }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 14px rgba(22, 34, 42, 0.1); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.35s; }
.gallery button:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12, 18, 22, 0.92); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: min(92vw, 1100px); width: auto; border-radius: 12px; border: 4px solid var(--white); }
.lightbox p { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #fff; margin: 0; padding: 0 60px; font-size: 0.95rem; }
.lb-btn { position: absolute; background: var(--gold); color: var(--ink); border: 0; width: 48px; height: 48px; border-radius: 50%; font: 800 1.4rem var(--sans); cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; margin: 0; }
.review .stars { font-size: 1.15rem; margin-bottom: 8px; }
.review blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: 1.08rem; line-height: 1.55; color: var(--night); flex: 1; }
.review figcaption { font-weight: 800; color: var(--ink); }
.review figcaption span { display: block; font-weight: 600; font-size: 0.88rem; color: var(--ink-soft); }

/* booking form */
.book-form { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-top: 5px solid var(--gold); }
section.request { scroll-margin-top: 90px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 800; font-size: 0.95rem; margin-bottom: 6px; color: var(--night); }
label .opt { font-weight: 600; color: var(--ink-soft); }
input, select, textarea {
  width: 100%; font: 500 1rem var(--sans); color: var(--ink); background: var(--cream-soft);
  border: 2px solid #d9cfbd; border-radius: 12px; padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 4px rgba(85, 146, 189, 0.2); }
textarea { min-height: 100px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; align-items: center; }
.form-note { font-size: 0.92rem; color: var(--ink-soft); margin-top: 14px; }
.form-error { color: #a4282a; font-weight: 800; margin-top: 14px; display: none; }
.form-error.show { display: block; }
.form-success { display: none; margin-top: 18px; background: var(--blue-wash); border-left: 5px solid var(--blue); padding: 14px 18px; border-radius: 10px; }
.form-success.show { display: block; }

/* info / map */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: stretch; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-soft); }
.info-card p:last-child { margin-bottom: 0; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px dashed #e4dac8; }
.hours td { text-align: right; font-weight: 700; }
.hours tr.today th, .hours tr.today td { color: var(--blue-deep); }
.map { border: 0; width: 100%; height: 100%; min-height: 340px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(22, 34, 42, 0.06); }
.faq summary { font-weight: 800; cursor: pointer; color: var(--night); font-size: 1.05rem; }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); }

/* utilities */
.mt-0 { margin-top: 0; }
.mt-6 { margin-top: 6px; }
.mt-18 { margin-top: 18px; }
section.page-404 { padding: 90px 0; }

/* footer */
.site-footer { background: var(--night); color: #cfd8de; padding: 56px 0 28px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.site-footer h3 { color: var(--gold-light); font-size: 1.15rem; }
.site-footer a { color: #ffffff; text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--gold-light); }
.footer-brand img { width: 120px; margin-bottom: 12px; }
.footer-hours { list-style: none; padding: 0; margin: 0; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.socials { display: flex; gap: 12px; margin-top: 14px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--night-2); border: 1px solid #36505f; }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.footer-bottom { border-top: 1px solid #2c3f4a; margin-top: 36px; padding-top: 20px; font-size: 0.88rem; text-align: center; color: #9fb0ba; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav a { padding: 10px 10px; font-size: 0.95rem; }
  .cards, .reviews { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .intro-box { padding: 30px 28px 26px; }
}
@media (max-width: 860px) {
  .header-actions { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--night); padding: 10px 16px 18px; border-bottom: 3px solid var(--gold);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.1rem; padding: 14px 12px; border-bottom: 1px solid #2c3f4a; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--gold); border-radius: 0; }
  .nav .nav-cta { margin: 12px 0 0; text-align: center; border-bottom: 0; }
  .intro-grid, .split, .info-grid { grid-template-columns: 1fr; gap: 30px; }
  section.intro { padding: 28px 0 52px; }
  .hero-badge { left: 12px; bottom: -18px; }
  .gallery, .gallery.preview { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { width: 48px; height: 46px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 1.12rem; }
  .brand-tag { font-size: 0.56rem; letter-spacing: 0.1em; }
  .header-book { padding: 8px 12px; }
  .nav-toggle { padding: 7px 10px; }
  .cards, .reviews { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
  .trust div { padding: 12px; }
  .trust strong { font-size: 1rem; }
  .trust span { font-size: 0.82rem; }
  .intro-box { padding: 24px 20px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .book-form { padding: 22px 18px; }
  .btn, .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
