/* ============================================================
   Fruit Codex Expeditions — Main Stylesheet
   Light forest & Andes botanical theme.
   Gold accents · Forest green header/footer · Warm parchment body
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,600;1,700&family=Courier+Prime:wght@400;700&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Botanical palette — forest & Andes */
  --c-bg:          #f5f1e4;   /* warm parchment */
  --c-bg-2:        #e4dfc8;   /* card warm cream */
  --c-bg-3:        #e3dec8;   /* deeper cream */
  --c-border:      #cec8b0;   /* warm border */
  --c-border-2:    #b9b49e;   /* stronger border */
  --c-text:        #1b2213;   /* deep forest charcoal */
  --c-text-dim:    #4a593a;   /* forest midtone */
  --c-text-mute:   #797960;   /* sage gray */
  --c-accent:      #c8991e;   /* earthy gold */
  --c-accent-hover:#e0ac28;   /* bright gold */
  --c-accent-dark: #9a7210;   /* deep gold */
  --c-danger:      #bf3b2e;

  /* Forest green — used for header, footer, highlights */
  --c-forest-dark: #1c3918;   /* deep jungle */
  --c-forest-mid:  #2d5c28;   /* forest green */
  --c-forest-lite: #3d7035;   /* lighter forest */

  --font-display: "Playfair Display", "EB Garamond", Georgia, serif;
  --font-sans:    "Lato", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "Courier Prime", "Courier New", monospace;

  --radius: 4px;
  --radius-lg: 10px;
  --container: 1280px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--c-accent); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { padding: 0; list-style: none; margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; color: var(--c-text-dim); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .75rem;
  color: var(--c-accent);
  font-weight: 700;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .link {
  color: var(--c-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .85rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.section-head .link:hover { border-bottom-color: var(--c-accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .88rem;
  text-transform: uppercase;
  transition: all .25s var(--ease);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,153,30,.3);
}
.btn-outline {
  border-color: var(--c-text);
  color: var(--c-text);
}
.btn-outline:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: rgba(200,153,30,.06);
}
.btn-ghost {
  color: var(--c-text-dim);
  padding: .6rem 0;
}
.btn-ghost:hover { color: var(--c-accent); }

/* ---------- Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Forest gradient — light left to deep right */
  background: linear-gradient(105deg, var(--c-forest-lite) 0%, var(--c-forest-mid) 45%, var(--c-forest-dark) 100%);
  backdrop-filter: saturate(140%) blur(4px);
  -webkit-backdrop-filter: saturate(140%) blur(4px);
  border-bottom: 1px solid rgba(0,0,0,.25);
  overflow: hidden;
}

/* Maya/Aztec stepped-pyramid pattern overlay */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='56' viewBox='0 0 100 56'%3E%3C!-- stepped pyramid --%3E%3Crect x='44' y='4' width='12' height='7' fill='%23000' opacity='.18'/%3E%3Crect x='37' y='11' width='26' height='7' fill='%23000' opacity='.14'/%3E%3Crect x='30' y='18' width='40' height='7' fill='%23000' opacity='.10'/%3E%3Crect x='23' y='25' width='54' height='7' fill='%23000' opacity='.07'/%3E%3C!-- side glyphs --%3E%3Crect x='4' y='8' width='8' height='3' fill='%23000' opacity='.12'/%3E%3Crect x='4' y='13' width='5' height='3' fill='%23000' opacity='.10'/%3E%3Crect x='4' y='18' width='8' height='3' fill='%23000' opacity='.08'/%3E%3Crect x='88' y='8' width='8' height='3' fill='%23000' opacity='.12'/%3E%3Crect x='91' y='13' width='5' height='3' fill='%23000' opacity='.10'/%3E%3Crect x='88' y='18' width='8' height='3' fill='%23000' opacity='.08'/%3E%3C!-- bottom diamond row --%3E%3Crect x='10' y='42' width='6' height='6' transform='rotate(45 13 45)' fill='%23000' opacity='.12'/%3E%3Crect x='30' y='42' width='6' height='6' transform='rotate(45 33 45)' fill='%23000' opacity='.10'/%3E%3Crect x='50' y='42' width='6' height='6' transform='rotate(45 53 45)' fill='%23000' opacity='.12'/%3E%3Crect x='70' y='42' width='6' height='6' transform='rotate(45 73 45)' fill='%23000' opacity='.10'/%3E%3Crect x='90' y='42' width='6' height='6' transform='rotate(45 93 45)' fill='%23000' opacity='.12'/%3E%3C!-- horizontal rule lines --%3E%3Cline x1='0' y1='35' x2='100' y2='35' stroke='%23000' opacity='.08' stroke-width='0.8'/%3E%3Cline x1='0' y1='55' x2='100' y2='55' stroke='%23000' opacity='.06' stroke-width='0.5'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px auto;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: .01em;
}
.brand:hover { color: rgba(255,255,255,.85); }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-sans);
  font-size: .9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}
