/* Farm Adventures — kid-friendly palette & readable type */
:root {
  --cream: #fffbf3;
  --sky: #e8f4fc;
  --grass: #7cbf6e;
  --grass-dark: #5a9e4d;
  --sunshine: #ffd966;
  --barn: #c94c4c;
  --brown: #5c4033;
  --text: #2d2a26;
  --muted: #5e574d;
  --forest: #3a7031;
  --radius: 1.25rem;
  --shadow: 0 0.35rem 0 rgba(0, 0, 0, 0.06);
  --home-hero-shift: calc(-1 * 0.25in); /* nudge left from column start (+¼" right from prior) */
  --page-logo-pull-up: 4.05rem; /* negative margin — larger = logo sits higher */
  --header-blue-line-drop: 0.4rem; /* push full-width rule below header-inner edge */
  --content-max: 72rem;
  --page-pad: 1.25rem;
  --logo-col-width: clamp(11rem, 19vw, 16.5rem);
  --layer3-blue: #0197ef;
  /* Matches layer3 ring stroke (RING_STROKE 20 @ 1024px) scaled with on-screen logo width */
  --layer3-ring-screen: clamp(
    3px,
    calc(20 * var(--logo-col-width) / 1024),
    6px
  );
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: var(--grass-dark);
}

a:focus-visible {
  outline: 3px solid var(--sunshine);
  outline-offset: 2px;
}

button.inline-text-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--grass-dark);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
  vertical-align: baseline;
}

button.inline-text-link:hover {
  color: var(--forest);
}

button.inline-text-link:focus-visible {
  outline: 3px solid var(--sunshine);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--barn);
  color: #fff;
  border-radius: 0.5rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fef8ee;
  background-image: linear-gradient(180deg, #fff 0%, #fef8ee 100%);
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
  z-index: 0;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(180deg, #fff 0%, #fef8ee 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.header-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-1 * var(--header-blue-line-drop));
  transform: translateX(-50%);
  width: 100vw;
  height: var(--layer3-ring-screen);
  background: var(--layer3-blue);
  z-index: 1;
  pointer-events: none;
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--brown);
  font-family: "Fredoka", sans-serif;
  font-size: 1.625rem;
  font-weight: 600;
}

.brand > span {
  position: relative;
  top: 0;
}

.site-header--home .brand--home-logo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header--home {
  overflow: visible;
}

.site-header--home .header-inner {
  justify-content: stretch;
}

.site-header--home .header-home-grid {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, #fff 0%, #fef8ee 100%);
}

.header-home-grid {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  display: grid;
  align-items: center;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 64rem) {
  .header-home-grid {
    grid-template-columns: minmax(11rem, 17rem) minmax(0, 1fr);
    column-gap: 2rem;
    position: relative;
    z-index: 2;
  }

  .header-home-grid::before {
    content: "";
    grid-column: 1;
    grid-row: 1;
  }

  .nav--home-hero {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    justify-content: flex-end;
    transform: none;
  }
}

/* Inner pages: nav + blue rule in header; logo in main (same size/position as homepage hero) */
.site-header--inner {
  overflow: visible;
}

/* Same header padding + nav row height as homepage (no extra min-height) */
.site-header--inner .header-inner {
  justify-content: stretch;
}

.page-logo-slot {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 -0.5rem;
  line-height: 0;
  pointer-events: none;
}

.page-logo-slot .hero-logo-stack {
  display: block;
  pointer-events: auto;
}

/* Home + inner: top bar scrolls away with the page (no sticky / fixed layers) */
body.page-home .site-header--home,
body.page-inner .site-header--inner {
  position: static;
  top: auto;
}

@media (min-width: 64rem) {
  body.page-home .page-hero-band,
  body.page-inner .page-hero-band {
    display: grid;
    grid-template-columns: minmax(11rem, 17rem) minmax(0, 1fr);
    column-gap: 2rem;
    align-items: start;
    overflow: visible;
  }

  body.page-home .page-logo-slot,
  body.page-inner .page-logo-slot {
    grid-column: 1;
    grid-row: 1;
    margin-top: calc(-1 * var(--page-logo-pull-up));
    margin-bottom: 0;
    overflow: visible;
    position: relative;
  }

  body.page-home .page-logo-slot .hero-logo-stack,
  body.page-inner .page-logo-slot .hero-logo-stack {
    width: var(--logo-col-width);
    transform: translateX(var(--home-hero-shift));
  }

  body.page-home .page-hero-band .page-intro-copy,
  body.page-inner .page-hero-band .page-intro-copy {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    padding-top: calc(2.25rem - 0.25in);
    max-width: none;
  }

  body.page-inner main > .section.page-start {
    padding-top: clamp(1.35rem, 3.5vw, 2rem);
  }

  body.page-inner main > .page-hero-band + .section.page-start {
    padding-top: 0.75rem;
  }

}

