/* =========================================================
   MATEMBEZI — SHARED INFORMATION PAGES
   Used by responsible-tourism.html, faq.html, privacy.html
   and terms.html.
========================================================= */

body[data-page="information"] {
  --info-gold: #d6b970;
  --info-cream: #f6efe3;
  --info-forest: #102f24;
  --info-forest-deep: #081d15;
  --info-card: #fffefa;
  overflow-x: hidden;
}

body[data-page="information"] .site-header:not(.is-scrolled):not(.nav-expanded) {
  background: linear-gradient(to bottom, rgba(5, 20, 14, .56), transparent);
}

body[data-page="information"] .site-header:not(.is-scrolled):not(.nav-expanded) .brand-mark {
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, .24),
    0 0 0 5px rgba(255, 255, 255, .055);
}

/* Shared hero */

body[data-page="information"] .info-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: max(620px, 76svh);
  align-items: end;
  overflow: hidden;
  padding: calc(var(--header) + 84px) 0 88px;
  color: #fff;
  background:
    linear-gradient(
      90deg,
      rgba(5, 22, 15, .97) 0%,
      rgba(5, 22, 15, .84) 44%,
      rgba(5, 22, 15, .45) 74%,
      rgba(5, 22, 15, .24) 100%
    ),
    radial-gradient(circle at 78% 17%, rgba(214, 185, 112, .38), transparent 31%),
    var(--info-hero-image) center 45% / cover no-repeat;
}

body[data-page="information"] .info-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .17;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .24) 0 1px, transparent 1.5px),
    radial-gradient(circle at 80% 60%, rgba(255, 255, 255, .13) 0 1px, transparent 1.5px);
  background-size: 31px 31px, 47px 47px;
  -webkit-mask-image: linear-gradient(to right, #000, transparent 78%);
  mask-image: linear-gradient(to right, #000, transparent 78%);
}

body[data-page="information"] .info-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 180px;
  pointer-events: none;
  background: linear-gradient(to top, rgba(3, 16, 10, .5), transparent);
}

body[data-page="information"] .info-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, .48fr);
  gap: clamp(46px, 8vw, 104px);
  align-items: end;
}

body[data-page="information"] .info-hero-copy {
  max-width: 820px;
}

body[data-page="information"] .info-hero .breadcrumbs {
  margin-bottom: 29px;
  color: rgba(255, 255, 255, .64);
}

body[data-page="information"] .info-hero .breadcrumbs a {
  color: rgba(255, 255, 255, .92);
}

body[data-page="information"] .info-hero .eyebrow {
  gap: .58rem;
  padding: .46rem .72rem;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .08);
  color: var(--gold-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body[data-page="information"] .info-hero h1 {
  max-width: 12ch;
  margin: 21px 0 23px;
  color: #fff;
  font-size: clamp(3.35rem, 6vw, 5.9rem);
  line-height: .96;
  letter-spacing: -.052em;
  text-shadow: 0 9px 36px rgba(0, 0, 0, .28);
}

body[data-page="information"] .info-hero-copy > p {
  max-width: 680px;
  margin: 0;
  padding-left: 19px;
  border-left: 2px solid var(--info-gold);
  color: rgba(255, 255, 255, .82);
  font-size: clamp(1.02rem, 1.4vw, 1.17rem);
  line-height: 1.72;
}

body[data-page="information"] .info-hero-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .23);
  border-radius: 26px 26px 70px 26px;
  background: rgba(7, 34, 23, .66);
  color: #fff;
  box-shadow:
    0 30px 72px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

body[data-page="information"] .info-hero-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2), transparent);
}

body[data-page="information"] .info-hero-card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 19px;
  place-items: center;
  border: 1px solid rgba(214, 185, 112, .24);
  border-radius: 15px;
  background: rgba(214, 185, 112, .12);
  color: var(--gold-2);
  font-size: 1.2rem;
}