.nav-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color .2s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lang-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  padding: .2rem;
  max-width: 240px;
}
.lang-btn {
  font-size: .65rem;
  padding: .28rem .5rem;
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  font-weight: 700;
  letter-spacing: .05em;
  transition: all .2s var(--ease);
}
.lang-btn.active,
.lang-btn:hover {
  background: rgba(255,255,255,.18);
  color: #fff;
}

/* Primary button in header — gold on green */
.site-header .btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.site-header .btn-primary:hover {
  background: var(--c-accent-hover);
  transform: translateY(-1px);
}

/* Hamburger toggle removed — tabs are always visible. Hidden everywhere. */
.menu-toggle { display: none !important; }

/* Overlay no longer used — kept hidden in case markup remains */
.nav-overlay { display: none !important; }

@media (max-width: 960px) {
  /* Header wraps onto two rows: brand + lang on top, tabs on bottom */
  .nav {
    flex-wrap: wrap;
    gap: 0.6rem;
    padding: 0.6rem 0;
  }
  .brand { flex: 0 0 auto; }
  .nav-actions {
    flex: 0 0 auto;
    margin-left: auto;
    gap: 0.5rem;
  }
  .nav-actions .btn { display: none; }

  /* Always-visible horizontal tab strip on its own row */
  .nav-links {
    order: 3;
    flex: 1 0 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1.1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.4rem 0 0.2rem;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,.12);
    /* fade edges to hint at horizontal scroll */
    mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
    /* hide scrollbar */
    scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }

  .nav-links a {
    font-size: 0.78rem;
    padding: 0.45rem 0.15rem;
    white-space: nowrap;
    color: rgba(255,255,255,.78);
    border-bottom: 2px solid transparent;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-links a:hover,
  .nav-links a.active {
    color: #fff;
    border-bottom-color: var(--c-accent);
  }

  /* Compact language switcher on mobile */
  .lang-switcher { padding: 0.15rem; }
  .lang-btn { font-size: 0.6rem; padding: 0.22rem 0.4rem; }
}

@media (max-width: 520px) {
  .nav-links { gap: 0.85rem; }
  .nav-links a { font-size: 0.72rem; }
  .brand { font-size: 1.05rem; }
  .brand-mark { width: 28px; height: 28px; font-size: 0.8rem; }
}

/* ---------- Page intro band (past / upcoming) ---------- */
.page-intro-band {
  background: #c4b38a;           /* dark warm cream — mais escuro que o fundo da página */
  padding: 5rem 0 3.75rem;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--c-accent);
  /* Sutil textura de papel */
  background-image:
    radial-gradient(ellipse at 0% 100%, rgba(100,70,20,.10) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 0%, rgba(60,40,10,.08) 0%, transparent 50%);
}

/* Linha decorativa maya sutil no rodapé da banda */
.page-intro-band::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--c-accent) 0px, var(--c-accent) 10px,
    transparent 10px, transparent 18px
  );
  opacity: .55;
}

.page-intro-band .container { position: relative; z-index: 1; }