.page-hero-band {
  display: grid;
  gap: 1rem;
  position: relative;
  z-index: auto;
  overflow: visible;
  scroll-margin-top: 5.5rem;
}

.page-intro-copy {
  min-width: 0;
  max-width: 100%;
}

.page-intro-copy h1,
.page-intro-copy h2 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  color: var(--brown);
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  line-height: 1.25;
}

.page-intro-copy h1 {
  display: block;
  margin-bottom: 0.35rem;
}

.page-intro-lede {
  margin: 0;
  color: var(--muted);
  max-width: 44rem;
  font-size: 1.2rem;
}

.nav--home-hero {
  width: 100%;
  justify-content: flex-end;
}

.header-inner > .nav {
  margin-left: auto;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}

.nav {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: var(--brown);
}

.nav a:hover {
  background: var(--sky);
}

.nav a.home {
  background: var(--grass);
  color: #fff;
  border: 2px solid var(--grass-dark);
}

.nav a.home:hover {
  filter: brightness(1.05);
}

.nav-contact {
  background: var(--sunshine);
  border: 2px solid #e6ac00;
}

.nav a.nav-current {
  box-shadow: inset 0 0 0 2px rgba(92, 64, 51, 0.35);
}

@media (max-width: 63.99rem) {
  .header-inner {
    padding-inline: 0.85rem;
  }

  .nav--home-hero {
    justify-content: center;
  }

  .nav {
    justify-content: center;
    gap: 0.25rem;
  }

  .nav a {
    font-size: 0.8125rem;
    padding: 0.38rem 0.6rem;
  }

  .page-logo-slot {
    margin-inline: auto;
  }

  .page-logo-slot .hero-logo-stack {
    width: min(100%, 11.5rem);
    margin-inline: auto;
  }

  .page-intro-copy h1,
  .page-intro-copy h2,
  .contact-embed-lead {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
  }

  .hero-lede,
  .page-intro-lede,
  .contact-intro {
    font-size: 1rem;
    line-height: 1.55;
  }
}

main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  overflow: visible;
}

.hero {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0 2.5rem;
  grid-template-columns: 1fr;
  position: relative;
  overflow: visible;
}

/* #home focus target is .page-hero-band--home (hash / Home nav) */
.page-hero-band--home:focus {
  outline: none;
}

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  margin: 0 0 0.5rem;
  color: var(--brown);
}