body[data-page="information"] .info-hero-card > span:not(.info-hero-card-icon) {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body[data-page="information"] .info-hero-card > strong {
  display: block;
  color: #fff;
  font: 700 1.42rem/1.22 Georgia, "Times New Roman", serif;
}

body[data-page="information"] .info-hero-card > p {
  margin: 13px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: .85rem;
  line-height: 1.62;
}

/* Document shell */

body[data-page="information"] .info-main {
  position: relative;
  padding-block: clamp(82px, 9vw, 124px);
  background:
    radial-gradient(circle at 100% 8%, rgba(198, 166, 100, .09), transparent 24%),
    #fbf8f1;
}

body[data-page="information"] .info-layout {
  display: grid;
  grid-template-columns: minmax(230px, .39fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: start;
}

body[data-page="information"] .info-sidebar {
  position: sticky;
  top: calc(var(--header) + 22px);
  display: grid;
  gap: 16px;
}

body[data-page="information"] .info-side-card {
  padding: 22px;
  border: 1px solid rgba(37, 35, 31, .1);
  border-radius: 20px;
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 16px 42px rgba(31, 27, 22, .08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body[data-page="information"] .info-side-label {
  display: block;
  margin-bottom: 14px;
  color: var(--terracotta);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body[data-page="information"] .info-toc,
body[data-page="information"] .info-doc-nav {
  display: grid;
  gap: 4px;
}

body[data-page="information"] .info-toc a,
body[data-page="information"] .info-doc-nav a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 10px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 740;
  text-decoration: none;
  transition: color var(--ease), background var(--ease), transform var(--ease);
}

body[data-page="information"] .info-toc a::after {
  content: "↘";
  color: rgba(168, 80, 47, .5);
  font-size: .72rem;
}

body[data-page="information"] .info-toc a:hover,
body[data-page="information"] .info-doc-nav a:hover,
body[data-page="information"] .info-doc-nav a[aria-current="page"] {
  background: rgba(198, 166, 100, .13);
  color: var(--forest);
  transform: translateX(2px);
}

body[data-page="information"] .info-doc-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--gold);
}

body[data-page="information"] .info-help-card {
  padding: 22px;
  border: 1px solid rgba(198, 166, 100, .25);
  border-radius: 20px 20px 52px 20px;
  background: linear-gradient(145deg, #173f30, #0e2d22);
  color: #fff;
  box-shadow: 0 20px 48px rgba(18, 44, 34, .16);
}

body[data-page="information"] .info-help-card i {
  display: block;
  margin-bottom: 14px;
  color: var(--gold-2);
  font-size: 1.2rem;
}

body[data-page="information"] .info-help-card strong {
  display: block;
  color: #fff;
  font: 700 1.08rem/1.3 Georgia, "Times New Roman", serif;
}

body[data-page="information"] .info-help-card p {
  margin: 9px 0 15px;
  color: rgba(255, 255, 255, .66);
  font-size: .78rem;
  line-height: 1.55;
}

body[data-page="information"] .info-help-card a {
  color: var(--gold-2);
  font-size: .78rem;
  font-weight: 850;
  text-decoration: none;
}

body[data-page="information"] .info-content {
  min-width: 0;
}

body[data-page="information"] .info-content-card {
  padding: clamp(27px, 4vw, 48px);
  border: 1px solid rgba(37, 35, 31, .1);
  border-radius: 28px;
  background: var(--info-card);
  box-shadow: 0 22px 62px rgba(31, 27, 22, .1);
}

body[data-page="information"] .info-content-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-bottom: 8px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

body[data-page="information"] .info-content-intro[id] {
  scroll-margin-top: calc(var(--header) + 28px);
}

body[data-page="information"] .info-content-intro h2 {
  max-width: 15ch;
  margin: 12px 0 0;
  font-size: clamp(2rem, 3.3vw, 3.1rem);
}

body[data-page="information"] .info-content-intro p {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}

body[data-page="information"] .info-reading-note {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 8px;
  padding: .48rem .7rem;
  border-radius: var(--pill);
  background: rgba(198, 166, 100, .13);
  color: var(--forest);
  font-size: .69rem;
  font-weight: 850;
}

/* Legal and policy prose */

body[data-page="information"] .info-section {
  position: relative;
  scroll-margin-top: calc(var(--header) + 28px);
  padding: 31px 0 30px 58px;
  border-bottom: 1px solid var(--line);
}

body[data-page="information"] .info-section:last-child {
  padding-bottom: 4px;
  border-bottom: 0;
}

body[data-page="information"] .info-section-number {
  position: absolute;
  top: 30px;
  left: 0;
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(198, 166, 100, .28);
  border-radius: 12px;
  background: rgba(198, 166, 100, .12);
  color: var(--terracotta);
  font-size: .72rem;
  font-weight: 900;
}

body[data-page="information"] .info-section h2 {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  letter-spacing: -.02em;
}

body[data-page="information"] .info-section p,
body[data-page="information"] .info-section li {
  color: var(--muted);
  line-height: 1.75;
}

body[data-page="information"] .info-section p:last-child,
body[data-page="information"] .info-section ul:last-child {
  margin-bottom: 0;
}

body[data-page="information"] .info-section a {
  color: var(--terracotta);
  font-weight: 780;
}

/* Responsible tourism */

body[data-page="information"] .commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 29px;
}

body[data-page="information"] .commitment-card {
  position: relative;
  min-height: 220px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px 19px 48px 19px;
  background: linear-gradient(180deg, #fff, #faf5eb);
}

body[data-page="information"] .commitment-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 105px;
  height: 105px;
  border: 1px solid rgba(198, 166, 100, .16);
  border-radius: 50%;
}

body[data-page="information"] .commitment-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 14px;
  background: rgba(198, 166, 100, .15);
  color: var(--terracotta);
  font-size: 1.08rem;
}

body[data-page="information"] .commitment-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 9px;
  color: var(--forest);
  font-size: 1.2rem;
}

