/* ============================================================
   Peyton's Pet Care — editorial redesign
   Serif display (Fraunces) + clean sans (Inter).
   Warm forest / clay / paper palette. Hairline borders, minimal shadow.
   ============================================================ */
:root {
  --ink: #23261f;
  --ink-soft: #44483d;
  --forest: #2f4a3a;
  --forest-deep: #223829;
  --clay: #a9613b;
  --clay-deep: #8a4e2e;
  --paper: #f5f1e8;
  --sand: #efe9db;
  --card: #fffdf8;
  --line: #e2dbca;
  --line-strong: #cbc3ad;
  --muted: #6f6b5c;
  --r: 10px;
  --rb: 7px;
  --maxw: 1120px;
  --shadow: 0 1px 2px rgba(35, 38, 31, .04);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Fraunces', Georgia, 'Times New Roman', serif; font-optical-sizing: auto; font-weight: 500; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
img { max-width: 100%; display: block; }
a { color: var(--clay-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.container.narrow { max-width: 760px; }

.label { display: inline-block; font-family: 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 600; color: var(--clay-deep); margin-bottom: 18px; }
.muted-p { color: var(--muted); }

/* ---------- Header ---------- */
header { background: rgba(245, 241, 232, .88); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 100; }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 18px 26px; max-width: var(--maxw); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-family: 'Fraunces', serif; font-size: 1.32rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 26px; height: 26px; color: var(--forest); flex: 0 0 auto; }
nav.links { display: flex; gap: 4px; align-items: center; }
nav.links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; padding: 8px 14px; font-size: .96rem; border-radius: var(--rb); transition: color .15s, background .15s; }
nav.links a:hover { color: var(--ink); background: rgba(35,38,31,.05); text-decoration: none; }
nav.links a.active { color: var(--forest); }
nav.links a.cta { background: var(--forest); color: #fff; padding: 9px 18px; }
nav.links a.cta:hover { background: var(--forest-deep); color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; padding: 13px 26px; border-radius: var(--rb); border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .05s; line-height: 1.2; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-deep); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); background: rgba(35,38,31,.03); }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .92rem; }

/* ---------- Hero ---------- */
.hero { padding: 96px 26px 70px; text-align: center; border-bottom: 1px solid var(--line); }
.hero .inner { max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.1rem); font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--forest); }
.hero p.sub { margin: 26px auto 0; max-width: 600px; font-size: 1.18rem; color: var(--ink-soft); }
.hero .btn-row { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .facts { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; gap: 10px 30px; justify-content: center; flex-wrap: wrap; font-size: .92rem; color: var(--muted); font-weight: 500; }
.hero .facts span { position: relative; }
.hero-sm { padding: 72px 26px 44px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 500; }
.section-title em { font-style: italic; color: var(--forest); }
.highlight { color: var(--forest); font-style: italic; }
.section-sub { margin-top: 14px; font-size: 1.08rem; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.about .lede { font-size: 1.3rem; line-height: 1.5; color: var(--ink); font-family: 'Fraunces', serif; font-weight: 400; margin-bottom: 20px; }
.about p { color: var(--ink-soft); margin-bottom: 14px; }
.about-aside { border: 1px solid var(--line); border-radius: var(--r); padding: 30px 32px; background: var(--card); }
.about-aside h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 18px; }
.about-aside dl { display: grid; gap: 14px; }
.about-aside dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; font-family: 'Inter', sans-serif; }
.about-aside dd { color: var(--ink); font-weight: 500; margin-top: 2px; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.service { padding: 34px 34px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.service:nth-child(2n) { border-right: none; }
.service:nth-last-child(-n+2) { border-bottom: none; }
.service .ic { width: 30px; height: 30px; color: var(--forest); margin-bottom: 16px; }
.service h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: .98rem; margin-bottom: 14px; }
.service .price { font-family: 'Fraunces', serif; font-size: 1.05rem; color: var(--clay-deep); font-weight: 500; font-style: italic; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .n { font-family: 'Fraunces', serif; font-size: 2.4rem; color: var(--clay); font-weight: 400; line-height: 1; display: block; margin-bottom: 14px; }
.step h4 { font-size: 1.2rem; font-weight: 500; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.review { border-left: 2px solid var(--clay); padding: 6px 0 6px 24px; }
.review .stars { color: var(--clay); font-size: .95rem; letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-family: 'Fraunces', serif; font-size: 1.15rem; font-style: italic; line-height: 1.5; color: var(--ink); }
.review .who { margin-top: 16px; font-weight: 600; font-size: .95rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; font-family: 'Fraunces', serif; color: var(--ink); font-size: 1.2rem; padding: 22px 40px 22px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 28px; width: 10px; height: 10px; border-right: 2px solid var(--clay); border-bottom: 2px solid var(--clay); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 24px; color: var(--muted); font-size: 1.02rem; max-width: 640px; }

/* ---------- Service area ---------- */
.area { text-align: center; max-width: 720px; margin: 0 auto; }
.area p { color: var(--ink-soft); font-size: 1.1rem; }
.area .places { margin-top: 20px; font-family: 'Fraunces', serif; font-style: italic; color: var(--forest); font-size: 1.15rem; }

/* ---------- Rates ---------- */
.rate-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.rate-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--card); }
.rate-card .rate-head { padding: 24px 30px; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; }
.rate-card .rate-head h3 { font-size: 1.4rem; font-weight: 500; }
.rate-card .rate-head span { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: 'Inter', sans-serif; }
.rate-card table { width: 100%; border-collapse: collapse; }
.rate-card td, .rate-card th { padding: 15px 30px; text-align: left; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
.rate-card tr:last-child td { border-bottom: none; }
.rate-card th { color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.rate-card td.price { font-family: 'Fraunces', serif; font-weight: 500; color: var(--forest); font-size: 1.2rem; text-align: right; }
.rate-note { padding: 18px 30px 22px; font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); }
.info-strip { margin-top: 40px; border: 1px solid var(--line); border-left: 3px solid var(--clay); border-radius: var(--r); padding: 24px 30px; font-size: 1.02rem; color: var(--ink-soft); background: var(--card); }
.info-strip strong { color: var(--ink); }
.addons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 8px; }
.addon { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; background: var(--card); }
.addon h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 6px; }
.addon p { font-size: .94rem; color: var(--muted); }