/* Letreiro eyebrow — rolo de pergaminho dourado */
.page-intro-band .eyebrow {
  display: inline-block;
  color: var(--c-accent-dark);
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(200,153,30,.12) 10%,
    rgba(255,230,140,.55) 30%,
    rgba(255,240,170,.75) 50%,
    rgba(255,230,140,.55) 70%,
    rgba(200,153,30,.12) 90%,
    transparent 100%
  );
  border-top: 1px solid rgba(154,114,16,.4);
  border-bottom: 1px solid rgba(154,114,16,.4);
  padding: .45em 2.5em;
  font-size: .78rem;
  letter-spacing: .32em;
  font-weight: 700;
  width: auto;
  margin: 0 0 .6rem;
}

/* H1 massivo — Playfair Display bold italic */
.page-intro-band h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 700;
  font-style: italic;
  color: var(--c-forest-dark);
  letter-spacing: -.025em;
  line-height: 1.04;
  margin: 0 0 .75rem;
  text-shadow: 0 2px 0 rgba(255,255,255,.35);
}

/* Subtítulo elegante */
.page-intro-band p {
  font-family: var(--font-sans);
  font-size: 1.12rem;
  color: var(--c-forest-mid);
  max-width: 560px;
  margin: 0;
  opacity: .9;
  font-style: italic;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  /* Dark overlay fading to page background at bottom */
  background: linear-gradient(
    to bottom,
    rgba(28,57,24,.25) 0%,
    rgba(28,57,24,.72) 70%,
    rgba(245,241,228,.95) 100%
  );
  z-index: -1;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  animation: slowZoom 30s var(--ease) infinite alternate;
}
@keyframes slowZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-content { max-width: 100%; width: 100%; display: flex; flex-direction: column; }
.hero-title-wrap {
  width: 100%;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
  text-align: center;
}
.hero-body { text-align: center; }
.hero .eyebrow {
  display: block;
  text-align: center;
  color: #1a1008;
  font-size: .82rem;
  letter-spacing: .28em;
  position: relative;
  padding: .45em 3em;
  width: fit-content;
  margin: 0 auto 0;
  /* Pergaminho — gradiente de tons sépia com bordas escurecidas */
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(230,210,160,.15) 8%,
    rgba(240,222,170,.82) 20%,
    rgba(248,233,185,.95) 38%,
    rgba(250,237,190,1) 50%,
    rgba(248,233,185,.95) 62%,
    rgba(240,222,170,.82) 80%,
    rgba(230,210,160,.15) 92%,
    transparent 100%
  );
  /* Bordas horizontais finas estilo pergaminho */
  border-top: 1px solid rgba(160,120,50,.35);
  border-bottom: 1px solid rgba(160,120,50,.35);
  /* Leve textura com sombra interna */
  box-shadow: inset 0 1px 0 rgba(255,245,200,.6), inset 0 -1px 0 rgba(120,80,20,.18);
}
.hero h1 {
  margin: 1rem 0 1.5rem;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.55);
  font-size: clamp(1.5rem, 3.2vw, 4rem);
  line-height: 1.08;
  max-width: 100%;
  letter-spacing: -.01em;
}
.hero p   { font-size: 1.15rem; max-width: 680px; color: rgba(255,255,255,.88); margin-left: auto; margin-right: auto; }

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}
.hero .btn-outline {
  border-color: rgba(255,255,255,.65);
  color: #fff;
}
.hero .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* ---------- Inner-page banner (replaces plain top section) ---------- */
.page-banner {
  position: relative;
  background: linear-gradient(105deg, var(--c-forest-lite) 0%, var(--c-forest-mid) 45%, var(--c-forest-dark) 100%);
  padding: 4rem 0 3rem;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='56' viewBox='0 0 100 56'%3E%3Crect x='44' y='4' width='12' height='7' fill='%23000' opacity='.18'/%3E%3Crect x='37' y='11' width='26' height='7' fill='%23000' opacity='.14'/%3E%3Crect x='30' y='18' width='40' height='7' fill='%23000' opacity='.10'/%3E%3Crect x='23' y='25' width='54' height='7' fill='%23000' opacity='.07'/%3E%3Crect x='10' y='42' width='6' height='6' transform='rotate(45 13 45)' fill='%23000' opacity='.12'/%3E%3Crect x='30' y='42' width='6' height='6' transform='rotate(45 33 45)' fill='%23000' opacity='.10'/%3E%3Crect x='50' y='42' width='6' height='6' transform='rotate(45 53 45)' fill='%23000' opacity='.12'/%3E%3Crect x='70' y='42' width='6' height='6' transform='rotate(45 73 45)' fill='%23000' opacity='.10'/%3E%3Crect x='90' y='42' width='6' height='6' transform='rotate(45 93 45)' fill='%23000' opacity='.12'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px auto;
  opacity: .7;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner .eyebrow {
  display: block;
  text-align: center;
  color: #1a1008;
  font-size: .82rem;
  letter-spacing: .28em;
  position: relative;
  padding: .45em 3em;
  width: fit-content;
  margin: 0 auto .5rem;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(230,210,160,.15) 8%,
    rgba(240,222,170,.82) 20%,
    rgba(248,233,185,.95) 38%,
    rgba(250,237,190,1) 50%,
    rgba(248,233,185,.95) 62%,
    rgba(240,222,170,.82) 80%,
    rgba(230,210,160,.15) 92%,
    transparent 100%
  );
  border-top: 1px solid rgba(160,120,50,.35);
  border-bottom: 1px solid rgba(160,120,50,.35);
  box-shadow: inset 0 1px 0 rgba(255,245,200,.6), inset 0 -1px 0 rgba(120,80,20,.18);
}
.page-banner h1 { color: #fff; margin-top: .5rem; }
.page-banner p   { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 640px; }
.page-banner-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}
.page-banner-divider svg { display: block; width: 100%; }