body[data-page="information"] .commitment-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.65;
}

body[data-page="information"] .etiquette-panel {
  scroll-margin-top: calc(var(--header) + 28px);
  margin-top: 24px;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid rgba(198, 166, 100, .24);
  border-radius: 25px;
  background: linear-gradient(145deg, #173f30, #0c2a20);
  color: #fff;
}

body[data-page="information"] .etiquette-panel h2 {
  margin: 13px 0 23px;
  color: #fff;
}

body[data-page="information"] .etiquette-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-page="information"] .etiquette-list li {
  display: flex;
  gap: 11px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .065);
  color: rgba(255, 255, 255, .75);
  font-size: .83rem;
  line-height: 1.55;
}

body[data-page="information"] .etiquette-list i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--gold-2);
}

/* FAQ */

body[data-page="information"] .info-faq-group {
  scroll-margin-top: calc(var(--header) + 28px);
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
}

body[data-page="information"] .info-faq-group:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

body[data-page="information"] .info-faq-group > h2 {
  margin: 0 0 17px;
  color: var(--forest);
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
}

body[data-page="information"] .info-faq-list {
  display: grid;
  gap: 10px;
}

body[data-page="information"] .info-faq-item {
  overflow: hidden;
  border: 1px solid rgba(37, 35, 31, .11);
  border-radius: 16px;
  background: #fff;
  transition: border-color var(--ease), box-shadow var(--ease);
}

body[data-page="information"] .info-faq-item[open] {
  border-color: rgba(198, 166, 100, .36);
  box-shadow: 0 14px 34px rgba(31, 27, 22, .08);
}

body[data-page="information"] .info-faq-item summary {
  position: relative;
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 13px;
  padding: 15px 56px 15px 17px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

body[data-page="information"] .info-faq-item summary::-webkit-details-marker {
  display: none;
}

body[data-page="information"] .info-faq-item summary > i {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(198, 166, 100, .13);
  color: var(--terracotta);
}

body[data-page="information"] .info-faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(24, 61, 47, .08);
  color: var(--forest);
  font-size: 1.2rem;
  transform: translateY(-50%);
}

body[data-page="information"] .info-faq-item[open] summary::after {
  content: "−";
}

body[data-page="information"] .info-faq-answer {
  padding: 0 56px 20px 64px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.72;
}

/* Shared CTA */

body[data-page="information"] .info-cta {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, .17), transparent 30%),
    linear-gradient(135deg, #c6a664, #dfc681);
  color: #171511;
}

body[data-page="information"] .info-cta::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(23, 21, 17, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(23, 21, 17, .025);
  pointer-events: none;
}

body[data-page="information"] .info-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

