/* =====================================================================
   Wild Aranya: information pages (loaded after site2.css)
   About, FAQ, Contact and the three policy pages share this layout
   (Content Design 10): a short dark band with the heading, the text in
   one column of dark type on cream, and a link back to the adventures.
   ===================================================================== */

/* One centred reading column, about 720px wide */
.info-wrap{ width:100%; max-width:calc(720px + 2 * var(--gutter)); margin:0 auto; padding:0 var(--gutter); }

/* ============ Short dark band with the page heading ============ */
.info-top{ background:var(--night); padding:calc(56px + 32px) 0 40px; }
@media (min-width:768px){ .info-top{ padding:calc(88px + 48px) 0 56px; } }
.info-top h1{ font-size:clamp(32px, 25px + 2vw, 48px); line-height:1.1; letter-spacing:-.015em; color:var(--cream); }
.info-meta{ margin:12px 0 0; color:var(--mist); font-size:15px; }

/* ============ The text ============ */
.info-body{ background:var(--cream); padding:40px 0 96px; }
.prose{ color:var(--deep); }
.prose h2{ margin:40px 0 12px; font-size:clamp(22px, 20px + .6vw, 26px); line-height:1.25; color:var(--deep); }
.prose h2:first-child{ margin-top:0; }
.prose p{ margin:0 0 14px; }
.prose ul{ margin:0 0 16px; padding-left:22px; }
.prose li{ margin:0 0 8px; }
.prose li::marker{ color:var(--moss); }
.prose b{ color:var(--deep); }