/* ---------- Organic section divider ---------- */
.organic-divider {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  pointer-events: none;
}
.organic-divider svg {
  display: block;
  width: 100%;
}

/* ---------- Cards grid ---------- */
.grid-expeditions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.expedition-card {
  position: relative;
  display: block;
  background: var(--c-bg-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  transition: all .35s var(--ease);
  isolation: isolate;
}
.expedition-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(200,153,30,.15);
}
.expedition-card .card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.expedition-card .card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.expedition-card:hover .card-media img {
  transform: scale(1.06);
}
.card-status {
  position: absolute;
  top: 14px; left: 14px;
  font-size: .7rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.status-confirmed { background: var(--c-accent); color: #fff; }
.status-limited   { background: #e8920a; color: #fff; }
.status-soldout   { background: #888880; color: #fff; }
.status-completed { background: #f0ead8; color: #4a3f28; border: 1px solid rgba(160,130,70,.35); font-weight: 600; }
.status-upcoming  { background: rgba(61,112,53,.12); color: var(--c-forest-mid); border: 1px solid var(--c-forest-mid); }

.card-body { padding: 1.5rem 1.5rem 1.75rem; }
.card-meta {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: .5rem;
  font-family: var(--font-mono);
}
.card-meta .dot { margin: 0 .5rem; color: var(--c-border-2); }
.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--c-text);
  margin: 0 0 .75rem;
  line-height: 1.2;
}
.card-subtitle {
  font-size: .95rem;
  color: var(--c-text-dim);
  margin: 0 0 1rem;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
  margin-top: 1rem;
}
.card-cta {
  color: var(--c-accent);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 700;
}
.card-price {
  color: var(--c-text);
  font-weight: 700;
  font-size: .9rem;
  font-family: var(--font-mono);
}

/* ============================================================
   STORE-STYLE CARDS
   ============================================================ */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s var(--ease);
  isolation: isolate;
  text-decoration: none;
  color: inherit;
}
.store-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -16px rgba(200,153,30,.22);
}
.store-card .card-media {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--c-bg-3);
}
.store-card .card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.store-card:hover .card-media img { transform: scale(1.05); }