.hero-lede {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

.hero-lede-accent {
  color: var(--brown);
}

.page-intro-copy--home .hero-lede {
  margin-top: calc(-1 * 0.125in);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-intro-copy--home > .btn-row {
  justify-content: center;
  margin-top: calc(-1 * 0.125in);
}

.page-intro-copy--home h1 {
  margin: 0 0 0.5rem;
  color: var(--brown);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  line-height: 1.25;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--grass);
  color: #fff;
  box-shadow: 0 4px 0 var(--grass-dark);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-secondary {
  background: #fff;
  color: var(--brown);
  border: 3px solid var(--sunshine);
  box-shadow: 0 4px 0 rgba(230, 172, 0, 0.45);
}

/* Friendly team — one pale sky panel + dashed border + real bullets (not inner pill rows) */
.hero-card {
  background: #eaf6fb;
  border-radius: clamp(1.35rem, 2.6vw, 1.85rem);
  padding: 1.35rem 1.45rem 1.45rem 1.55rem;
  border: 3px dashed rgba(120, 178, 215, 0.92);
  box-shadow: var(--shadow);
}

.hero-card__title {
  margin: 0;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--brown);
  text-align: center;
  line-height: 1.35;
}

.hero-card__list {
  list-style: disc;
  list-style-position: outside;
  margin: 0.9rem 0 0;
  padding: 0 0 0 1.15rem;
}

.hero-card__list li {
  margin: 0;
  padding: 0.4rem 0 0.4rem 0.2rem;
  font-weight: 600;
  color: var(--muted);
  font-size: clamp(0.95rem, 2.1vw, 1.05rem);
  line-height: 1.55;
}

.hero-card__list li::marker {
  color: var(--text);
}

.hero-card strong {
  color: var(--grass-dark);
  font-weight: 800;
}

.hero-logo-stack {
  position: relative;
  display: block;
  width: min(100%, 20rem);
  aspect-ratio: 1;
  line-height: 0;
  text-decoration: none;
}

.hero-logo__image {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-card-below {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.hero-pair-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

/* Hands-on + Friendly team — full width below hero band (not beside headline) */
body.page-home .home-pair-section {
  display: block;
  width: 100%;
  clear: both;
  padding-top: 1rem;
}

@media (min-width: 48rem) {
  body.page-home .home-pair-section .hero-pair-row {
    display: grid;
    /* Slightly narrower hands-on column; more room for Friendly team card */
    grid-template-columns: minmax(0, 0.9fr) minmax(17.5rem, 1.1fr);
    gap: 1rem 1.25rem;
    align-items: stretch;
    width: 100%;
  }

  body.page-home .home-pair-section .hero-card-below {
    justify-self: stretch;
    align-self: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .hero-pair-row .hero-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  .hero-pair-row .hero-card__list {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.85rem;
    padding: 0;
  }

  .hero-pair-row .hero-card__list li {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    min-height: 2.85rem;
    margin: 0;
    padding: 0.5rem 0.75rem;
    border: 2px dashed rgba(120, 178, 215, 0.75);
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
  }

  .hero-pair-row .hero-card__list li::marker {
    content: none;
  }

  .hero-pair-row .home-experience-moments {
    grid-auto-rows: 1fr;
  }

  .hero-pair-row .home-moment-btn {
    height: 100%;
    min-height: 2.65rem;
  }
}

.home-experience-inner {
  max-width: 48rem;
  margin-inline: auto;
}

/* Hands-on block tucked under homepage logo (left column) */
.home-experience-below-logo {
  scroll-margin-top: 5.5rem;
}

.home-experience-below-logo .home-experience-inner {
  max-width: none;
  margin-inline: 0;
}

.home-experience-below-logo h2 {
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  margin-bottom: 0.5rem;
}

.home-experience-below-logo .home-experience-card {
  padding: 1rem 1rem 1.1rem;
}

.home-experience-below-logo .home-experience-intro {
  font-size: clamp(0.92rem, 2vw, 1rem);
  line-height: 1.5;
}

.hero-pair-row .home-experience-below-logo .home-experience-card {
  padding: 0.65rem 0.85rem 0.75rem;
}

.hero-pair-row .home-experience-below-logo .home-experience-intro {
  margin-bottom: 0;
  font-size: clamp(0.88rem, 1.75vw, 0.96rem);
  line-height: 1.45;
}

.hero-pair-row .home-experience-below-logo .home-experience-moments {
  margin-top: 0.5rem;
  gap: 0.35rem;
}

.hero-pair-row .home-experience-below-logo .home-experience-outro {
  margin-top: 0.55rem;
}

.hero-pair-row .home-experience-below-logo .home-experience-foot {
  margin-top: 0.35rem;
}

.hero-pair-row .home-experience-below-logo h2 {
  margin-bottom: 0.3rem;
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
}

.hero-pair-row .home-experience-below-logo .home-moment-btn {
  font-size: clamp(0.78rem, 1.65vw, 0.88rem);
  padding: 0.45rem 0.55rem;
  gap: 0.4rem;
}

.home-experience-below-logo .home-moment-btn {
  font-size: clamp(0.82rem, 1.8vw, 0.92rem);
  padding: 0.5rem 0.65rem;
}

.home-experience-below-logo .home-moment-btn span[aria-hidden="true"] {
  font-size: 1.1rem;
}

.home-experience-below-logo .home-experience-outro {
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
}

.home-experience-below-logo .home-experience-foot {
  font-size: 0.9rem;
  text-align: left;
}

.home-experience-card {
  margin-top: 0.35rem;
  background: linear-gradient(180deg, #fff 0%, #fffefb 100%);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.5rem;
  border: 3px solid var(--sunshine);
  /* Yellow bump only — no sky-blue halo */
  box-shadow: 0 3px 0 rgba(255, 217, 102, 0.38), var(--shadow);
}

.home-experience-intro {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.6vw, 1.17rem);
  line-height: 1.6;
}

.home-experience-moments {
  list-style: none;
  margin: 1.05rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

@media (min-width: 40rem) {
  .home-experience-moments {
    grid-template-columns: 1fr 1fr;
  }
}

.home-experience-moments > li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.home-experience-moments li {
  margin: 0;
  padding: 0;
}

.home-moment-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin: 0;
  padding: 0.6rem 0.85rem;
  border: 2px dashed rgba(152, 203, 234, 0.95);
  border-radius: 0.9rem;
  background: var(--sky);
  font: inherit;
  font-weight: 800;
  color: var(--brown);
  font-size: clamp(0.98rem, 2.2vw, 1.05rem);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.home-moment-btn:hover {
  border-color: rgba(92, 64, 51, 0.35);
  box-shadow: 0 8px 20px rgba(92, 64, 51, 0.12);
  transform: translateY(-1px);
}

.home-moment-btn:focus-visible {
  outline: 3px solid var(--grass-dark);
  outline-offset: 2px;
}

.home-moment-btn span[aria-hidden="true"] {
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.home-experience-outro {
  margin: 1.1rem 0 0;
  text-align: center;
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  font-size: clamp(1.12rem, 2.5vw, 1.35rem);
  color: var(--grass-dark);
  line-height: 1.35;
}

.home-experience-foot {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: 1.02rem;
  font-weight: 800;
}

.home-experience-foot a {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.13em;
}

.bus-arrival-section {
  max-width: var(--content-max);
  margin-inline: auto;
}

.bus-arrival-badge {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--forest);
  background: linear-gradient(135deg, #fff8e7, #e8f8e0);
  border: 2px solid rgba(74, 124, 58, 0.35);
  border-radius: 999px;
}

.bus-arrival-section h2 {
  margin: 0 0 0.75rem;
  color: var(--brown);
  font-size: clamp(1.55rem, 3.5vw, 2rem);
}

.bus-arrival-lede {
  margin: 0 0 1.35rem;
  max-width: 44rem;
  font-size: 1.12rem;
  line-height: 1.6;
}

.bus-arrival-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

@media (min-width: 52rem) {
  .bus-arrival-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.bus-arrival-feature {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid rgba(74, 124, 58, 0.28);
  box-shadow: var(--shadow), 0 0.5rem 1.25rem rgba(92, 64, 51, 0.12);
}

.bus-arrival-feature img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bus-arrival-copy {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.bus-arrival-points {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.6;
}

.bus-arrival-points li + li {
  margin-top: 0.55rem;
}

.bus-arrival-points strong {
  color: var(--forest);
}

.bus-arrival-teaser {
  margin-top: 0.35rem;
}

.bus-arrival-teaser figure {
  margin: 0;
}

.bus-arrival-thumb {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bus-arrival-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.35rem 0.85rem rgba(92, 64, 51, 0.18);
}

.bus-arrival-thumb:focus-visible {
  outline: 3px solid var(--sunshine);
  outline-offset: 3px;
}

.bus-arrival-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.section {
  scroll-margin-top: 5.5rem;
  padding: 2rem 0;
}

/* Inner pages only: add a little extra breathing room below the hero band */
main > .section.page-start {
  padding-top: clamp(2.25rem, 5vw, 3.25rem);
}

.section.alt {
  /* Was a tall full-bleed sky strip — reads like a giant blue “shadow”; keep barely a whisper of tint */
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(232, 244, 252, 0.14) 38%,
    transparent 92%
  );
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* Animals page only: tuck Safety under Meet our animal stars */
#animals + #safety {
  padding-top: 0.75rem;
}

#animals.section {
  padding-bottom: 1.5rem;
}

.section h2,
.section > h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--brown);
  margin: 0 0 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.grid-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 60rem) {
  .grid-cards.animals {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  border: 2px solid rgba(92, 64, 51, 0.12);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--brown);
}

.card .emoji {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  align-self: start;
}

.faq-item summary {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 1rem 2.75rem 1rem 1.15rem;
  cursor: pointer;
  font-family: "Fredoka", sans-serif;
  font-size: 1.2rem;
  color: var(--brown);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-52%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--grass-dark);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(92, 64, 51, 0.16);
}

.faq-item p,
.faq-item ul {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 1.15rem;
  transition:
    max-height 0.2s ease,
    opacity 0.15s ease,
    padding 0.2s ease;
}

.faq-item[open] p,
.faq-item[open] ul {
  max-height: 24rem;
  opacity: 1;
}

.faq-item[open] p {
  padding: 0.85rem 1.15rem 0.5rem;
}

.faq-item[open] p:last-of-type {
  padding-bottom: 1rem;
}

.faq-services-list {
  list-style: disc;
  padding-left: 2.25rem;
}

.faq-item[open] .faq-services-list {
  padding-top: 0;
  padding-bottom: 0.35rem;
}

.faq-item[open] p + .faq-services-list {
  margin-top: -0.25rem;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--grass-dark);
  outline-offset: -3px;
}

#faq .grid-cards {
  align-items: start;
}

button.card.animal-photo-link,
button.card.animals-collage-trigger,
button.card.past-events-trigger,
button.card.event-collage-trigger {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  margin: 0;
  font: inherit;
  text-align: left;
  background: #fff;
  color: inherit;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

button.card.animal-photo-link:hover,
button.card.animals-collage-trigger:hover,
button.card.past-events-trigger:hover,
button.card.event-collage-trigger:hover {
  border-color: rgba(92, 64, 51, 0.35);
  box-shadow: 0 14px 32px rgba(92, 64, 51, 0.14);
  transform: translateY(-2px);
}

button.card.animal-photo-link:focus-visible,
button.card.animals-collage-trigger:focus-visible,
button.card.past-events-trigger:focus-visible,
button.card.event-collage-trigger:focus-visible {
  outline: 3px solid var(--grass-dark);
  outline-offset: 3px;
}

/* Animals page: full-screen photo viewer (above cookie banner z-index) */
.animal-photo-lightbox,
.past-events-lightbox {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}

.animal-photo-lightbox[hidden] {
  display: none !important;
}

/* Past events: do not use [hidden]/display:none — images inside can fail to decode until
   a tab/window visibility change. Hide with visibility + pointer-events instead. */
.past-events-lightbox.past-events-lightbox--closed {
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1;
}

.animal-photo-lightbox-scrim,
.past-events-lightbox-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(28, 22, 18, 0.88);
  cursor: pointer;
}

.animal-photo-lightbox-inner {
  position: relative;
  z-index: 2;
  max-width: min(96vw, 72rem);
  max-height: min(92vh, 56rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  pointer-events: none;
}

.animal-photo-lightbox-inner > * {
  pointer-events: auto;
}

.animal-photo-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 48rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
  background: #fff;
}

.animal-photo-lightbox-caption {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff8f0;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.animal-photo-lightbox-close,
.past-events-lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(40, 32, 28, 0.92);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transform: translate(25%, -25%);
}

.animal-photo-lightbox-close:hover,
.past-events-lightbox-close:hover {
  background: rgba(60, 48, 42, 0.98);
}

.animal-photo-lightbox-close:focus-visible,
.past-events-lightbox-close:focus-visible {
  outline: 3px solid var(--grass-dark);
  outline-offset: 2px;
}

.past-events-lightbox-inner {
  position: relative;
  z-index: 2;
  width: min(96vw, 52rem);
  max-height: min(90vh, 44rem);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  pointer-events: none;
}

.past-events-lightbox-inner > * {
  pointer-events: auto;
}

.past-events-lightbox-heading {
  margin: 0;
  padding: 0 2.25rem 0 0.15rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff8f0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.past-events-lightbox .events-collage-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  max-height: min(72vh, 34rem);
  padding: 0.15rem 0.05rem;
  margin: 0 -0.2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.past-events-lightbox .events-collage-scroll::-webkit-scrollbar {
  display: none;
}

.events-collage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.7rem;
  padding-inline: 0.2rem;
}

/* Thumbs use background-image (not <img>) — Chrome was not painting the last <img> tiles in this flex+scroll modal. */
#home-moment-lightbox .past-events-lightbox-inner,
#events-collage-lightbox .past-events-lightbox-inner,
#animals-collage-lightbox .past-events-lightbox-inner {
  width: min(98vw, 68rem);
  max-height: min(94vh, 52rem);
}

