/* Zooish Mobile Petting Zoo — site styles
   White working sections alternate with deep-teal bands. A torn-paper
   edge marks each band change, echoing the white sticker outline around
   the logo. Colors are set once in :root below. */

/* ========== Colors, type and base styles ========== */

:root {
  --teal: #10403c;          /* "Zoo" lettering */
  --orange: #d4601c;        /* "ish" lettering */
  --orange-deep: #b24c12;
  --leaf: #2f6b57;          /* logo leaves */
  --hay: #f6ead7;           /* donkey muzzle cream */
  --bg: #ffffff;
  --surface: #f7f8f5;
  --fg: #1c2a28;
  --muted: #5a6b67;
  --line: #e2e7e2;
  --head: #10403c;
  --on-band: #f3f7f4;
  --on-band-muted: #b9cfc8;
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat Brush", "Comic Sans MS", cursive;
  --radius: 22px;
  --wrap: 1180px;
  --tear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 24V10l40 6 38-9 46 8 34-11 52 10 30-6 44 9 40-12 46 10 36-5 42 8 48-11 34 9 40-7 46 10 38-8 44 6 40-10 36 9 50-8 34 10 42-9 40 7 46-10 38 8 44-6 40 9 36-11 36 13V24z'/%3E%3C/svg%3E");
  color-scheme: light;
}
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

/* Base */
body {
  margin: 0;
  background: var(--bg); color: var(--fg);
  font-family: var(--body); font-size: 17px; line-height: 1.6;
}
*, *::before, *::after { box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
li { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 {
  font-family: var(--display); line-height: 1.05; margin: 0; padding: 0;
  text-wrap: balance; color: var(--head); text-transform: none; letter-spacing: 0;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; }
h3 { font-size: 1.45rem; font-weight: 700; }
.ish { color: var(--orange); }
.note {
  font-family: var(--hand); color: var(--orange);
  font-size: 1.5rem; line-height: 1.1; display: inline-block; transform: rotate(-2deg);
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--display); font-weight: 700; font-size: 1.1rem; line-height: 1.3;
  padding: .7em 1.4em .6em; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
a.btn-primary, button.btn-primary { background: var(--orange); color: #fff; }
a.btn-primary:hover, button.btn-primary:hover { background: var(--orange-deep); color: #fff; }
a.btn-ghost { border-color: var(--head); color: var(--head); background: transparent; }
.band a.btn-ghost { border-color: var(--on-band); color: var(--on-band); }

/* Teal bands with torn-paper edges */
.band { background: var(--teal); color: var(--on-band); position: relative; }
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px; z-index: 1;
  background: var(--teal); -webkit-mask: var(--tear) center / 100% 100%; mask: var(--tear) center / 100% 100%;
}
.band::before { top: -17px; }
.band::after { bottom: -17px; transform: scaleY(-1); }
.band h2, .band h3 { color: var(--on-band); }
.band .lede { color: var(--on-band-muted); }

/* Section rhythm */
.section { padding-block: 96px; }
.section-alt { background: var(--surface); }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }

@media (max-width: 560px) {
  .section { padding-block: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ========== Hero ========== */
.hero { padding-block: 48px 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 span { display: block; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.hero-tags span::before { content: "✓"; color: var(--leaf); margin-right: 6px; font-weight: 800; }
.hero-art { position: relative; }
.hero-art img { width: 100%; max-width: 540px; margin-inline: auto; animation: zooish-peek .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-art .note { position: absolute; left: 2%; bottom: 6%; }
@keyframes zooish-peek { from { transform: translateY(24px); } to { transform: none; } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 380px; }
}

/* ========== Trust strip ========== */
.trust { padding-block: 30px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: grid; gap: 2px; }
.trust-item b { font-family: var(--display); font-size: 1.35rem; line-height: 1.1; color: var(--on-band); }
.trust-item span { color: var(--on-band-muted); font-size: .95rem; }

@media (max-width: 980px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ========== Meet the herd ========== */
.herd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.critter { display: grid; grid-template-rows: auto 1fr; gap: 18px; min-width: 0; }
.critter-photo {
  aspect-ratio: 1 / 1; max-width: 100%; border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
  background: var(--hay); overflow: hidden; display: flex; align-items: flex-end; justify-content: center;
  transition: transform .25s ease;
}
.critter:hover .critter-photo { transform: rotate(-2deg) scale(1.02); }
.critter-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.critter-body { display: grid; gap: 8px; align-content: start; }
.species { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--orange); }
.facts { margin-top: 6px; display: grid; gap: 4px; font-size: .95rem; color: var(--muted); }
.facts b { color: var(--fg); font-weight: 700; }

.supporting { margin-top: 48px; padding-top: 32px; border-top: 2px dashed var(--line); display: grid; grid-template-columns: auto 1fr; gap: 20px 32px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--bg); border: 1.5px solid var(--line); padding: .35em .9em; border-radius: 999px; font-weight: 600; font-size: .95rem; }

@media (max-width: 980px) {
  .supporting { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .herd-grid { grid-template-columns: 1fr; max-width: 440px; }
}

/* ========== Packages ========== */
.packages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pkg {
  background: var(--bg); color: var(--fg); border-radius: var(--radius);
  padding: 30px 26px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 14px; min-width: 0;
}
.band .pkg h3 { color: var(--head); }
.pkg .for { color: var(--muted); font-size: .95rem; }
.price { font-family: var(--display); font-weight: 800; font-size: 2.6rem; color: var(--head); line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--body); font-size: .95rem; font-weight: 600; color: var(--muted); }
.pkg ul { display: grid; gap: 8px; align-content: start; }
.pkg li { padding-left: 26px; position: relative; }
.pkg li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--leaf); }
.pkg .btn { width: 100%; }
.band .pkg a.btn-ghost { border-color: var(--head); color: var(--head); }
.pkg-featured { outline: 4px solid var(--orange); position: relative; }
.pkg-featured .tag {
  position: absolute; top: -16px; right: 22px; background: var(--orange); color: #fff;
  font-family: var(--hand); font-size: 1.25rem; padding: 2px 14px; border-radius: 10px; transform: rotate(3deg);
}
.addons { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--on-band-muted); }
.addons b { color: var(--on-band); }

@media (max-width: 980px) {
  .packages-grid { grid-template-columns: 1fr; max-width: 560px; }
}

/* ========== Event types ========== */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.event { display: grid; gap: 8px; align-content: start; min-width: 0; }
.event-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--hay); }
.event-icon svg { width: 30px; height: 30px; stroke: var(--head); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.event p { color: var(--muted); }

@media (max-width: 980px) {
  .events-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .events-grid { grid-template-columns: 1fr; }
}

/* ========== How a visit goes ========== */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: zooish-step; }
.timeline li { display: grid; gap: 8px; align-content: start; min-width: 0; position: relative; padding: 58px 0 0; }
.timeline li::before {
  counter-increment: zooish-step; content: counter(zooish-step);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--orange); color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem;
}
.timeline li:not(:last-child)::after {
  content: ""; position: absolute; top: 21px; left: 54px; right: -10px; border-top: 2px dashed var(--line);
}
.timeline .when { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--leaf); }
.timeline p { color: var(--muted); font-size: .97rem; }

