/* ==========================================================================
   Laguna de Kaan Luum — sitio oficial
   Paleta inspirada en "Kaan Luum" (tierra amarilla), el agua turquesa y la selva
   ========================================================================== */

:root {
  --sand: #f6f0e6;
  --sand-2: #ece2d0;
  --sand-3: #e0d2b8;
  --ochre: #c8922e;
  --ochre-dark: #9a6b17;
  --lagoon: #2aa39e;
  --lagoon-light: #8fd6cf;
  --lagoon-deep: #0c5157;
  --abyss: #082f37;
  --jungle: #1e3a2f;
  --ink: #18231f;
  --muted: #56645d;
  --white: #fffdf9;
  --line: rgba(24, 35, 31, .12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -20px rgba(8, 47, 55, .35);
  --shadow-sm: 0 6px 20px -10px rgba(8, 47, 55, .3);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lagoon-deep); text-underline-offset: 3px; }
a:hover { color: var(--ochre-dark); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.8rem, 7.5vw, 6.2rem); font-weight: 400; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h2 em, h1 em { font-style: italic; color: var(--ochre); font-weight: 400; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ochre-dark); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.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; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ochre); color: #1b1407; box-shadow: 0 10px 30px -12px rgba(200, 146, 46, .8); }
.btn-primary:hover { background: #d9a240; color: #1b1407; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; backdrop-filter: blur(6px); background: rgba(255,255,255,.08); }
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-dark { background: var(--jungle); color: var(--white); }
.btn-dark:hover { background: var(--lagoon-deep); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--jungle); color: var(--jungle); }
.btn-outline:hover { background: var(--jungle); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 18px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled { background: rgba(246, 240, 230, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 10px 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo-text { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; letter-spacing: .01em; }
.logo-text small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.scrolled .logo, .scrolled .nav a, .scrolled .lang a { color: var(--ink); }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); }
.nav a { color: #fff; text-decoration: none; font-size: .93rem; font-weight: 500; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--ochre); transition: right .3s ease; }
.nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 3px; }
.scrolled .lang { border-color: var(--line); }
.lang a { font-size: .78rem; font-weight: 700; color: #fff; text-decoration: none; padding: 6px 10px; border-radius: 999px; letter-spacing: .05em; }
.lang a[aria-current="true"] { background: var(--ochre); color: #1b1407 !important; }
.header-cta { padding: .75em 1.25em; font-size: .9rem; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.scrolled .menu-toggle span { background: var(--ink); }

@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: 0; background: var(--jungle); flex-direction: column; justify-content: center; gap: 26px;
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  }
  .nav a { color: #fff !important; font-family: var(--font-display); font-size: 1.9rem; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .menu-toggle { position: relative; z-index: 2; }
  .nav-open .menu-toggle span { background: #fff; }
  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-actions { position: relative; z-index: 2; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,47,55,.6) 0%, rgba(8,47,55,.15) 35%, rgba(8,47,55,0) 50%),
    linear-gradient(0deg, rgba(8,30,28,.9) 0%, rgba(8,30,28,.45) 50%, rgba(8,30,28,.2) 100%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { padding-top: 140px; padding-bottom: clamp(36px, 6vw, 64px); width: 100%; }
.hero .eyebrow { color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero h1 { max-width: 12ch; margin-bottom: .3em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-sub { font-size: clamp(1.08rem, 1.7vw, 1.35rem); max-width: 56ch; color: rgba(255,255,255,.9); margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(40px, 7vw, 80px); }

.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius);
  backdrop-filter: blur(14px); overflow: hidden;
}
.fact { padding: 20px 22px; display: flex; gap: 14px; align-items: center; border-right: 1px solid rgba(255,255,255,.16); }
.fact:last-child { border-right: 0; }
.fact svg { width: 30px; height: 30px; flex: none; color: var(--lagoon-light); }
.fact strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; line-height: 1.15; }
.fact span { font-size: .82rem; color: rgba(255,255,255,.78); }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.16); }
}
@media (max-width: 420px) { .fact { padding: 16px 14px; gap: 10px; } .fact strong { font-size: 1.08rem; } .fact svg { width: 24px; height: 24px; } }

.photo-credit { position: absolute; right: 12px; bottom: 8px; font-size: .68rem; color: rgba(255,255,255,.65); z-index: 1; }
.photo-credit a { color: inherit; }

/* ---------- Intro / story ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.intro-media { position: relative; }
.intro-media .main { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.intro-media .float {
  position: absolute; width: 52%; right: -8%; bottom: -10%; border-radius: var(--radius);
  border: 6px solid var(--sand); box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover;
}
.badge-circle {
  position: absolute; top: -26px; left: -26px; width: 128px; height: 128px; border-radius: 50%;
  background: var(--ochre); color: #1b1407; display: grid; place-content: center; text-align: center;
  font-family: var(--font-display); box-shadow: var(--shadow-sm); transform: rotate(-8deg);
}
.badge-circle b { font-size: 2.1rem; font-weight: 500; line-height: 1; }
.badge-circle span { font-family: var(--font-body); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-top: 4px; }
.maya-word { display: flex; gap: 28px; margin: 28px 0 32px; padding: 22px 0; border-block: 1px solid var(--line); }
.maya-word div { flex: 1; }
.maya-word dt { font-family: var(--font-display); font-size: 1.7rem; font-style: italic; color: var(--lagoon-deep); }
.maya-word dd { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media { margin: 20px 8% 60px 0; }
  .badge-circle { left: -6px; width: 104px; height: 104px; }
  .badge-circle b { font-size: 1.7rem; }
}

/* ---------- Depth diagram ---------- */
.depth { background: linear-gradient(180deg, var(--sand) 0%, #dff0ea 100%); }
.depth-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 48px); }
.depth-svg { width: 100%; height: auto; }
.depth-svg text { font-family: var(--font-body); }
.depth-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.depth-legend div { border-left: 3px solid var(--lagoon); padding-left: 16px; }
.depth-legend div:nth-child(2) { border-color: var(--abyss); }
.depth-legend div:nth-child(3) { border-color: var(--ochre); }
.depth-legend strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; display: block; }
.depth-legend p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 760px) { .depth-legend { grid-template-columns: 1fr; } }