.store-card .card-body {
  padding: 1.3rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.store-card .card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0 0 .35rem;
  color: var(--c-text);
}
.store-card .card-subtitle {
  font-size: .88rem;
  color: var(--c-text-mute);
  margin: 0 0 1rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-card .card-facts {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin: 0 0 1.1rem;
  padding-top: .75rem;
  border-top: 1px dashed var(--c-border);
}
.store-card .fact {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .82rem;
  color: var(--c-text-dim);
}
.store-card .fact-icon {
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--c-accent);
}
.store-card .fact strong {
  color: var(--c-text);
  font-weight: 700;
}

.store-card .card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
  gap: .75rem;
}
.store-card .price-block {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.store-card .price-label {
  font-size: .65rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  margin-bottom: 2px;
  font-family: var(--font-mono);
}
.store-card .price-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--c-accent);
  font-weight: 600;
}
.store-card .card-btn {
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--c-accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: all .25s var(--ease);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(200,153,30,.25);
}
.store-card:hover .card-btn {
  background: var(--c-accent-hover);
  box-shadow: 0 4px 16px rgba(200,153,30,.35);
}

/* Past / sold-out */
.store-card.past .price-value {
  color: var(--c-text-mute);
  font-size: 1rem;
  text-decoration: line-through;
  opacity: .7;
}
.store-card.past .card-btn {
  background: transparent;
  border: 1px solid var(--c-border-2);
  color: var(--c-text-dim);
  box-shadow: none;
}
.store-card.past:hover .card-btn {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* Spots indicator */
.spots-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--c-text-mute);
  margin-top: .4rem;
  font-family: var(--font-mono);
}
.spots-dots {
  display: flex;
  gap: 3px;
}
.spots-dots span {
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--c-border-2);
}
.spots-dots span.filled { background: var(--c-accent); }

/* ============================================================
   HOME SPLIT (Upcoming left / Past right)
   ============================================================ */
.home-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.split-col h3 {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.split-col h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-border);
}
.split-col.past h3 { color: var(--c-text-dim); }
.split-col .store-grid {
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
@media (max-width: 900px) {
  .home-split { grid-template-columns: 1fr; gap: 2rem; }
  .split-col .store-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .split-col .store-grid { grid-template-columns: 1fr; }
}

/* ---------- Year section divider ---------- */
.year-block { padding-top: 2.5rem; }
.year-divider {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  margin-bottom: 2rem;
}
.year-divider h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}
.year-divider .count {
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  font-family: var(--font-mono);
}

/* ---------- Expedition detail ---------- */
.expedition-hero {
  min-height: 70vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 3rem;
  overflow: hidden;
  isolation: isolate;
}
.expedition-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(27,34,19,.92), rgba(27,34,19,.08));
}
.expedition-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover;
  background-position: center;
}
.expedition-hero h1 { margin: .75rem 0 1rem; max-width: 900px; color: #fff; }
.expedition-hero p  { font-size: 1.1rem; max-width: 620px; color: rgba(255,255,255,.85); }
.expedition-hero .eyebrow {
  display: block;
  text-align: center;
  color: #1a1008;
  font-size: .82rem;
  letter-spacing: .28em;
  position: relative;
  padding: .45em 3em;
  width: fit-content;
  margin: 0 auto .5rem;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(230,210,160,.15) 8%,
    rgba(240,222,170,.82) 20%,
    rgba(248,233,185,.95) 38%,
    rgba(250,237,190,1) 50%,
    rgba(248,233,185,.95) 62%,
    rgba(240,222,170,.82) 80%,
    rgba(230,210,160,.15) 92%,
    transparent 100%
  );
  border-top: 1px solid rgba(160,120,50,.35);
  border-bottom: 1px solid rgba(160,120,50,.35);
  box-shadow: inset 0 1px 0 rgba(255,245,200,.6), inset 0 -1px 0 rgba(120,80,20,.18);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
}
.detail-main h2 {
  margin-top: 0;
  font-size: 1.8rem;
}
.detail-main h3 {
  font-family: var(--font-display);
  color: var(--c-forest-mid);
  font-size: 1.2rem;
  margin-top: 2.5rem;
}
.detail-main p { font-size: 1.05rem; color: var(--c-text-dim); }
.highlights-list li {
  padding: .75rem 0;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--c-text-dim);
}
.highlights-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
}