#home-moment-lightbox .events-collage-scroll,
#events-collage-lightbox .events-collage-scroll,
#animals-collage-lightbox .events-collage-scroll {
  max-height: min(82vh, 46rem);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#home-moment-lightbox .events-collage-scroll::-webkit-scrollbar,
#events-collage-lightbox .events-collage-scroll::-webkit-scrollbar,
#animals-collage-lightbox .events-collage-scroll::-webkit-scrollbar {
  display: none;
}

#home-moment-lightbox .events-collage-grid,
#events-collage-lightbox .events-collage-grid,
#animals-collage-lightbox .events-collage-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.7rem;
}

.past-events-lightbox .events-collage-grid figure,
#home-moment-lightbox .events-collage-grid figure,
#events-collage-lightbox .events-collage-grid figure,
#animals-collage-lightbox .events-collage-grid figure {
  margin: 0;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(0, 0, 0, 0.25);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#home-moment-lightbox .events-collage-grid figure[data-collage-fit="contain"] {
  background-size: contain;
  background-color: rgba(20, 16, 12, 0.55);
}

@media (max-width: 40rem) {
  .animal-photo-lightbox-close,
  .past-events-lightbox-close {
    top: 0.35rem;
    right: 0.35rem;
    transform: none;
  }

  .past-events-lightbox-inner {
    width: min(96vw, 100%);
  }
}