body[data-page="information"] .info-cta h2 {
  margin: 0 0 9px;
  color: #171511;
}

body[data-page="information"] .info-cta p {
  max-width: 700px;
  margin: 0;
  color: rgba(23, 21, 17, .7);
}

body[data-page="information"] .info-cta-actions {
  display: flex;
  min-width: max-content;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="information"] .info-cta .btn-primary {
  background: #102f24;
  color: #fff;
  box-shadow: 0 16px 34px rgba(16, 47, 36, .22);
}

body[data-page="information"] .info-cta-outline {
  border: 1px solid rgba(23, 21, 17, .24);
  background: rgba(255, 255, 255, .24);
  color: #171511;
  box-shadow: none;
}

/* Responsive */

@media (max-width: 1080px) {
  body[data-page="information"] .site-header,
  body[data-page="information"] .site-header:not(.is-scrolled):not(.nav-expanded) {
    background: rgba(255, 253, 248, .94) !important;
    color: var(--ink) !important;
    box-shadow: 0 9px 30px rgba(24, 35, 29, .13) !important;
    backdrop-filter: blur(18px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
  }

  body[data-page="information"] .info-hero {
    min-height: auto;
    padding: calc(var(--header) + 72px) 0 78px;
  }

  body[data-page="information"] .info-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  body[data-page="information"] .info-hero-card {
    width: min(100%, 670px);
  }

  body[data-page="information"] .info-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="information"] .info-sidebar {
    position: static;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  body[data-page="information"] .info-help-card {
    display: none;
  }
}

@media (max-width: 760px) {
  body[data-page="information"] .info-hero {
    padding: calc(var(--header) + 54px) 0 64px;
    background:
      linear-gradient(
        180deg,
        rgba(5, 22, 15, .76) 0%,
        rgba(5, 22, 15, .9) 58%,
        rgba(5, 22, 15, .97) 100%
      ),
      var(--info-hero-image) 58% center / cover no-repeat;
  }

  body[data-page="information"] .info-hero .breadcrumbs {
    margin-bottom: 23px;
  }

  body[data-page="information"] .info-hero h1 {
    font-size: clamp(3rem, 13.8vw, 4.4rem);
  }

  body[data-page="information"] .info-hero-copy > p {
    padding-left: 15px;
    font-size: 1rem;
  }

  body[data-page="information"] .info-hero-card {
    padding: 23px;
    border-radius: 22px 22px 56px 22px;
  }

  body[data-page="information"] .info-main {
    padding-block: 68px;
  }

  body[data-page="information"] .info-sidebar {
    grid-template-columns: 1fr;
  }

  body[data-page="information"] .info-side-card:first-child {
    overflow-x: auto;
  }

  body[data-page="information"] .info-toc {
    display: flex;
    width: max-content;
    gap: 7px;
  }

  body[data-page="information"] .info-toc a {
    min-height: 40px;
    padding-inline: 13px;
    border: 1px solid var(--line);
    white-space: nowrap;
  }

  body[data-page="information"] .info-toc a::after {
    display: none;
  }

  body[data-page="information"] .info-content-card {
    padding: 24px;
    border-radius: 23px;
  }

  body[data-page="information"] .info-content-intro {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 24px;
  }

  body[data-page="information"] .info-reading-note {
    width: max-content;
  }

  body[data-page="information"] .commitment-grid,
  body[data-page="information"] .etiquette-list {
    grid-template-columns: 1fr;
  }

  body[data-page="information"] .info-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-page="information"] .info-cta-actions {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 520px) {
  body[data-page="information"] .info-section {
    padding: 27px 0;
  }

  body[data-page="information"] .info-section-number {
    position: static;
    margin-bottom: 13px;
  }

  body[data-page="information"] .commitment-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="information"] .info-faq-item summary {
    padding-left: 14px;
  }

  body[data-page="information"] .info-faq-item summary > i {
    display: none;
  }

  body[data-page="information"] .info-faq-answer {
    padding: 0 46px 19px 14px;
  }

  body[data-page="information"] .info-cta-actions {
    display: grid;
  }

  body[data-page="information"] .info-cta-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="information"] *,
  body[data-page="information"] *::before,
  body[data-page="information"] *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