.fact-sheet {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  align-self: start;
  box-shadow: 0 4px 24px rgba(27,34,19,.08);
}
.fact-sheet h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--c-forest-mid);
}
.fact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
  border-bottom: 1px solid var(--c-border);
  gap: 1rem;
}
.fact-row:last-of-type { border-bottom: 0; }
.fact-label {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-text-mute);
  font-family: var(--font-mono);
}
.fact-value {
  font-weight: 700;
  color: var(--c-text);
  text-align: right;
  font-size: .95rem;
  font-family: var(--font-mono);
}
.fact-sheet .btn { width: 100%; margin-top: 1.5rem; }

@media (max-width: 860px) {
  .detail-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .fact-sheet { position: static; }
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: .75rem;
  margin-top: 1.5rem;
}
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .3s var(--ease);
  border: 1px solid var(--c-border);
}
.gallery img:hover { transform: scale(.99); filter: brightness(.9); }
.gallery .g1 { grid-column: span 7; aspect-ratio: 16/10; }
.gallery .g2 { grid-column: span 5; aspect-ratio: 4/3; }
.gallery .g3 { grid-column: span 5; aspect-ratio: 4/3; }
.gallery .g4 { grid-column: span 7; aspect-ratio: 16/10; }
@media (max-width: 700px) {
  .gallery .g1, .gallery .g2, .gallery .g3, .gallery .g4 {
    grid-column: span 12;
    aspect-ratio: 16/10;
  }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.93);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: calc(100vw - 140px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  transition: opacity .2s ease;
  user-select: none;
}
.lightbox img.fading { opacity: 0; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.5rem;
  transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.28); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s;
  z-index: 10;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.28); }
.lightbox-prev:active { transform: translateY(-50%) scale(.92); }
.lightbox-next:active { transform: translateY(-50%) scale(.92); }
.lightbox-counter {
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: .82rem;
  letter-spacing: .1em;
  font-family: var(--font-mono);
  background: rgba(0,0,0,.4);
  padding: .3rem .8rem;
  border-radius: 999px;
}

/* ---------- Gallery grid (many photos) ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
  margin-top: 1.5rem;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: zoom-in;
  transition: transform .25s var(--ease), opacity .2s;
}
.gallery-grid img:hover { transform: scale(1.02); opacity: .92; }

/* ---------- About page ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-intro img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  border: 3px solid var(--c-border);
}
.philosophy-row {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3.5rem;
  align-items: stretch;
}
.philosophy-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.philosophy-card {
  min-height: 100%;
}
.philosophy-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid var(--c-border);
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
  display: block;
}
@media (max-width: 860px) {
  .philosophy-row { grid-template-columns: 1fr; }
  .philosophy-card img { min-height: unset; aspect-ratio: 16/9; height: auto; }
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.team-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: box-shadow .3s var(--ease);
}
.team-card:hover {
  box-shadow: 0 8px 32px rgba(27,34,19,.1);
}
.team-card img {
  width: 120px; height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--c-accent);
}
.team-card h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.team-card .role {
  font-size: .78rem;
  color: var(--c-forest-mid);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-family: var(--font-mono);
}
.team-card p { font-size: .9rem; margin-top: .75rem; }
.team-photo-placeholder {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--c-accent);
  background: var(--c-bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-photo-placeholder span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-forest-mid);
  font-family: var(--font-serif);
  letter-spacing: .05em;
}

@media (max-width: 860px) {
  .about-intro { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
}
.contact-info h2 { margin-top: 0; }
.contact-info .info-row {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-info .info-row span:first-child {
  color: var(--c-forest-mid);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  min-width: 90px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.form {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  box-shadow: 0 4px 24px rgba(27,34,19,.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: .78rem;
  color: var(--c-text-mute);
  margin-bottom: .4rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: var(--font-mono);
}
.field input,
.field textarea {
  width: 100%;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  color: var(--c-text);
  font: inherit;
  transition: border-color .2s var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-top: .5rem;
}
.checkbox {
  display: flex;
  gap: .65rem;
  align-items: center;
  font-size: .88rem;
  color: var(--c-text-dim);
  cursor: pointer;
  padding: .4rem 0;
}
.checkbox input {
  appearance: none;
  width: 16px; height: 16px;
  border: 1px solid var(--c-border-2);
  border-radius: 3px;
  background: #fff;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox input:checked {
  background: var(--c-accent);
  border-color: var(--c-accent);
}
.checkbox input:checked::after {
  content: "✓";
  color: #fff;
  position: absolute;
  top: -3px; left: 2px;
  font-size: .82rem;
  font-weight: 700;
}
.form-success {
  display: none;
  padding: 2rem;
  background: rgba(200,153,30,.08);
  border: 1px solid var(--c-accent);
  border-radius: var(--radius);
  color: var(--c-accent-dark);
  margin-top: 1rem;
  text-align: center;
  font-weight: 700;
}
.form-success.visible { display: block; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
  .form { padding: 1.5rem; }
}

/* ---------- Blog ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.post-card {
  display: block;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s var(--ease);
}
.post-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(200,153,30,.14);
}
.post-card img { aspect-ratio: 16/10; object-fit: cover; }
.post-body { padding: 1.4rem; }
.post-body h3 { font-size: 1.2rem; line-height: 1.25; margin-bottom: .5rem; }

/* ---------- Other trips teaser ---------- */
.trip-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.trip-type {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all .3s var(--ease);
  cursor: pointer;
}
.trip-type:hover {
  border-color: var(--c-accent);
  box-shadow: 0 8px 28px rgba(200,153,30,.12);
  background: var(--c-bg-2);
}
.trip-type h3 {
  font-family: var(--font-display);
  color: var(--c-forest-mid);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-forest-dark);
  border-top: 3px solid var(--c-accent);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}
