/* ==========================================================================
   Jungle Jimmy — jungle-expedition theme, rebuilt 2026
   Palette sampled from the original Zoo Crew logo; layout is new.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --jungle-900: #12280c;
  --jungle-800: #17380f;
  --jungle-700: #1e4d14;
  --jungle-600: #2c6b1e;
  --jungle-500: #3d8b2e;
  --jungle-300: #7cc45c;

  --gold: #f5b301;
  --gold-light: #ffd84d;
  --flame: #e0421f;
  --flame-dark: #b83214;
  /* Small text only. --flame is 3.9:1 on parchment — fine for large display type
     but short of WCAG AA's 4.5:1 for body-size text like the eyebrow labels. */
  --flame-text: #bf3317;

  --parchment: #fdf6e7;
  --parchment-deep: #f6e9cf;
  --kraft: #e8d5b0;
  --kraft-dark: #c9a876;

  --ink: #33251a;
  --ink-soft: #61503f;

  --white: #fff;

  --font-display: "Fredoka", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1120px;
  --wrap-narrow: 760px;
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 2px 8px rgba(51, 37, 26, .1);
  --shadow: 0 8px 28px rgba(51, 37, 26, .14);
  --shadow-lg: 0 18px 48px rgba(51, 37, 26, .2);

  --header-h: 74px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--parchment);
  /* subtle paper grain, drawn not downloaded */
  background-image:
    radial-gradient(circle at 20% 12%, rgba(201,168,118,.16) 0, transparent 42%),
    radial-gradient(circle at 82% 62%, rgba(124,196,92,.12) 0, transparent 46%);
  background-attachment: fixed;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--jungle-600); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--jungle-800);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 5.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--jungle-900); }

.eyebrow {
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--flame-text);
  font-weight: 600;
  margin: 0 0 .7em;
}
.lede { font-size: 1.16rem; color: var(--ink-soft); }

/* ---------- layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
section { padding: clamp(2.75rem, 7vw, 4.75rem) 0; }
.section-tight { padding: clamp(2rem, 4.5vw, 3rem) 0; }

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--jungle-700); color: var(--white);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 246, 231, .93);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 3px solid var(--jungle-700);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
  padding-block: .55rem;
}
.brand { display: block; flex: 0 0 auto; margin-right: auto; }
.brand img { width: clamp(132px, 20vw, 178px); }

.nav-desktop { display: none; }
.nav-desktop ul {
  display: flex; align-items: center; gap: 1.6rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-desktop a {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1rem;
  color: var(--jungle-800); text-decoration: none;
  padding: .35rem 0; position: relative;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
}
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }

.header-phone {
  display: none;
  font-family: var(--font-display); font-weight: 600;
  color: var(--jungle-800); text-decoration: none; white-space: nowrap;
}
.header-phone span { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--flame-text); }

/* mobile toggle */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; flex: 0 0 auto;
  background: var(--jungle-700); border: 0; border-radius: var(--radius-sm);
  cursor: pointer; color: var(--white);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile {
  display: none;
  border-top: 2px dashed var(--kraft-dark);
  padding: .75rem 0 1.25rem;
}
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; margin: 0 0 1rem; padding: 0; }
.nav-mobile a {
  display: block; padding: .75rem .25rem;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 500;
  color: var(--jungle-800); text-decoration: none;
  border-bottom: 1px solid rgba(201,168,118,.45);
}
.nav-mobile a[aria-current="page"] { color: var(--flame-text); }

@media (min-width: 940px) {
  .nav-desktop { display: block; }
  .header-phone { display: block; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.05rem; line-height: 1.25;
  padding: .95rem 1.9rem;
  border: 0; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(180deg, var(--flame) 0%, var(--flame-dark) 100%);
  color: var(--white);
  box-shadow: 0 5px 0 rgba(140, 36, 12, .55), var(--shadow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 rgba(140,36,12,.55), var(--shadow-lg); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(140,36,12,.55); }
.btn-secondary {
  background: var(--jungle-600); color: var(--white);
  box-shadow: 0 5px 0 var(--jungle-800), var(--shadow);
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--jungle-800), var(--shadow-lg); }
.btn-secondary:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--jungle-800); }
.btn-ghost {
  background: transparent; color: var(--jungle-700);
  border: 2px solid var(--jungle-600); padding: .85rem 1.7rem;
}
.btn-ghost:hover { background: var(--jungle-600); color: var(--white); }
.btn-lg { font-size: 1.18rem; padding: 1.1rem 2.4rem; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(175deg, rgba(30,77,20,.06) 0%, transparent 55%),
    var(--parchment-deep);
  border-bottom: 3px solid var(--kraft-dark);
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.25rem, 5vw, 3.75rem);
}
.hero-grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
/* The markup puts the photo first so it can occupy the left column on wide
   screens. On mobile the headline has to come first, so `order` does the
   reordering rather than duplicating the markup. */
