/* ==========================================================================
   Waggin' Tails Doggy Daycare - Modern Design System
   ========================================================================== */

:root {
  /* Palette — warm, dog-friendly neutrals + forest green + amber */
  --forest: #24533a;
  --forest-dark: #183a28;
  --forest-deep: #102b1c;
  --amber: #e8a33d;
  --amber-soft: #f6d9a5;
  --cream: #f7f2ea;
  --card: #ffffff;
  --ink: #33302c;
  --ink-soft: #5b564e;
  --muted: #8a8379;
  --line: #e6ddd0;
  --accent-soft: #eef5f0;
  --danger: #b23a2e;
  --shadow-sm: 0 1px 3px rgba(30, 20, 10, 0.08);
  --shadow-md: 0 8px 24px rgba(30, 20, 10, 0.12);
  --radius: 14px;
  --radius-sm: 9px;
  --content-max: 1140px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 16.5px;
}

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

a { color: var(--forest); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
h3 { font-size: 1.15rem; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--forest);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--forest);
  font-size: 1.15rem;
  line-height: 1.1;
}
.brand small { display: block; font-size: 0.72rem; font-weight: 600; color: var(--muted); letter-spacing: 0.4px; }
.brand .paw { font-size: 1.5rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--forest);
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
}
.site-nav a:hover { background: var(--accent-soft); text-decoration: none; }
.site-nav a.active { color: var(--forest); background: var(--accent-soft); }
.site-nav .nav-cta {
  background: var(--amber);
  color: var(--forest-deep);
  font-weight: 800;
  margin-left: 8px;
}
.site-nav .nav-cta:hover { background: var(--amber-soft); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(115deg, var(--forest-dark) 0%, var(--forest) 55%, #2e7a5b 100%);
  color: #fff;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(232,163,61,0.25), transparent 28%),
    radial-gradient(circle at 20% 85%, rgba(255,255,255,0.08), transparent 35%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; gap: 28px; align-items: center; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.18rem; color: rgba(255,255,255,0.92); max-width: 60ch; }
.hero p.tagline { font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--amber); font-size: 0.85rem; margin: 0 0 8px; }
.hero .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero .hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; color: rgba(255,255,255,0.85); font-weight: 600; font-size: 0.95rem; }
.hero-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hero-photos img { border-radius: var(--radius); box-shadow: var(--shadow-md); object-fit: cover; }
.hero-photos img:first-child { grid-column: 1 / -1; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--amber);
  color: var(--forest-deep);
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-dark); }

/* ===== Breadcrumb ===== */
.breadcrumb { font-size: 0.86rem; color: var(--muted); margin: 18px 0 6px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb li[aria-current="page"] { color: var(--forest); font-weight: 600; }

/* ===== Page layout ===== */
.page { padding: 8px 0 30px; }
.page-head { margin: 8px 0 26px; }
.page-head h1 { margin: 6px 0 6px; }
.page-head p.lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 70ch; }

