/* Main-site chrome + desktop layout for the dog guides. They reuse the booking
   app's stylesheet (/book/styles.css) for the content cards, so this file adds
   the marketing site's header nav / footer nav and widens the phone column on
   larger screens. */

/* ---------- main-site header ---------- */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 6px;
  position: relative;
  z-index: 1;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.logo-badge {
  width: 46px; height: 46px;
  background: var(--terra);
  border-radius: 15px;
  display: grid; place-items: center;
  font-size: 24px;
  box-shadow: var(--shadow);
  transform: rotate(-6deg);
}
.logo-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.05;
}
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 22px;
}
.nav > a {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--ink);
  text-decoration: none;
  transition: color .15s;
}
.nav > a:hover { color: var(--terra-deep); }
.nav > a.active { color: var(--terra-deep); border-bottom: 2.5px solid var(--terra); padding-bottom: 2px; }
.top-cta {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  color: var(--terra-deep);
  border: 2px solid var(--terra);
  border-radius: 999px;
  padding: 8px 18px;
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.top-cta:hover { background: var(--terra); color: #fff; }

/* ---------- main-site footer nav ---------- */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-bottom: 14px;
}
.footer-nav a {
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--ink);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--terra-deep); }

@media (max-width: 719px) {
  .top { flex-direction: column; gap: 12px; }
  .nav { justify-content: center; gap: 8px 16px; width: 100%; }
}

/* Page heading: a plain emoji + title (like the marketing pages) instead of the
   app's logo-style badge lockup — the real logo lives in the header nav above. */
.hero .page-emoji {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 10px;
}

/* Desktop: the app stylesheet pins the page to a 480px phone column. Widen the
   page to the marketing site's 1080px container so the header/footer line up
   with the rest of the site, and keep just the article column at a
   comfortable reading width. */

@media (min-width: 720px) {
  body {
    /* same box as the marketing pages' .wrap: 1080px including 22px padding */
    max-width: 1080px;
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero,
  main.card-stack {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
  }
  .card {
    padding: 26px 32px;
  }
  .hero {
    padding-top: 48px;
  }
}

@media (min-width: 1100px) {
  .hero,
  main.card-stack {
    max-width: 880px;
  }
}