.hero-photo { order: 2; margin-inline: auto; max-width: 460px; }
.hero h1 { color: var(--jungle-800); }
.hero h1 em {
  font-style: normal; color: var(--flame);
  display: inline-block;
}
.hero-attention {
  display: inline-block;
  background: var(--gold-light); color: var(--jungle-900);
  font-family: var(--font-display); font-weight: 600;
  font-size: .9rem; line-height: 1.4;
  padding: .5rem 1.1rem; border-radius: 999px;
  margin-bottom: 1.1rem;
  border: 2px solid var(--gold);
}
.hero-sub { font-size: 1.14rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 0.85fr 1.15fr; }
  .hero-photo { order: -1; max-width: none; }
}

/* ---------- prose blocks ---------- */
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; color: var(--jungle-700); }

/* ---------- cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  border: 1px solid rgba(201,168,118,.5);
}
.card-kraft { background: var(--parchment-deep); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 780px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- numbered "secrets" ---------- */
.secrets { display: grid; gap: 1.35rem; counter-reset: secret; list-style: none; margin: 0; padding: 0; }
.secret {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(201,168,118,.55);
  border-left: 6px solid var(--jungle-500);
  padding: 1.5rem 1.5rem 1.5rem 4.4rem;
  box-shadow: var(--shadow-sm);
}
.secret::before {
  counter-increment: secret;
  content: counter(secret);
  position: absolute; left: 1.15rem; top: 1.4rem;
  width: 2.35rem; height: 2.35rem;
  display: grid; place-items: center;
  background: var(--gold); color: var(--jungle-900);
  font-family: var(--font-display); font-weight: 600; font-size: 1.2rem;
  border-radius: 50%;
  box-shadow: 0 2px 0 var(--kraft-dark);
}
.secret h3 { margin-bottom: .4rem; font-size: 1.18rem; color: var(--jungle-800); }
@media (max-width: 520px) {
  .secret { padding: 3.6rem 1.25rem 1.35rem; }
  .secret::before { top: 1.15rem; left: 1.25rem; }
}

/* ---------- quotes ---------- */
.quote {
  background: var(--jungle-700);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow);
  position: relative;
  margin: 2rem 0;
}
.quote p {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.35;
  margin: 0 0 .8rem;
}
.quote cite { font-style: normal; font-size: .95rem; color: var(--gold-light); font-weight: 600; }
.quote::before {
  content: "\201C";
  position: absolute; top: -.35rem; right: 1.25rem;
  font-family: Georgia, serif; font-size: 6rem; line-height: 1;
  color: rgba(255,255,255,.13);
}

