/* Content pages (gallery, about, contact, legal, credits) plus pieces shared with the trip pages:
   CTA band, map embed, lightbox, screen-reader text. */

.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; }

/* ── CTA band ───────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: 28px;
  padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(120% 140% at 100% 0%, #1b6b58 0%, var(--brand) 45%, #08241e 100%);
}
.cta-band::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgb(255 106 61 / .12); pointer-events: none; }
.cta-band .lead { color: rgb(255 255 255 / .8); }
.cta-band .eyebrow { color: #9fd3bf; }
.cta-band .btn-row { margin-top: 0; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ── Map embed ──────────────────────────────────────────── */
.map-embed { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; filter: saturate(.85); }
.map-embed--wide iframe { height: clamp(300px, 40vw, 440px); }
.map-embed__link { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 650; box-shadow: var(--shadow); }
.map-embed__link:hover { color: var(--accent-2); }

/* ── Lightbox ───────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-rows: auto 1fr auto; background: rgb(6 16 13 / .95); color: #fff; animation: lb-in .2s ease; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 14px; font-weight: 600; color: rgb(255 255 255 / .75); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgb(0 0 0 / .5); user-select: none; }
.lightbox__cap { padding: 14px 16px 22px; text-align: center; font-size: 15px; color: rgb(255 255 255 / .85); min-height: 56px; }
.lightbox button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; display: grid; place-items: center; transition: background .15s; }
.lightbox button:hover { background: rgb(255 255 255 / .24); }
.lightbox__prev, .lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 10px; }
.lightbox__next { right: 10px; }
@media (max-width: 640px) { .lightbox__stage { padding: 0 8px; } .lightbox__prev, .lightbox__next { top: auto; bottom: -60px; transform: none; } .lightbox__prev { left: 16px; } .lightbox__next { right: 16px; } }
body.lb-open { overflow: hidden; }

/* ── Gallery ────────────────────────────────────────────── */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.gallery-filters .chip { height: 40px; }
.chip__n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); font-size: 12px; font-weight: 700; }
.chip.is-active .chip__n, .chip[aria-pressed="true"] .chip__n { background: rgb(255 255 255 / .18); color: #fff; }
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry__item { break-inside: avoid; margin: 0 0 16px; }
.masonry__item button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.masonry__item img { width: 100%; transition: transform .8s var(--ease), filter .3s; }
.masonry__item button:hover img { transform: scale(1.035); filter: brightness(.95); }
.masonry__item figcaption { padding: 8px 4px 0; font-size: 14px; color: var(--muted); }

/* ── About ──────────────────────────────────────────────── */
.about-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 88px); }
.about-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-hero__collage { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, clamp(150px, 16vw, 230px)); gap: 12px; }
.about-hero__collage > div { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.about-hero__collage .c1 { grid-row: span 2; }
.about-hero__collage img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .about-hero__grid { grid-template-columns: 1fr; } }
.promise { display: grid; gap: 10px; align-content: start; background: var(--card); }
.promise__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); margin-bottom: 4px; }
.about-cats { gap: 18px; }
.about-cat { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.about-cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.about-cat__media { aspect-ratio: 16 / 8; overflow: hidden; }
.about-cat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about-cat:hover .about-cat__media img { transform: scale(1.04); }
.about-cat__body { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 20px 22px 22px; align-items: start; }
.about-cat__body p { margin-top: 6px; }
.about-cat__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--cat) 13%, #fff); color: var(--cat); }
.about-cat__n { grid-column: 2; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 650; color: var(--cat); font-size: 14.5px; }
.groups-band__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.groups-band .list-check { margin-top: 24px; }
.list-check.light li { color: #dfe9e5; }
.list-check.light .ic { color: #7fd3a8; }
.groups-band__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.groups-band__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); aspect-ratio: 1; }
.groups-band__photos img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .groups-band__grid { grid-template-columns: 1fr; } }

/* ── Contact ────────────────────────────────────────────── */
.wa-hero {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); padding: clamp(20px, 3.5vw, 32px) clamp(20px, 4vw, 40px);
  border-radius: var(--r-xl); color: #fff; background: linear-gradient(120deg, #16924a, var(--wa) 55%, #2bc76a);
  box-shadow: 0 24px 50px -24px rgb(31 174 85 / .7); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-hero:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -24px rgb(31 174 85 / .8); }
.wa-hero__icon { flex: none; width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: rgb(255 255 255 / .16); }
.wa-hero__text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.wa-hero__text small { font-size: 12.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.wa-hero__text strong { font: 750 clamp(24px, 3vw, 34px)/1.1 var(--display); letter-spacing: -.02em; }
.wa-hero__text > span { opacity: .9; }
.wa-hero .btn { flex: none; color: #127a3f; }
@media (max-width: 720px) { .wa-hero { flex-wrap: wrap; } .wa-hero__icon { width: 56px; height: 56px; } .wa-hero .btn { width: 100%; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); transition: border-color .15s, transform .2s var(--ease); }
a.contact-card:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.contact-card__icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); }
.contact-card > span:last-child { display: grid; gap: 2px; min-width: 0; }
.contact-card small { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-card strong { font-size: 16.5px; overflow-wrap: anywhere; }
.contact-card em { font-style: normal; font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.contact-form { display: grid; gap: 16px; }

/* ── Legal ──────────────────────────────────────────────── */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.legal__nav { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; }
.legal__nav a { padding: 10px 14px; border-radius: 12px; font-weight: 600; color: var(--ink-2); }
.legal__nav a:hover { background: rgb(13 31 27 / .05); }
.legal__nav a[aria-current="page"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.legal__body { max-width: 72ch; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }
.slab-table { margin: 6px 0 14px; background: var(--card); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); border-collapse: separate; border-spacing: 0; }
.slab-table tr:last-child td { border-bottom: 0; }
.slab-table td:last-child { font-weight: 650; white-space: nowrap; }
@media (max-width: 800px) {
  .legal { grid-template-columns: 1fr; }
  .legal__nav { position: static; display: flex; overflow-x: auto; gap: 6px; }
  .legal__nav a { flex: none; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
}

/* ── Credits ────────────────────────────────────────────── */
.credit { padding: 0; overflow: hidden; margin: 0; }
.credit__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.credit__img img { width: 100%; height: 100%; object-fit: cover; }
.credit figcaption { display: grid; gap: 3px; padding: 14px 16px 16px; font-size: 14.5px; }
.credit figcaption span { color: var(--muted); }