/* ---------- Experiences ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.exp {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; box-shadow: var(--shadow-sm);
}
.exp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.exp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,30,28,.9) 0%, rgba(8,30,28,.2) 55%, rgba(8,30,28,0) 100%); }
.exp:hover img { transform: scale(1.06); }
.exp-body { padding: 26px; }
.exp-tag { display: inline-block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; margin-bottom: 12px; }
.exp h3 { margin-bottom: .35em; }
.exp p { font-size: .95rem; color: rgba(255,255,255,.85); margin: 0; }
.exp.wide { grid-column: span 2; }
@media (max-width: 980px) { .exp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .exp-grid { grid-template-columns: 1fr; } .exp.wide { grid-column: auto; } .exp { min-height: 360px; } }

/* ---------- Plan / prices ---------- */
.plan { background: var(--jungle); color: var(--sand); position: relative; overflow: hidden; }
.plan h2, .plan h3 { color: var(--white); }
.plan .eyebrow { color: var(--ochre); }
.plan .lead { color: rgba(246,240,230,.75); }
.plan-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); vertical-align: top; }
.price-table th { font-weight: 500; }
.price-table th small { display: block; color: rgba(246,240,230,.6); font-weight: 400; font-size: .85rem; }
.price-table td { text-align: right; font-family: var(--font-display); font-size: 1.55rem; color: var(--ochre); white-space: nowrap; }
.price-table td small { display: block; font-family: var(--font-body); font-size: .78rem; color: rgba(246,240,230,.6); }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: 22px; font-size: .92rem; color: rgba(246,240,230,.8); background: rgba(200,146,46,.12); border: 1px solid rgba(200,146,46,.35); border-radius: 14px; padding: 14px 16px; }
.note svg { width: 20px; height: 20px; flex: none; color: var(--ochre); margin-top: 2px; }
.hours { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.hours strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--white); line-height: 1; }
.mini-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.mini-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.mini-list svg { width: 20px; height: 20px; color: var(--lagoon-light); flex: none; margin-top: 3px; }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.rule-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rule-list li { display: flex; gap: 14px; align-items: flex-start; }
.rule-list .ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.rule-list .ico svg { width: 18px; height: 18px; }
.rule-list.yes .ico { background: rgba(143,214,207,.15); color: var(--lagoon-light); }
.rule-list.no .ico { background: rgba(232,110,90,.15); color: #f19a88; }
.rule-list strong { display: block; color: var(--white); font-weight: 600; }
.rule-list span { font-size: .9rem; color: rgba(246,240,230,.7); }
@media (max-width: 900px) { .plan-grid, .rules { grid-template-columns: 1fr; } }

/* ---------- Seasons ---------- */
.seasons { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 10px; }
.month { text-align: center; }
.month .bar { height: 120px; border-radius: 10px; display: flex; align-items: flex-end; justify-content: center; background: var(--sand-2); position: relative; overflow: hidden; }
.month .bar i { display: block; width: 100%; border-radius: 10px; background: linear-gradient(180deg, var(--lagoon-light), var(--lagoon)); }
.month.rain .bar i { background: linear-gradient(180deg, #b9c7c4, #7d9692); }
.month span { display: block; font-size: .8rem; font-weight: 600; margin-top: 8px; color: var(--muted); }
.season-key { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 22px; font-size: .92rem; color: var(--muted); }
.season-key i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 8px; background: var(--lagoon); }
.season-key .r i { background: #7d9692; }
.time-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.tip-cards { display: grid; gap: 16px; }
.tip { background: var(--white); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; }
.tip svg { width: 28px; height: 28px; color: var(--ochre); flex: none; }
.tip h3 { font-size: 1.2rem; margin-bottom: .25em; }
.tip p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .time-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .month .bar { height: 80px; } .month span { font-size: .66rem; } .seasons { gap: 3px; } }

/* ---------- Bring checklist ---------- */
.bring { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bring li { list-style: none; background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.bring svg { width: 30px; height: 30px; color: var(--lagoon); margin-bottom: 12px; }
.bring strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; margin-bottom: 4px; }
.bring span { font-size: .9rem; color: var(--muted); }
.bring-wrap { padding: 0; margin: 0; }
@media (max-width: 900px) { .bring { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .bring { grid-template-columns: 1fr; } }

/* ---------- Directions ---------- */
.dir-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.route-svg { width: 100%; height: auto; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.route-svg text { font-family: var(--font-body); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: var(--sand-2); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.transport { display: grid; gap: 14px; }
.mode { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.mode .ico { width: 52px; height: 52px; border-radius: 14px; background: #e1f1ee; color: var(--lagoon-deep); display: grid; place-items: center; }
.mode .ico svg { width: 26px; height: 26px; }
.mode h3 { font-size: 1.15rem; margin: 0 0 2px; }
.mode p { margin: 0; font-size: .9rem; color: var(--muted); }
.mode .meta { text-align: right; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.mode .meta b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--ink); }
.distances { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.distances div { background: var(--sand-2); border-radius: 14px; padding: 14px; text-align: center; }
.distances b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; }
.distances span { font-size: .8rem; color: var(--muted); }
.addr { margin-top: 18px; font-size: .95rem; color: var(--muted); }
@media (max-width: 900px) { .dir-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .mode { grid-template-columns: 44px 1fr; } .mode .ico { width: 44px; height: 44px; } .mode .meta { grid-column: 2; text-align: left; } .mode .meta b { display: inline; margin-right: 6px; } }

/* ---------- Gallery ---------- */
.gallery { background: var(--ink); color: var(--sand); }
.gallery h2 { color: var(--white); }
.gallery .lead { color: rgba(246,240,230,.7); }
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry button { all: unset; display: block; cursor: zoom-in; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; position: relative; break-inside: avoid; width: 100%; }
.masonry button:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.masonry img { width: 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.masonry button:hover img { transform: scale(1.04); filter: brightness(1.05); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; font-size: .85rem; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); opacity: 0; transform: translateY(8px); transition: .35s ease; }
.masonry button:hover figcaption, .masonry button:focus-visible figcaption { opacity: 1; transform: none; }
.masonry figure { margin: 0; }
@media (hover: none) { .masonry figcaption { opacity: 1; transform: none; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5, 15, 14, .94); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 16px 24px; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; border-radius: 12px; object-fit: contain; }
.lightbox p { color: #e9e3d6; margin: 16px 0 0; text-align: center; font-size: .95rem; max-width: 70ch; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } }

/* ---------- Nature ---------- */
.nature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.species { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.species img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.species div { padding: 16px 18px 20px; }
.species h3 { font-size: 1.15rem; margin-bottom: 2px; }
.species em { font-size: .85rem; color: var(--muted); }
.pledge { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 8vw, 96px); }
.pledge img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.pledge ol { padding: 0; margin: 24px 0 0; list-style: none; counter-reset: p; display: grid; gap: 16px; }
.pledge li { counter-increment: p; display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.pledge li::before { content: counter(p, decimal-leading-zero); font-family: var(--font-display); font-size: 1.5rem; color: var(--ochre); line-height: 1.1; }
@media (max-width: 980px) { .nature-grid { grid-template-columns: 1fr 1fr; } .pledge { grid-template-columns: 1fr; } }

/* ---------- Nearby ---------- */
.nearby { background: var(--sand-2); }
.near-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.near { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.near img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.near div { padding: 20px 22px 24px; }
.near .dist { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lagoon-deep); }
.near h3 { font-size: 1.25rem; margin: 6px 0 6px; }
.near p { margin: 0; font-size: .93rem; color: var(--muted); }
@media (max-width: 1020px) { .near-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .near-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-aside img { border-radius: var(--radius-lg); margin-top: 28px; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: no-repeat center/14px linear-gradient(var(--ink), var(--ink)) , no-repeat center/2px 14px linear-gradient(var(--ink), var(--ink));
  background-size: 14px 2px, 2px 14px; border: 1.5px solid var(--line); border-radius: 50%; padding: 4px;
  transition: transform .3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--lagoon-deep); }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 68ch; }
.faq .answer p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } .faq-aside { position: static; } .faq-aside img { display: none; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; text-align: center; padding: clamp(100px, 14vw, 180px) 0; isolation: isolate; overflow: hidden; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(8, 40, 44, .62); z-index: -1; }
.cta-band h2 { color: #fff; max-width: 18ch; margin-inline: auto; }
.cta-band p { max-width: 54ch; margin: 0 auto 2rem; color: rgba(255,255,255,.88); font-size: 1.15rem; }
.cta-band .hero-ctas { justify-content: center; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--abyss); color: rgba(246,240,230,.78); padding: clamp(60px, 8vw, 96px) 0 30px; font-size: .95rem; }
.site-footer a { color: var(--sand); text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ochre); font-weight: 700; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .logo { color: var(--sand); margin-bottom: 18px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .85rem; }
.credits summary { cursor: pointer; color: var(--sand); }
.credits ol { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: .8rem; columns: 2 320px; }
.credits li { break-inside: avoid; }
.credits a { text-decoration: underline; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