.two-col {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 30px;
  align-items: start;
}
.article-body p { max-width: 78ch; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li { margin: 7px 0; }
.article-body img.photo { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 18px 0; }

/* Sidebar card */
.sidebar { position: sticky; top: 92px; display: grid; gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; }
.contact-card .cta-row { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
.contact-card .cta-row .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; color: var(--forest); font-size: 1.05rem; }
.contact-card a.fn { font-weight: 800; color: var(--forest); font-size: 1.15rem; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list strong { color: var(--ink); }

/* ===== Sections / callouts ===== */
.callout {
  background: var(--accent-soft);
  border-left: 5px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 22px 0;
}
.callout p { margin: 6px 0; }
.note {
  background: #fdecea;
  border: 1px solid #f5c6c0;
  color: var(--danger);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 18px 0;
}

/* Feature / info grid */
.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: repeat(4, 1fr); }
.grid .card h3 { color: var(--forest); }

/* Feature cards with icon */
.feature .ic { font-size: 1.8rem; }

/* ===== Service / article cards ===== */
.service-card, .guide-card { display: flex; flex-direction: column; }
.service-card img, .guide-card img { border-radius: var(--radius-sm); margin-bottom: 14px; }
.service-card .btn, .guide-card .btn { align-self: flex-start; margin-top: auto; }

/* ===== Tables (prices) ===== */
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.data caption { text-align: left; font-weight: 800; font-size: 1.05rem; padding: 6px 0 10px; color: var(--ink); }
table.data th, table.data td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.data thead th { background: var(--forest); color: #fff; font-weight: 700; }
table.data tbody tr:nth-child(even) { background: #faf5ec; }
table.data tbody tr:last-child td { border-bottom: 0; }

/* Price cards */
.price-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.price { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-sm); }
.price .ph { background: var(--forest); color: #fff; padding: 16px 18px; font-weight: 800; }
.price .pb { padding: 18px; }
.price ul { margin: 0; padding-left: 20px; }
.price .amt { font-size: 1.35rem; font-weight: 800; color: var(--amber); }

/* ===== Staff ===== */
.staff { display: grid; gap: 22px; }
.staff-item { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.staff-item .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; font-weight: 800; color: var(--forest); font-size: 1.3rem; }
.staff-item h3 { margin: 0 0 2px; }
.staff-item .role { color: var(--muted); font-weight: 600; font-size: 0.9rem; margin: 0 0 8px; }

/* ===== Accordion (FAQ) ===== */
details.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); padding: 0; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
details.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--forest);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--amber); }
details.faq[open] summary::after { content: "–"; }
details.faq .body { padding: 0 18px 18px; }

/* ===== Testimonials / quotes ===== */
.quote { border-left: 4px solid var(--amber); background: var(--card); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 14px 0; box-shadow: var(--shadow-sm); }
.quote .attr { display: block; margin-top: 8px; font-weight: 800; color: var(--forest); }
.quote-list { margin: 0; }

/* ===== CTA band ===== */
.cta-band { background: var(--forest); color: #fff; padding: 40px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: rgba(255,255,255,0.9); }

/* ===== Footer ===== */
.site-footer { background: var(--forest-deep); color: rgba(255,255,255,0.82); margin-top: 40px; }
.footer-grid { max-width: var(--content-max); margin: 0 auto; padding: 44px 20px 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding-top: 14px; padding-bottom: 18px; font-size: 0.86rem; color: rgba(255,255,255,0.6); }

/* ===== Forms ===== */
form.reservation { display: grid; gap: 0; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--card);
  color: var(--ink);
}
.form-group textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0 0 18px; background: var(--card); }
legend { font-weight: 800; color: var(--forest); padding: 0 8px; }

/* Form submission notice */
.submit-note { font-size: 0.9rem; }

/* ===== Free Day Coupon (freedaycoupon.html) ===== */
.coupon-sheet {
  max-width: 560px;
  margin: 30px auto;
  background: var(--card);
  border: 3px dashed var(--amber);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.coupon-sheet h1 { color: var(--forest); }
.coupon-sheet p { max-width: 46ch; margin: 12px auto; }
.coupon-code {
  display: inline-block;
  background: var(--amber-soft);
  color: var(--forest-dark);
  font-weight: 800;
  letter-spacing: 2px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 1.2rem;
}
.coupon-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; flex-wrap: wrap; }
.coupon-actions .btn-outline { color: var(--forest); border-color: var(--forest); }
.coupon-actions .btn-outline:hover { background: var(--accent-soft); }

/* ===== Misc ===== */
.tag { display: inline-block; background: var(--amber-soft); color: var(--forest-dark); font-size: 0.8rem; font-weight: 700; border-radius: 999px; padding: 4px 11px; margin: 0 6px 6px 0; }
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; padding: 12px 20px; gap: 2px; }
  .site-nav li { width: 100%; }
  .site-nav a { padding: 12px 8px; }
  .site-nav .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .two-col, .hero .container { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .hero-photos { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
}