.quote-sm {
  background: var(--white);
  border: 1px solid rgba(201,168,118,.55);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin: 0;
  display: flex; flex-direction: column; gap: .75rem;
  height: 100%;
}
.quote-sm p { font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; line-height: 1.4; color: var(--jungle-800); margin: 0; flex: 1; }
.quote-sm cite { font-style: normal; font-size: .88rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- guarantee seal ---------- */
.guarantee {
  background: linear-gradient(160deg, var(--jungle-700) 0%, var(--jungle-900) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 4px double var(--gold);
}
.guarantee h2 { color: var(--gold-light); }
.guarantee p { color: rgba(255,255,255,.92); }
.guarantee .stamp {
  display: inline-block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  color: var(--white);
  border: 4px solid var(--flame);
  border-radius: 12px;
  padding: .35rem 1.5rem;
  transform: rotate(-3deg);
  margin-top: .75rem;
  background: rgba(224,66,31,.18);
}

/* ---------- packages ---------- */
.pkg {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(201,168,118,.55);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pkg-head { background: var(--jungle-700); color: var(--white); padding: 1.5rem; text-align: center; }
.pkg-featured .pkg-head { background: linear-gradient(160deg, var(--flame) 0%, var(--flame-dark) 100%); }
.pkg-head h3 { color: var(--white); margin: 0 0 .2rem; }
.pkg-head .dur { font-size: .95rem; color: rgba(255,255,255,.85); font-weight: 600; }
.pkg-body { padding: 1.6rem; flex: 1; display: flex; flex-direction: column; }
.pkg-body ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .85rem; flex: 1; }
.pkg-body li { position: relative; padding-left: 1.9rem; }
.pkg-body li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.15rem; height: .62rem;
  border-left: 3px solid var(--jungle-500); border-bottom: 3px solid var(--jungle-500);
  transform: rotate(-45deg);
}
.pkg-badge {
  display: inline-block; background: var(--gold); color: var(--jungle-900);
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .85rem; border-radius: 999px; margin-bottom: .6rem;
}

/* ---------- photo gallery ---------- */
.gallery { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: .92rem; color: var(--ink-soft); text-align: center; margin-top: .4rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 1rem; }
.faq details {
  background: var(--white);
  border: 1px solid rgba(201,168,118,.55);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 3.25rem 1.15rem 1.35rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
  color: var(--jungle-800);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.35rem; top: 50%;
  width: .62rem; height: .62rem; margin-top: -.42rem;
  border-right: 3px solid var(--jungle-500); border-bottom: 3px solid var(--jungle-500);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.1rem; }
.faq .faq-body { padding: 0 1.35rem 1.35rem; }
.faq .faq-body p:first-child { margin-top: 0; }

/* ---------- forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--jungle-600);
  overflow: hidden;
}
.form-head {
  background: linear-gradient(160deg, var(--jungle-600) 0%, var(--jungle-800) 100%);
  color: var(--white); padding: clamp(1.4rem, 3vw, 2rem); text-align: center;
}
.form-head h2 { color: var(--white); margin-bottom: .35rem; }
.form-head p { color: rgba(255,255,255,.9); margin: 0; font-size: 1.02rem; }
.form-body { padding: clamp(1.4rem, 3vw, 2rem); }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-weight: 700; font-size: .95rem;
  color: var(--jungle-800); margin-bottom: .4rem;
}
.field .req { color: var(--flame-text); }
.field .hint { display: block; font-weight: 400; font-size: .86rem; color: var(--ink-soft); margin-top: .15rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem;
  background: var(--parchment);
  border: 2px solid var(--kraft-dark);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, background-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--jungle-500); background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

.radio-set { display: grid; gap: .65rem; }
@media (min-width: 480px) { .radio-set { grid-template-columns: 1fr 1fr; } }
.radio-set label {
  display: flex; align-items: center; gap: .6rem;
  background: var(--parchment); border: 2px solid var(--kraft-dark);
  border-radius: var(--radius-sm); padding: .8rem 1rem;
  cursor: pointer; font-weight: 600; margin: 0;
  transition: border-color .15s ease, background-color .15s ease;
}
.radio-set label:hover { border-color: var(--jungle-500); }
.radio-set input { width: auto; accent-color: var(--jungle-600); }
.radio-set input:checked ~ span { color: var(--jungle-700); }
.radio-set label:has(input:checked) { border-color: var(--jungle-600); background: #eef7e9; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: .9rem; color: var(--ink-soft); text-align: center; margin-top: 1rem; }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-status.is-error { display: block; background: #fdecea; color: #a02012; border: 1px solid #f0b6ae; }
.form-status.is-ok { display: block; background: #eef7e9; color: var(--jungle-700); border: 1px solid var(--jungle-300); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(160deg, var(--jungle-600) 0%, var(--jungle-900) 100%);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--gold-light); }
.cta-band p { color: rgba(255,255,255,.92); max-width: 44rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 1.5rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--jungle-900);
  color: rgba(255,255,255,.82);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.75rem;
  font-size: .96rem;
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer h3 {
  color: var(--gold-light); font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: .9rem;
}
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-brand img { width: 168px; margin-bottom: 1rem; }
.social { display: flex; gap: .7rem; margin-top: 1rem; }
.social a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: grid; place-items: center;
  transition: background-color .15s ease;
}
.social a:hover { background: var(--gold); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-bottom {
  margin-top: 2.25rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: .86rem; color: rgba(255,255,255,.6);
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: space-between;
}

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.divider {
  border: 0; height: 3px; margin: 2.5rem 0;
  background: repeating-linear-gradient(90deg, var(--kraft-dark) 0 14px, transparent 14px 26px);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