/* Hero media beside page intro heading (FAQ cow, Contact tractor) */
.faq-hero-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.65rem 1.15rem;
  width: 100%;
}

.faq-hero-heading-row h2 {
  margin: 0;
  flex: 0 1 auto;
}

.faq-gif-wrap {
  flex: 0 0 auto;
  width: min(11rem, 42vw);
  max-height: 7.5rem;
  margin: 0.9rem 0 0 0.25rem;
  overflow: visible;
  align-self: flex-end;
  transform: translate(calc(-0.45rem + 0.75in), 0.35rem);
  background: transparent;
  border: none;
  box-shadow: none;
}

.faq-gif-wrap img {
  display: block;
  width: 100%;
  height: 7.5rem;
  object-fit: cover;
  object-position: center 70%;
  border-radius: 0.5rem;
  mix-blend-mode: multiply;
}

.faq-cow-video-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
}

.faq-cow-video-caption {
  display: block;
  margin-top: 0.15rem;
  font-family: "Fredoka", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--brown);
  letter-spacing: 0.01em;
}

.faq-cow-video-btn:focus-visible {
  outline: 3px solid var(--sunshine);
  outline-offset: 3px;
}

.faq-cow-video-btn:hover img,
.faq-cow-video-btn:focus-visible img {
  filter: brightness(1.04);
}