/* Subtle Maya pattern on footer too */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='56' viewBox='0 0 100 56'%3E%3Crect x='44' y='4' width='12' height='7' fill='%23000' opacity='.18'/%3E%3Crect x='37' y='11' width='26' height='7' fill='%23000' opacity='.14'/%3E%3Crect x='30' y='18' width='40' height='7' fill='%23000' opacity='.10'/%3E%3Crect x='23' y='25' width='54' height='7' fill='%23000' opacity='.07'/%3E%3Crect x='10' y='42' width='6' height='6' transform='rotate(45 13 45)' fill='%23000' opacity='.12'/%3E%3Crect x='30' y='42' width='6' height='6' transform='rotate(45 33 45)' fill='%23000' opacity='.10'/%3E%3Crect x='50' y='42' width='6' height='6' transform='rotate(45 53 45)' fill='%23000' opacity='.12'/%3E%3Crect x='70' y='42' width='6' height='6' transform='rotate(45 73 45)' fill='%23000' opacity='.10'/%3E%3Crect x='90' y='42' width='6' height='6' transform='rotate(45 93 45)' fill='%23000' opacity='.12'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px auto;
}
.site-footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: .9rem;
  max-width: 300px;
  margin-top: 1rem;
  color: rgba(255,255,255,.6);
}
.footer-brand .brand { color: #fff; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.footer-col a {
  display: block;
  padding: .35rem 0;
  font-size: .92rem;
  color: rgba(255,255,255,.6);
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: #fff; }
.newsletter-box {
  display: flex;
  margin-top: 1rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  overflow: hidden;
  padding: 4px;
}
.newsletter-box input {
  flex: 1;
  background: transparent;
  border: 0;
  color: #fff;
  padding: .55rem 1rem;
  font: inherit;
  outline: none;
}
.newsletter-box input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-box button {
  background: var(--c-accent);
  color: #fff;
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: background .25s var(--ease);
}
.newsletter-box button:hover { background: var(--c-accent-hover); }
.socials {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
}
.socials a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all .25s var(--ease);
}
.socials a:hover {
  border-color: var(--c-accent);
  background: var(--c-accent);
  color: #fff;
}
.socials svg { width: 16px; height: 16px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
}

/* ---------- Utility ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.fade-in { animation: fadeIn .6s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