/* Refund summary: a table on wider screens, one card per situation on phones */
.summary{ width:100%; margin:8px 0 16px; border-collapse:separate; border-spacing:0; font-size:15px; line-height:1.5;
  border-radius:14px; overflow:hidden; box-shadow:inset 0 0 0 1px rgba(27,61,34,.16); background:#FFFEF8; }
.summary th, .summary td{ padding:12px 14px; text-align:left; vertical-align:top; border-bottom:1px solid rgba(27,61,34,.12); }
.summary thead th{ background:var(--parch); font-weight:600; color:var(--deep); }
.summary tbody th{ font-weight:600; color:var(--deep); }
.summary tbody tr:last-child > *{ border-bottom:0; }
@media (max-width:599px){
  .summary thead{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
  .summary, .summary tbody, .summary tr, .summary th, .summary td{ display:block; width:100%; }
  .summary{ background:none; box-shadow:none; overflow:visible; }
  .summary tr{ margin:0 0 12px; border-radius:14px; background:#FFFEF8; box-shadow:inset 0 0 0 1px rgba(27,61,34,.16); }
  .summary tbody th{ border-bottom:1px solid rgba(27,61,34,.12); }
  .summary td{ border-bottom:0; padding-top:8px; padding-bottom:4px; }
  .summary td:last-child{ padding-bottom:12px; }
  .summary td::before{ content:attr(data-label); display:block; font:600 11px/1.4 var(--sans); letter-spacing:.12em; text-transform:uppercase; color:var(--amber); }
}

/* Contact details at the foot of the text */
.info-contact{ margin:40px 0 0; padding:20px 22px; border-radius:16px; background:var(--parch); }
.info-contact h2{ margin:0 0 8px; font-size:22px; }
.info-contact p{ margin:0; }

/* The link back to the adventures */
.info-back{ margin:40px 0 0; }

/* ============ FAQ (plan 9.2): a question opens its answer, like the tap-to-reveal sections ============ */
.faq-group{ margin:0 0 36px; }
.faq-group h2{ margin:0 0 10px; font-size:clamp(22px, 20px + .6vw, 26px); color:var(--deep); }
.faq{ border-bottom:1px solid rgba(27,61,34,.14); }
.faq summary{ list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:14px;
  padding:14px 2px; font-weight:600; color:var(--deep); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary .chev{ flex:0 0 18px; width:18px; height:18px; color:var(--under); transition:transform var(--quick) var(--ease); }
.faq[open] summary .chev{ transform:rotate(180deg); }
.faq summary:focus-visible{ outline:2px solid var(--orange); outline-offset:2px; border-radius:6px; }
.faq-a{ padding:0 2px 14px; color:var(--deep); }
.faq-a p{ margin:0 0 10px; }

/* ============ Contact (plan 9.3): the business's details and the message form; side by side from 860px ============ */
.info-wrap.contact-wrap{ max-width:calc(1040px + 2 * var(--gutter)); display:grid; gap:24px; align-items:start; }
@media (min-width:860px){ .info-wrap.contact-wrap{ grid-template-columns:1fr 1.25fr; gap:40px; } }
.contact-details, .contact-form{ padding:22px 22px 24px; border-radius:16px; }
.contact-details{ background:var(--parch); }
.contact-form{ background:#FFFEF8; box-shadow:inset 0 0 0 1px rgba(27,61,34,.14); }
.contact-details h2, .contact-form h2{ margin:0 0 14px; font-size:22px; color:var(--deep); }
.contact-details dl{ margin:0 0 12px; }
.contact-details dl div{ padding:8px 0; border-bottom:1px solid rgba(27,61,34,.12); }
.contact-details dt{ font:600 11px/1.4 var(--sans); letter-spacing:.12em; text-transform:uppercase; color:var(--amber); }
.contact-details dd{ margin:2px 0 0; color:var(--deep); overflow-wrap:anywhere; }
.contact-form .field{ margin:0 0 16px; }
.contact-form label{ display:block; margin:0 0 6px; font-weight:600; font-size:15px; color:var(--deep); }
.contact-form .input{ width:100%; min-height:48px; padding:10px 14px; border-radius:10px; border:1.5px solid rgba(27,61,34,.35);
  background:#FFFEF8; color:var(--deep); font:400 16px/1.4 var(--sans); }
.contact-form textarea.input{ resize:vertical; }
.contact-form .input:focus{ outline:none; border-color:var(--orange); }
.contact-form .input[aria-invalid="true"]{ border-color:#A3341A; }
.contact-form .err{ margin:6px 0 0; font-size:14px; font-weight:600; color:#A3341A; }
.contact-form .err:empty{ display:none; }
.contact-form .form-err{ margin:0 0 12px; }
.contact-form .small{ margin:0 0 14px; }
.contact-form .sent h3{ margin:0 0 8px; font:600 22px/1.25 var(--serif); color:var(--deep); }
.contact-form .sent p{ margin:0 0 16px; }
.contact-form .btn-outline{ color:var(--deep); box-shadow:inset 0 0 0 1.5px var(--deep); }
@media (hover:hover){ .contact-form .btn-outline:hover{ background:var(--deep); color:var(--cream); } }   /* readable on hover (28 Oct 2026) */
@media (max-width:479px){ .contact-form .btn{ width:100%; justify-content:center; } }
.trap{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
/* "Sending…" (same as the destination forms) */
.spin{ display:inline-block; width:1em; height:1em; margin-right:.55em; vertical-align:-.15em;
  border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:wa-spin .75s linear infinite; }
@keyframes wa-spin{ to{ transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce){ .spin{ animation-duration:2.5s; } }
button[aria-busy="true"]{ opacity:.75; cursor:progress; }

/* ============ The photo band (About, FAQ, Contact; founder, 10 Oct 2026) ============
   Wider screens: a banner, the heading over the darkened bottom at the lower left. Each page sets where its subject
   sits in the photo: --pos (and --pos-wide for screens 1400px and wider, which crop more of the height).
   Phones: the whole photo at 16:9 under the menu, fading into the dark green, heading below, so nothing is cropped. */
.photo-top{ position:relative; overflow:hidden; background:var(--night);
  min-height:min(70vh, 600px); display:flex; align-items:flex-end; padding:calc(88px + 64px) 0 56px; }
.photo-media{ position:absolute; inset:0; }
.photo-media img{ width:100%; height:100%; object-fit:cover; object-position:var(--pos, 50% 50%); }
@media (min-width:1400px){ .photo-media img{ object-position:var(--pos-wide, var(--pos, 50% 50%)); } }
.photo-top::before{ content:""; position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(14,36,20,.55) 0%, rgba(14,36,20,.1) 28%, rgba(14,36,20,.08) 55%, rgba(14,36,20,.7) 82%, rgba(14,36,20,.92) 100%); }
.photo-text{ position:relative; z-index:2; text-shadow:0 1px 2px rgba(14,36,20,.5), 0 2px 24px rgba(14,36,20,.55); }
.photo-top h1{ font-size:clamp(34px, 25px + 2.6vw, 58px); line-height:1.08; letter-spacing:-.015em; color:var(--cream); }
/* a page can keep its heading narrow, so it stays clear of a subject on the right (FAQ: the tiger) */
.photo-top h1{ max-width:var(--h1-max, none); }
.photo-top .info-meta{ max-width:40em; }
@media (max-width:767px){
  .photo-top{ display:block; min-height:0; padding:56px 0 28px; }
  .photo-media{ position:relative; inset:auto; aspect-ratio:16 / 9;
    -webkit-mask-image:linear-gradient(180deg, #000 74%, transparent); mask-image:linear-gradient(180deg, #000 74%, transparent); }
  .photo-top::before{ display:none; }
  .photo-text{ margin-top:-10px; }
}

/* the spam check (plan 10.1): usually invisible; when Cloudflare asks for a tick it sits above the error line */
.cf-turnstile{ margin:0 0 12px; }
.cf-turnstile:empty{ margin:0; }

/* a link to a section (e.g. the card's "Group tour policy" -> #group-tours) lands with the heading clear of the fixed header (10 Nov 2026) */
.prose [id]{ scroll-margin-top:84px; }
@media (min-width:768px){ .prose [id]{ scroll-margin-top:96px; } }
