/* A Decked Out Pet, Inc. - A2P landing page
   Care/boutique register per premium-design-system.md:
   warm ground, brand-tinted ink, light heading weight, soft radii, pill buttons.
   No pure white, no pure black. */

:root {
  /* Sampled from Linda's logo: hot pink #f25185, soft pink #fdbcd0,
     cream #f9f3ed, near-black ink. The deep rose leads (buttons, links) so it
     clears AA on the cream ground; the bright logo pink is a highlight only. */
  --hue: 5;                                     /* her pink, in oklch */
  --accent:        oklch(0.55  0.16  var(--hue)); /* #b93f65 deep rose - leads */
  --accent-deep:   oklch(0.47  0.15  var(--hue)); /* #9a2a4f links, headings */
  --accent-bright: #f25185;                       /* the logo pink - highlight only */
  --accent-soft:   oklch(0.945 0.035 var(--hue)); /* #ffe5ea tinted panel */
  --ink:           oklch(0.225 0.022 var(--hue)); /* #25171a one deep ink */
  --muted:         oklch(0.505 0.030 var(--hue)); /* #745e62 */
  --paper:         oklch(0.976 0.010 60);         /* #fcf6f1 warm cream, never #fff */
  --card:          oklch(0.995 0.005 60);
  --rule:          oklch(0.905 0.020 var(--hue));
  --btn-text:      oklch(0.99  0.006 60);

  --r-card: 20px;
  --r-pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: ui-serif, Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-wrap: pretty;
}

.wrap {
  width: min(100% - 3rem, 720px);
  margin-inline: auto;
}

/* ---------- header / wordmark ---------- */

header {
  padding: 36px 0 4px;
  text-align: center;
}

.logo {
  display: inline-block;
  line-height: 0;
}

.logo img {
  width: 380px;
  max-width: 100%;
  height: auto;
}

.logo-sub {
  display: block;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.4;
}

/* ---------- landing ---------- */

main { padding: 24px 0 56px; }

.hero { text-align: center; padding: 20px 0 8px; }

h1 {
  font-size: clamp(1.9rem, 5.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin-bottom: 14px;
}

.tagline {
  font-size: 1.125rem;
  color: var(--muted);
  text-wrap: balance;
  margin-bottom: 6px;
}

.location {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}

.call-button {
  display: inline-block;
  background: var(--accent);
  color: var(--btn-text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 15px 34px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background 0.3s var(--ease);
}

.call-button:hover,
.call-button:focus-visible { background: var(--accent-deep); }

.call-hint {
  margin-top: 14px;
  font-size: 0.95rem;
  color: var(--muted);
}

section { margin-top: 52px; }

h2 {
  font-size: 1.3rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 20px;
}

h2::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: var(--accent-bright);
}

.lede {
  text-align: center;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 auto 6px;
}

.card-list {
  list-style: none;
  display: grid;
  gap: 16px;
}

.card-list li {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  padding: 22px 24px;
}

.visit .logo-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  display: block;
}

.card-list h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent-deep);
  margin-bottom: 6px;
}

.card-list p {
  font-size: 0.98rem;
  color: var(--muted);
}

.hours {
  list-style: none;
  max-width: 26rem;
  margin: 0 auto;
  font-variant-numeric: tabular-nums;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 2px;
  border-bottom: 1px solid var(--rule);
}

.hours li:last-child { border-bottom: 0; }
.hours .day { color: var(--ink); }
.hours .time { color: var(--muted); }

.visit {
  background: var(--accent-soft);
  border-radius: var(--r-card);
  padding: 28px 26px;
  text-align: center;
}

.visit p { margin-bottom: 8px; }
.visit p:last-child { margin-bottom: 0; }
.visit a { color: var(--accent-deep); }

/* ---------- legal documents ---------- */

.doc { text-align: left; }

.doc h1 { text-align: center; font-size: clamp(1.6rem, 4.5vw, 2rem); }

.doc .updated {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.doc h2 {
  text-align: left;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent-deep);
  margin-top: 34px;
  margin-bottom: 10px;
}

.doc p { margin-bottom: 14px; }

.doc a { color: var(--accent-deep); }

/* ---------- footer ---------- */

footer {
  border-top: 1px solid var(--rule);
  padding: 28px 0 48px;
  text-align: center;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
}

footer p { margin-bottom: 5px; }

.footer-biz { font-weight: 600; color: var(--ink); }

footer a { color: var(--accent-deep); text-decoration: none; }
footer a:hover, footer a:focus-visible { text-decoration: underline; }

.footer-links { margin-top: 12px; }
.footer-legal { margin-top: 12px; font-size: 0.8rem; }

@media (min-width: 640px) {
  .card-list { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}

/* ================================================================
   Multi-page additions, 2026-09-09
   Nav, image hero, media cards, gallery, steps, contact panel.
   Same care/boutique register, same one --hue ramp.
   ================================================================ */

/* ---------- navigation ---------- */

.nav {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-top: 18px;
}

.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
  padding: 12px 0;
}

.nav a {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.nav a:hover,
.nav a:focus-visible { color: var(--accent-deep); }

.nav a[aria-current="page"] {
  color: var(--accent-deep);
  border-bottom-color: var(--accent-bright);
}

/* ---------- hero image ---------- */

.hero-figure {
  margin: 0 0 30px;
  border-radius: var(--r-card);
  overflow: hidden;
  line-height: 0;
  background: var(--accent-soft);
}

.hero-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.page-intro {
  text-align: center;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 auto 8px;
}

/* ---------- cards with images ---------- */

.card-list li.media { padding: 0; overflow: hidden; }

.card-list li.media img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.card-list li.media .card-body { padding: 20px 22px 22px; }

/* ---------- alternating detail rows ---------- */

.detail {
  display: grid;
  gap: 20px;
  align-items: center;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.detail:first-of-type { border-top: 0; padding-top: 0; }

.detail img {
  width: 100%;
  height: auto;
  border-radius: var(--r-card);
  display: block;
}

.detail h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--accent-deep);
  margin-bottom: 8px;
}

.detail p { color: var(--muted); margin-bottom: 10px; }
.detail p:last-child { margin-bottom: 0; }

/* ---------- numbered steps ---------- */

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  padding: 22px 24px 22px 68px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.steps h3 {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent-deep);
  margin-bottom: 6px;
}

.steps p { font-size: 0.98rem; color: var(--muted); }

/* ---------- gallery ---------- */

.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.note {
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 20px;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  padding: 22px 24px;
}

.contact-card h3 {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 10px;
}

.contact-card p { margin-bottom: 5px; }
.contact-card a { color: var(--accent-deep); }

.map-frame {
  margin-top: 28px;
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--rule);
  line-height: 0;
}

.map-frame iframe { width: 100%; height: 360px; border: 0; display: block; }

.cta-band {
  text-align: center;
  background: var(--accent-soft);
  border-radius: var(--r-card);
  padding: 32px 26px;
  margin-top: 52px;
}

.cta-band h2 { margin-bottom: 12px; }
.cta-band h2::after { display: none; }
.cta-band p { color: var(--muted); margin-bottom: 20px; }

@media (min-width: 640px) {
  .detail { grid-template-columns: 1fr 1fr; gap: 28px; }
  .detail.flip img { order: 2; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

/* .doc pages left-align h2, so the CTA band has to re-centre its own */
.doc .cta-band h2 {
  text-align: center;
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--ink);
}

.doc .cta-band p { text-align: center; }
.doc .cta-band { text-align: center; }
.gallery img { height: auto; }