@media (max-width: 980px) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 0 0 0 62px; }
  .timeline li:not(:last-child)::after { top: 50px; left: 21px; right: auto; bottom: -14px; border-top: 0; border-left: 2px dashed var(--line); }
}

/* ========== What we need + How we keep it safe ========== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two-col > div { min-width: 0; display: grid; gap: 18px; align-content: start; }
.spec { display: grid; grid-template-columns: 9.5em 1fr; border-top: 1px solid var(--line); margin: 0; }
.spec dt, .spec dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-weight: 700; }
.spec dd { color: var(--muted); }
.checks { display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.checks li::before {
  content: "✓"; width: 28px; height: 28px; border-radius: 50%; background: var(--leaf); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .9rem;
}

@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .spec { grid-template-columns: 1fr; }
  .spec dt { padding-bottom: 0; border-bottom: 0; }
}

/* ========== Reviews ========== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { margin: 0; padding: 0; border: 0; display: grid; gap: 14px; align-content: start; min-width: 0; }
.quote p { font-size: 1.1rem; }
.quote cite { font-style: normal; font-weight: 700; color: var(--on-band-muted); font-size: .95rem; }
.quote .placeholder { font-family: var(--hand); color: var(--orange); font-size: 1.1rem; }

@media (max-width: 980px) {
  .quotes { grid-template-columns: 1fr; max-width: 560px; }
}

/* ========== FAQ ========== */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1.5px solid var(--line); border-radius: 16px; background: var(--bg); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--head);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; color: var(--orange); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); max-width: 70ch; }

/* ========== Check your date / booking form ========== */
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.book-info { display: grid; gap: 20px; min-width: 0; }
.contact-lines { display: grid; gap: 6px; font-weight: 600; }
.contact-lines span { color: var(--on-band-muted); font-weight: 400; }
.book-form {
  background: var(--bg); color: var(--fg); border-radius: var(--radius); padding: 30px; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-width: 0;
}
.book-form .field { display: grid; gap: 6px; min-width: 0; margin: 0; }
.book-form .field.full { grid-column: 1 / -1; }
.book-form .field label { font-weight: 700; font-size: .92rem; color: var(--fg); }
.book-form .field input, .book-form .field select, .book-form .field textarea {
  font: inherit; font-size: 1rem; color: var(--fg); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; width: 100%; margin: 0;
  min-height: 46px; box-shadow: none;
}
.book-form .field textarea { min-height: 96px; resize: vertical; }
.book-form .field input:focus, .book-form .field select:focus, .book-form .field textarea:focus { outline: none; border-color: var(--orange); }
.book-form .btn { grid-column: 1 / -1; }
.form-msg { grid-column: 1 / -1; background: var(--hay); border-radius: 12px; padding: 14px 16px; font-weight: 600; }

@media (max-width: 980px) {
  .book-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .book-form { grid-template-columns: 1fr; padding: 22px; }
}

/* ========== Footer ========== */
.site-footer { padding-block: 72px 40px; }
.foot-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.foot-grid img { width: 120px; }
.foot-grid p { color: var(--muted); max-width: 46ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; font-weight: 600; }
.foot-links a { text-decoration: none; }
.copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

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

/* ========== Header ========== */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.site-header {
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; position: relative; }
.brand img { width: 74px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--fg); }
.nav-links a:not(.btn):hover { color: var(--orange); }
.nav-links .btn { font-size: 1rem; padding: .55em 1.2em .45em; }
.nav-toggle {
  display: none; font-family: var(--display); font-weight: 700; font-size: 1rem;
  background: var(--teal); color: var(--on-band); border: 0; border-radius: 999px; padding: .5em 1.1em .4em;
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 4px; background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px));
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 10px 0; }
}

/* Spam trap: hidden from people, bots fill it in */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-form { position: relative; }
.book-form .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
