/* ============================================================
   Transformation Pet Center — modern refresh (2026 restoration)
   Pure static site: system fonts, no external requests.
   ============================================================ */

:root {
  --bg: #faf6ef;
  --surface: #ffffff;
  --ink: #2c2620;
  --ink-soft: #5c5348;
  --line: #e7ded0;
  --brand: #b34a7d;          /* homage to the original hot pink */
  --brand-dark: #8d365f;
  --accent: #22766d;         /* homage to the original sky blue, deepened */
  --accent-soft: #e3f0ee;
  --sun: #f2b544;            /* homage to the yellow sidebar cards */
  --sun-soft: #fdf3dd;
  --shadow: 0 10px 30px -18px rgba(44, 38, 32, 0.35);
  --radius: 14px;
  --max: 1080px;
  --font-body: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); }
a:hover { color: var(--brand-dark); }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- layout ---------- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 22px;
}

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

/* ---------- header ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  background: var(--accent);
  color: #eef7f6;
  font-size: 0.86rem;
}
.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: space-between;
  align-items: center;
  padding-block: 7px;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar .muted { color: #cfe6e3; }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 170px; height: auto; }
.brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.2;
}
.brand .brand-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.main-nav ul { display: contents; }
.main-nav .nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { background: var(--sun-soft); color: var(--ink); }
.main-nav a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 420px at 85% -10%, rgba(228, 240, 238, 0.9), transparent),
    linear-gradient(180deg, #f4ede1 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  padding-block: 54px 46px;
  max-width: 720px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  line-height: 1.18;
  margin: 0 0 14px;
}
.hero p.lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin: 0 0 26px;
}

.hero-logo { margin-bottom: 22px; }
.hero-logo img { width: 190px; height: auto; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  margin-left: 10px;
}
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); }

/* ---------- sections & cards ---------- */
.section { padding-block: 46px 8px; }
.section:last-of-type { padding-bottom: 60px; }

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  margin: 0 0 8px;
}
.section .section-intro { color: var(--ink-soft); max-width: 60ch; margin: 0 0 26px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 6px;
}

.grid {
  display: grid;
  gap: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: 2fr 1fr 1fr 1fr; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  font-size: 1.18rem;
}
.card p { margin: 0 0 12px; color: var(--ink-soft); }
.card p:last-child { margin-bottom: 0; }
.card img { border-radius: 10px; margin-bottom: 14px; }
.card .more { font-weight: 700; text-decoration: none; }
.card .more::after { content: " \2192"; }
.card .more:hover { text-decoration: underline; }

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-block: 30px 6px;
}

section[id], div[id], .prose h2 {
  scroll-margin-top: 96px;
}

.badge {
  background: var(--accent-soft);
  border: 1px solid #cfe4e1;
  color: var(--accent);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 700;
}
.badge.sun { background: var(--sun-soft); border-color: #ecd9ac; color: #8a6414; }

/* ---------- prose (articles & stories) ---------- */
.prose { max-width: 74ch; }
.prose p { margin: 0 0 1.05em; }
.prose h2, .prose h3 { font-family: var(--font-display); margin: 1.6em 0 0.5em; }
.prose h2 { font-size: 1.4rem; }
.prose h3 { font-size: 1.12rem; }
.prose ul { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose blockquote {
  margin: 1.2em 0;
  padding: 10px 22px;
  border-left: 4px solid var(--sun);
  background: var(--sun-soft);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #6d5a26;
}
.prose .figure-caption {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-top: -8px;
  margin-bottom: 1.4em;
}

.page-head { padding-block: 40px 8px; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2.3rem);
  line-height: 1.2;
  margin: 0 0 10px;
}
.page-head .byline {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0 0 18px;
}

figure.photo {
  margin: 22px 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
figure.photo img { border-radius: 8px; }
figure.photo figcaption { font-size: 0.86rem; color: var(--ink-soft); margin-top: 10px; }

.float-right { float: right; width: min(340px, 46%); margin: 6px 0 16px 22px; }
.float-left { float: left; width: min(300px, 42%); margin: 6px 22px 16px 0; }
@media (max-width: 640px) {
  .float-right, .float-left { float: none; width: 100%; margin: 10px 0; }
}

/* ---------- breadcrumb ---------- */
.breadcrumb-wrap { padding-top: 24px; }
.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: 0.87rem;
  color: var(--ink-soft);
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: #c9bda9; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink-soft); font-weight: 600; }

/* ---------- CTA ---------- */
.cta-box {
  background: linear-gradient(120deg, var(--accent) 0%, #2f8f84 100%);
  color: #f2faf9;
  border-radius: var(--radius);
  padding: 34px;
  margin-block: 40px 10px;
  box-shadow: var(--shadow);
}
.cta-box h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  color: #fff;
}
.cta-box p { margin: 0 0 6px; color: #d9ece9; }
.cta-box .btn { margin-top: 10px; }
.cta-box .btn-primary { background: #fff; color: var(--accent); }
.cta-box .btn-ghost { border-color: #bfe0dc; color: #fff; margin-left: 10px; }
.cta-box .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

address.nap {
  font-style: normal;
  line-height: 1.7;
}
address.nap a { color: #fff; font-weight: 600; }

/* ---------- info tables ---------- */
.pricing {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.96rem;
}
.pricing th, .pricing td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.pricing th { background: var(--sun-soft); font-family: var(--font-display); }
.pricing tr:last-child td { border-bottom: 0; }

.fineprint { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 60px;
  background: #2c2620;
  color: #cfc5b8;
  padding-block: 44px 26px;
  font-size: 0.94rem;
}
.site-footer .grid { gap: 34px; }
.site-footer h2 {
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #9d8f7e;
  margin: 0 0 12px;
  font-family: var(--font-body);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: #ead9c6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.8; color: #cfc5b8; }
.site-footer address a { color: #fff; font-weight: 600; }
.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #443b32;
  color: #9d8f7e;
  font-size: 0.84rem;
}
.footer-bottom p { margin: 4px 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    width: 100%;
  }
  .main-nav.open { display: block; }
  .main-nav .nav-list {
    flex-direction: column;
    gap: 2px;
    padding-block: 6px 14px;
  }
  .main-nav a { padding: 11px 14px; border-radius: 10px; }
  .nav-row { flex-wrap: wrap; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 36px 30px; }
  .cta-box { padding: 26px; }
  .cta-box .btn-ghost { margin-left: 0; margin-top: 10px; display: inline-block; }
  body { font-size: 16px; }
}