/* ---------- Site tour ---------- */
.tour { max-width: 740px; margin: 0 auto; }
.tour-step { display: flex; gap: 26px; align-items: flex-start; padding: 0 0 34px; }
.tour-step:last-child { padding-bottom: 0; }
.tour-num { flex: 0 0 auto; font-family: 'Fraunces', serif; font-size: 1.8rem; color: var(--clay); width: 44px; line-height: 1.1; }
.tour-body h3 { font-size: 1.3rem; font-weight: 500; margin-bottom: 6px; }
.tour-body p { color: var(--muted); }

/* ---------- CTA band ---------- */
.band { background: var(--forest); color: #f3efe5; text-align: center; padding: 80px 26px; }
.band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 500; margin-bottom: 14px; }
.band h2 em { font-style: italic; }
.band p { max-width: 540px; margin: 0 auto 28px; font-size: 1.1rem; opacity: .88; }
.band .phone { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 5vw, 2.4rem); color: #fff; text-decoration: none; display: inline-block; }
.band .phone:hover { text-decoration: none; opacity: .85; }
.band .small { font-size: .9rem; opacity: .7; margin-top: 6px; }

/* ---------- Footer ---------- */
footer { background: var(--forest-deep); color: #b9c4b6; padding: 48px 26px; font-size: .92rem; }
footer .frow { max-width: var(--maxw); margin: 0 auto; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
footer .fbrand { font-family: 'Fraunces', serif; color: #fff; font-size: 1.15rem; }
footer .flinks { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
footer .flinks a { color: #b9c4b6; font-weight: 500; }
footer .flinks a:hover { color: #fff; text-decoration: none; }
footer .fine { opacity: .6; font-size: .85rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 34px; max-width: 720px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; color: var(--ink); font-size: .9rem; display: block; margin-bottom: 7px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--rb); font-family: 'Inter', sans-serif; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(47,74,58,.12); }
textarea { resize: vertical; min-height: 92px; }
.field { margin-bottom: 2px; }

/* segmented toggle (email / phone) */
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--rb); overflow: hidden; margin-bottom: 20px; }
.seg button { background: transparent; border: none; padding: 9px 20px; font-family: 'Inter', sans-serif; font-weight: 600; font-size: .92rem; color: var(--muted); cursor: pointer; }
.seg button.active { background: var(--forest); color: #fff; }

/* tabs */
.tabs { display: flex; gap: 0; justify-content: center; margin-bottom: 36px; border: 1px solid var(--line-strong); border-radius: var(--rb); overflow: hidden; max-width: 420px; margin-left: auto; margin-right: auto; }
.tab-btn { flex: 1; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 1rem; padding: 13px 20px; border: none; background: transparent; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.tab-btn.active { background: var(--forest); color: #fff; }
.panel { display: none; }
.panel.active { display: block; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 8px; }
.slot { padding: 11px 6px; border: 1px solid var(--line-strong); border-radius: var(--rb); background: #fff; color: var(--ink); font-weight: 500; font-size: .95rem; cursor: pointer; text-align: center; transition: all .12s; font-family: 'Inter', sans-serif; }
.slot:hover { border-color: var(--forest); }
.slot.selected { background: var(--forest); color: #fff; border-color: var(--forest); }
.slot.taken { opacity: .45; text-decoration: line-through; cursor: not-allowed; border-color: var(--line); color: var(--muted); }
.slot:disabled { cursor: not-allowed; }
.sleep-note { margin-top: 12px; font-size: .9rem; color: var(--muted); border-left: 2px solid var(--line-strong); padding-left: 12px; }
.est-line { margin-top: 22px; font-family: 'Fraunces', serif; font-size: 1.15rem; color: var(--forest); text-align: center; border: 1px solid var(--line); border-radius: var(--rb); padding: 14px; background: var(--sand); }
.submit-row { margin-top: 22px; text-align: center; }
.submit-row .btn { width: 100%; max-width: 440px; }
.after-submit { display: none; margin-top: 20px; border: 1px solid var(--line); border-radius: var(--rb); padding: 18px 20px; font-size: .96rem; background: var(--sand); }
.after-submit.show { display: block; }
.after-submit textarea { margin-top: 10px; font-size: .9rem; min-height: 130px; }
.copy-btn { margin-top: 10px; }
.notice-row { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.notice { border: 1px solid var(--line); border-radius: var(--rb); padding: 9px 16px; font-weight: 500; font-size: .9rem; color: var(--ink-soft); background: var(--card); }

/* ---------- Account / bookings / admin ---------- */
.form-msg { margin-top: 14px; font-weight: 600; font-size: .95rem; text-align: center; min-height: 1em; }
.form-msg.err, .form-msg.ok { padding: 12px 16px; border-radius: var(--rb); border: 1px solid; }
.form-msg.err { color: #8a2b20; background: #f7e4e0; border-color: #e6b9b0; }
.form-msg.ok { color: var(--forest); background: #e2ece4; border-color: #c4d6c8; }
.acct-note { max-width: 720px; margin: 0 auto 26px; border: 1px solid var(--line); border-left: 3px solid var(--clay); border-radius: var(--rb); padding: 13px 18px; font-weight: 500; font-size: .95rem; color: var(--ink-soft); background: var(--card); text-align: center; opacity: 0; transition: opacity .2s; }
.acct-note.in { opacity: 1; }
.booking-item, .admin-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; margin-bottom: 14px; }
.bi-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bi-top strong { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.1rem; }
.bi-when { margin-top: 4px; font-weight: 600; }
.bi-loc { margin-top: 4px; font-size: .92rem; color: var(--muted); }
.bi-reviewed { margin-top: 10px; font-weight: 600; color: var(--forest); font-size: .92rem; }
.pill { font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; padding: 4px 11px; border-radius: 999px; background: var(--sand); color: var(--ink-soft); border: 1px solid var(--line); }
.pill.gold { background: #f3ead2; color: var(--clay-deep); border-color: #e6d7b4; }
.pill.teal { background: #dbe7de; color: var(--forest); border-color: #c4d6c8; }
.pill.navy { background: #e0e2dc; color: var(--ink); }
.pill.pink { background: #efdfd6; color: var(--clay-deep); }
.review-form { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.review-form select, .review-form textarea { margin-bottom: 8px; }
.review-form textarea { min-height: 70px; }
.admin-h { font-size: 1.4rem; font-weight: 500; margin: 34px 0 16px; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.admin-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.chips-box { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips-box .chip { background: var(--sand); border: 1px solid var(--line); color: var(--ink); font-weight: 500; padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
.chips-box .muted-p { flex-basis: 100%; margin-bottom: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about, .rate-tables, .form-grid { grid-template-columns: 1fr; gap: 34px; }
  .services { grid-template-columns: 1fr; }
  .service { border-right: none; }
  .service:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  nav.links { position: fixed; top: 0; right: 0; bottom: 0; height: 100vh; width: min(80vw, 300px); background: var(--paper); border-left: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 84px 22px 22px; gap: 4px; transform: translateX(100%); transition: transform .28s ease; box-shadow: -12px 0 40px rgba(35,38,31,.14); z-index: 90; overflow-y: auto; }
  nav.links.open { transform: translateX(0); }
  nav.links a { padding: 13px 16px; font-size: 1.05rem; }
  nav.links a.cta { text-align: center; margin-top: 8px; }
  body.nav-open { overflow: hidden; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(35,38,31,.4); opacity: 0; pointer-events: none; transition: opacity .28s; z-index: 80; }
  .nav-scrim.show { opacity: 1; pointer-events: auto; }
  section { padding: 60px 0; }
  .hero { padding: 64px 22px 50px; }
}