.faq-hero-media.faq-gif-wrap {
  transform: translate(calc(-0.45rem + 1.2in), 0.35rem);
}

.faq-hero-media img {
  height: auto;
  max-height: 7.5rem;
  object-fit: contain;
  object-position: center center;
  mix-blend-mode: normal;
  border: none;
  outline: none;
  border-radius: 0;
  box-shadow: none;
}

.faq-hero-media.faq-cow-video-btn.faq-gif-wrap {
  margin-top: 0.35rem;
  transform: translate(calc(-0.45rem + 1.2in), -0.4rem);
}

@media (min-width: 48rem) {
  .faq-gif-wrap {
    width: min(14rem, 22vw);
    max-height: 9rem;
    margin: 1.15rem 0 0 0.5rem;
    transform: translate(calc(-0.65rem + 0.75in), 0.55rem);
  }

  .faq-hero-media.faq-gif-wrap {
    transform: translate(calc(-0.65rem + 1.2in), 0.55rem);
  }

  .faq-hero-media.faq-cow-video-btn.faq-gif-wrap {
    margin-top: 0.55rem;
    transform: translate(calc(-0.65rem + 1.2in), 0.05rem);
  }

  .faq-cow-video-caption {
    font-size: 1.2rem;
  }

  .faq-gif-wrap img {
    height: 9rem;
  }

  .faq-hero-media.faq-gif-wrap img {
    height: auto;
    max-height: 9rem;
  }
}

.faq-cow-video-dialog {
  padding: 0;
  margin: 0;
  border: none;
  width: 100vw;
  max-width: none;
  max-height: none;
  height: 100%;
  background: transparent;
}

.faq-cow-video-dialog::backdrop {
  background: rgba(30, 22, 18, 0.65);
}

