/* Kelsey's Dog Grooming — base styles */

:root {
  --ink: #23201d;
  --ink-soft: #5c554e;
  --cream: #fbf7f2;
  --card: #ffffff;
  --line: #e8ded2;
  --brand: #2f6f5e;
  --brand-dark: #245647;
  --accent: #e0a458;
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 .5em;
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 600;
}

p { margin: 0 0 1em; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(251, 247, 242, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.brand em { font-style: normal; color: var(--brand); }

.site-header nav {
  display: flex;
  gap: 22px;
  font-size: .95rem;
}
.site-header nav a {
  color: var(--ink-soft);
  text-decoration: none;
}
.site-header nav a:hover { color: var(--brand); }

.site-header nav a.nav-book {
  color: var(--brand-dark);
  font-weight: 600;
  border: 1.5px solid var(--brand);
  border-radius: 999px;
  padding: 4px 14px;
}
.site-header nav a.nav-book:hover {
  background: var(--brand);
  color: #fff;
}

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

.hero {
  background:
    radial-gradient(900px 380px at 12% -12%, #dcece6 0%, transparent 65%),
    radial-gradient(700px 340px at 92% 0%, #f6e6cf 0%, transparent 60%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  padding-block: clamp(56px, 10vw, 104px);
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 1em;
}

.hero h1 { font-size: clamp(2.1rem, 6vw, 3.3rem); }

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-inline: auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .12s ease, background-color .12s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }

.btn-ghost {
  border-color: var(--brand);
  color: var(--brand-dark);
}
.btn-ghost:hover { background: rgba(47, 111, 94, .08); }

/* ---------- sections ---------- */

.section { padding-block: clamp(48px, 8vw, 84px); }
.section-alt { background: #fff; border-block: 1px solid var(--line); }

.section h2 { font-size: clamp(1.6rem, 3.6vw, 2.1rem); }

.section-sub {
  color: var(--ink-soft);
  max-width: 60ch;
  margin-bottom: 2em;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 6px;
}
.card h3 { font-size: 1.12rem; color: var(--brand-dark); }
.card p { color: var(--ink-soft); font-size: .98rem; }

.about-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.35fr 1fr;
  align-items: start;
}

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  overflow: hidden;
}
.facts li {
  display: block;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.facts li:last-child { border-bottom: 0; }
.facts strong {
  display: block;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
}
.facts span { color: var(--ink-soft); font-size: .97rem; }

.contact { text-align: center; }
.contact .section-sub { margin-inline: auto; }
.contact-line { margin: 26px 0 10px; word-break: break-word; }
.contact-alt {
  color: var(--ink-soft);
  font-size: .97rem;
  margin-bottom: 14px;
  word-break: break-word;
}
.muted { color: var(--ink-soft); font-size: .92rem; }

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

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding-block: 26px;
  font-size: .92rem;
  color: var(--ink-soft);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
.site-footer p { margin: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