.faq-cow-video-shell {
  box-sizing: border-box;
  min-height: 100%;
  padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-cow-video-panel {
  position: relative;
  width: min(44rem, 100%);
  max-height: calc(100dvh - 2rem);
  padding: 1rem 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.faq-cow-video-title {
  margin: 0 0 0.5rem;
  font-family: "Fredoka", sans-serif;
  font-size: 1.25rem;
  color: var(--brown);
}

.faq-cow-video-player {
  display: block;
  width: 100%;
  max-height: calc(100dvh - 8rem);
  border-radius: calc(var(--radius) - 0.35rem);
  background: #000;
}

.faq-cow-video-close {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--sunshine);
  color: var(--brown);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.faq-cow-video-close:hover {
  filter: brightness(1.05);
}

.faq-cow-video-close:focus-visible {
  outline: 3px solid var(--grass);
  outline-offset: 2px;
}

.pricing-card h3 {
  margin: 0 0 0.25rem;
}

.pricing-amount {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 0.65rem;
  color: var(--forest);
}

/* Match add-on list text size (body / .bullets) */
.pricing-card-body,
.pricing-card .bullets {
  font-size: inherit;
  line-height: 1.65;
}

.callout {
  background: linear-gradient(135deg, #fff8e7, #ffe8f0);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  border: 2px solid #f0cfa8;
}

.callout-small {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.callout a:not(.btn) {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.callout a:not(.btn):hover {
  color: #2d5827;
}

.testimonials-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 42rem;
  margin-inline: auto;
}

.testimonials-card p {
  margin: 0;
  line-height: 1.65;
}

.testimonials-card .testimonials-lead {
  margin: 0 0 1rem;
}

.testimonials-emoji-line {
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

.testimonials-lead {
  font-size: 1.12rem;
}

.testimonials-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 2px dashed rgba(92, 64, 51, 0.18);
}

.testimonials-tag {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--forest);
  background: rgba(74, 124, 58, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

.testimonials-cta {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  text-align: center;
  color: var(--muted);
}

.testimonials-cta a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.testimonials-cta a:hover {
  color: #2d5827;
}

.testimonials-badge-line {
  margin-top: 0.85rem !important;
  color: var(--forest);
}

.testimonials-section-heading {
  margin: 0.5rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--brown);
  text-align: center;
}

.testimonials-rating {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
}

.testimonials-card-label {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.testimonials-card blockquote {
  margin: 0;
  padding: 0;
  border: none;
}

.testimonials-card blockquote p {
  margin: 0;
  font-style: italic;
}

.testimonials-quote-footer,
.testimonials-review-footer {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brown);
}

.testimonials-connect-title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.testimonials-connect-list {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.7;
}

.testimonials-connect-list a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.testimonials-connect-list a:hover {
  color: #2d5827;
}

.events-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 52rem;
  margin-inline: auto;
}

.events-info-card {
  margin: 0;
}

.events-card-title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.events-details-list {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.65;
}

.events-details-list li + li {
  margin-top: 0.35rem;
}

.events-details-list a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.events-follow {
  margin: 1rem 0 0;
}

.events-follow a {
  color: var(--forest);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.events-mention-meta {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.events-gallery-wrap {
  margin-top: 0.25rem;
}

.events-gallery-intro {
  margin: 0 0 0.5rem;
  color: var(--muted);
  max-width: 40rem;
}

.events-gallery {
  margin-top: 0.75rem;
  gap: 0.7rem;
}

@media (min-width: 42rem) {
  .events-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Contact embed — matches kid-friendly chrome */
.contact-embed {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 3px dashed rgba(92, 64, 51, 0.2);
}

.contact-embed.contact-embed-top {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.contact-embed.standalone {
  margin-top: 1rem;
  padding-top: 0;
  border-top: none;
}

.contact-back-nav {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
}

.contact-back-nav a {
  font-weight: 800;
}

.contact-embed-lead {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-weight: 600;
  color: var(--brown);
}

.contact-gallery {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr;
  margin: 1rem 0 1.25rem;
}

@media (min-width: 42rem) {
  .contact-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid #e8dcb8;
  box-shadow: var(--shadow);
  background: #fff;
}

.contact-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.contact-gallery.events-gallery figure {
  aspect-ratio: 3 / 4;
}

.contact-gallery.events-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}

.contact-gallery__figure--portrait img {
  aspect-ratio: 3 / 4;
  object-position: top center;
}

.contact-gallery figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 0.45rem 0.6rem 0.6rem;
}

.contact-intro {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 40rem;
  font-size: 1.2rem;
}

.contact-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.btn-outline {
  background: #fff;
  color: var(--forest);
  border: 3px solid var(--grass);
  box-shadow: 0 4px 0 var(--grass-dark);
}

.btn-outline:hover {
  background: var(--sky);
}

.contact-form-panel {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.35rem;
  border: 3px solid rgba(92, 64, 51, 0.15);
  box-shadow: var(--shadow);
}

.contact-form-note {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 1rem 0 0;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 32rem) {
  .form-grid-split {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-panel label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
  color: var(--brown);
  font-size: 0.98rem;
}

.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  border: 2px solid rgba(92, 64, 51, 0.2);
  background: #fffefb;
}

.contact-form-panel input:focus-visible,
.contact-form-panel select:focus-visible,
.contact-form-panel textarea:focus-visible {
  outline: 3px solid var(--sunshine);
  outline-offset: 2px;
  border-color: var(--grass);
}

.contact-form-panel textarea {
  min-height: 8rem;
  resize: vertical;
}

.contact-form-submit {
  justify-self: start;
  margin-top: 0.25rem;
}

/* Contact form — fuller layout matching legacy booking form */
.contact-split {
  display: grid;
  gap: 1rem;
  align-items: start;
  margin-top: 0.5rem;
}

@media (min-width: 72rem) {
  .contact-split {
    grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) minmax(0, 11rem);
    gap: 1.25rem;
  }
}

.contact-side-strip {
  display: none;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid #e8dcb8;
  box-shadow: var(--shadow);
  align-self: stretch;
}

.contact-side-strip img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  display: block;
}

@media (min-width: 72rem) {
  .contact-side-strip {
    display: block;
  }
}

.form-work-together-heading {
  margin: 0 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 3.8vw, 2.05rem);
  font-weight: 600;
  color: var(--brown);
  letter-spacing: -0.02em;
}

.form-work-together-intro {
  margin: 0 0 1rem;
  color: var(--muted);
  max-width: 40rem;
  font-weight: 500;
}

.contact-form-panel .field-group-title {
  display: block;
  font-weight: 800;
  color: var(--brown);
  font-size: 1.02rem;
  margin-bottom: 0;
}

.form-required-note {
  font-weight: 600;
  font-size: 0.82em;
  color: var(--muted);
}

.contact-form-panel .label-text {
  display: block;
  font-weight: 800;
  color: var(--brown);
  font-size: 0.98rem;
}

.contact-form-panel .label-text + input,
.contact-form-panel .label-text + select,
.contact-form-panel .label-text + textarea {
  margin-top: 0.35rem;
}

.contact-form-panel .label-wrap {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.contact-form-panel .label-wrap .hint {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--muted);
  margin: -0.1rem 0 0;
}

.contact-form-panel .label-wrap.field-invalid .hint {
  margin-top: 0.15rem;
}

.field-msg {
  min-height: 1.35em;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--barn);
  margin: 0;
}

.field-msg:empty {
  min-height: 0;
}

.contact-form-panel .label-wrap.field-invalid input,
.contact-form-panel .label-wrap.field-invalid select,
.contact-form-panel .label-wrap.field-invalid textarea {
  border-color: var(--barn);
  box-shadow: 0 0 0 1px rgba(201, 76, 76, 0.25);
}

.form-alert {
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(201, 76, 76, 0.1);
  border: 2px solid rgba(201, 76, 76, 0.35);
  color: var(--brown);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.form-alert:focus-visible {
  outline: 3px solid var(--sunshine);
  outline-offset: 2px;
}

.form-alert:empty {
  display: none;
}

.form-alert[hidden],
.form-success[hidden] {
  display: none !important;
}

.form-success {
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  background: rgba(58, 112, 49, 0.12);
  border: 2px solid rgba(58, 112, 49, 0.35);
  color: var(--forest);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-form-mailto-hint {
  margin-top: 1rem;
  margin-bottom: 0;
}

.contact-form-panel .contact-form-mailto-hint a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 800;
}

.form-grid-three {
  display: grid;
  gap: 1rem;
}

@media (min-width: 32rem) {
  .form-grid-three {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.contact-region-slot {
  min-height: 3.15rem;
  display: flex;
  align-items: stretch;
}

.contact-region-slot > select:not([hidden]),
.contact-region-slot > input:not([hidden]) {
  width: 100%;
  align-self: start;
}

.contact-region-slot > select[hidden],
.contact-region-slot > input[hidden] {
  display: none !important;
}

.bullets {
  padding-left: 1.35rem;
  margin: 0.5rem 0 0;
}

.bullets li {
  margin-bottom: 0.35rem;
}

.site-footer {
  background: var(--brown);
  color: #fdf6ec;
  padding: 2rem 1.25rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.footer-inner a {
  color: #b8ffb0;
}

.footer-facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-facebook:hover {
  color: #dcf5d9;
}

.footer-facebook-f {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.2rem;
  background: #1877f2;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

.footer-social {
  margin: 1.25rem 0 0;
  text-align: center;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.phone-big {
  font-size: 1.5rem;
  font-weight: 800;
}

.legal-mini {
  font-size: 0.85rem;
  opacity: 0.92;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.site-footer button.inline-text-link {
  color: #b8ffb0;
}

.site-footer button.inline-text-link:hover {
  color: #dcf5d9;
}

.agritourism-disclosure-dialog {
  padding: 0;
  margin: 0;
  border: none;
  width: 100vw;
  max-width: none;
  max-height: none;
  height: 100%;
  background: transparent;
}

.agritourism-disclosure-dialog::backdrop {
  background: rgba(30, 22, 18, 0.55);
}

.agritourism-disclosure-shell {
  box-sizing: border-box;
  min-height: 100%;
  padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
}

.agritourism-disclosure-panel {
  position: relative;
  width: min(36rem, 100%);
  max-height: calc(100vh - 3rem);
  max-height: calc(100dvh - 3rem);
  overflow: auto;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--text);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  border: 2px solid rgba(92, 64, 51, 0.2);
}

.agritourism-disclosure-panel h2 {
  margin: 0 2.25rem 0.85rem 0;
  font-size: clamp(1.15rem, 2.8vw, 1.35rem);
  color: var(--brown);
}

.agritourism-disclosure-panel p {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}

.agritourism-disclosure-panel p:last-child {
  margin-bottom: 0;
}

.agritourism-disclosure-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.35rem;
  background: transparent;
  color: var(--brown);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.agritourism-disclosure-close:hover {
  background: rgba(92, 64, 51, 0.08);
}

.agritourism-disclosure-close:focus-visible {
  outline: 3px solid var(--sunshine);
  outline-offset: 2px;
}

.agritourism-disclosure-note {
  font-size: 0.85rem !important;
  opacity: 0.95;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(92, 64, 51, 0.12);
  margin-top: 0.5rem !important;
}

/* Cookie consent — duplicated in cookie-consent-pref.js (inlined early) so banner does not FOUC */
html.farm-cookie-done .cookie-banner {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  left: max(1rem, env(safe-area-inset-left, 0px));
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 10000;
  background: #fff;
  border: 3px solid #f0cfa8;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  padding: 1rem 1.1rem;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.cookie-title {
  margin: 0;
  color: var(--brown);
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 1.2rem;
}

.cookie-text {
  margin: 0.35rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
