/* =========================================================
   El Manglar de Bagheera — styles
   Paleta: manglar verde profundo + oro + crema. Branding logo.
   ========================================================= */

:root{
  --ink:        #081b16;   /* casi negro verdoso */
  --bg:         #0c2620;   /* fondo principal (manglar) */
  --bg-2:       #0e2c24;
  --panel:      #103128;   /* paneles */
  --panel-2:    #123a2e;
  --line:       rgba(201,162,78,.22);

  --green:      #1f6f4f;
  --green-deep: #123f2d;
  --green-soft: #2c8a63;

  --gold:       #c9a24e;
  --gold-2:     #e2c580;
  --gold-deep:  #a67f37;

  --cream:      #f4ecda;
  --text:       #e7ecdf;
  --muted:      #9fb3a6;

  --leaf-hole:  #0c2620;

  --maxw: 1180px;
  --radius: 18px;

  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-title:   "Cinzel", serif;
  --f-body:    "Jost", system-ui, sans-serif;

  --shadow: 0 24px 60px -24px rgba(0,0,0,.7);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:84px; }
body{
  margin:0;
  font-family:var(--f-body);
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
/* Capa de fondo fija (evita repintados en blanco al hacer scroll) */
body::before{
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(31,111,79,.22), transparent 60%),
    radial-gradient(900px 600px at 0% 20%, rgba(18,63,45,.35), transparent 55%),
    linear-gradient(180deg, var(--ink), var(--bg) 34%, var(--bg-2));
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 clamp(20px,5vw,40px); }

/* ---------- Typography helpers ---------- */
.eyebrow{
  font-family:var(--f-title);
  text-transform:uppercase;
  letter-spacing:.32em;
  font-size:.72rem;
  font-weight:600;
  color:var(--gold);
  margin:0 0 .9rem;
}
.eyebrow::before{ content:"❋  "; color:var(--gold-deep); }
.section__title{
  font-family:var(--f-display);
  font-weight:600;
  font-size:clamp(2rem,5.2vw,3.5rem);
  line-height:1.04;
  letter-spacing:.01em;
  margin:0 0 1.2rem;
  color:var(--cream);
}
.section__title.center{ text-align:center; }
.lead{ font-size:1.2rem; color:var(--text); margin:0 0 1rem; }
.body{ color:var(--muted); margin:0 0 1.4rem; }
.section__sub{ color:var(--muted); max-width:56ch; margin:.2rem auto 0; }
.center{ text-align:center; }

/* ---------- Buttons ---------- */
.btn{
  --_bg:transparent;
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  font-family:var(--f-title);
  font-weight:600;
  font-size:.82rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:.95em 1.7em;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  white-space:nowrap;
}
.btn .ico{ width:1.15em; height:1.15em; fill:currentColor; }
.btn--gold{
  background:linear-gradient(180deg,var(--gold-2),var(--gold));
  color:#26200d;
  box-shadow:0 12px 28px -12px rgba(201,162,78,.7);
}
.btn--gold:hover{ transform:translateY(-2px); box-shadow:0 18px 34px -12px rgba(201,162,78,.85); }
.btn--outline{ border-color:var(--gold); color:var(--gold-2); }
.btn--outline:hover{ background:rgba(201,162,78,.12); transform:translateY(-2px); }
.btn--ghost{ border-color:var(--line); color:var(--cream); }
.btn--ghost:hover{ border-color:var(--gold); color:var(--gold-2); }
.btn--block{ width:100%; }

/* ---------- Header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:60;
  transition:background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease, border-color .3s;
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(9,26,21,.82);
  backdrop-filter:blur(12px) saturate(1.2);
  border-bottom-color:var(--line);
  box-shadow:0 10px 30px -20px #000;
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:76px; }
.brand{ display:flex; align-items:center; gap:.7rem; }
.brand__mark{ width:46px; height:46px; border-radius:50%; box-shadow:0 0 0 1px var(--line); }
.brand__name{ display:flex; flex-direction:column; line-height:1; }
.brand__name b{ font-family:var(--f-title); font-weight:700; font-size:.98rem; letter-spacing:.12em; color:var(--cream); text-transform:uppercase; }
.brand__name i{ font-family:var(--f-display); font-style:italic; font-size:.92rem; color:var(--gold-2); letter-spacing:.04em; }

.nav{ display:flex; align-items:center; gap:1.9rem; }
.nav a{
  font-size:.9rem; letter-spacing:.06em; color:var(--text); font-weight:400;
  position:relative; padding:.3rem 0; transition:color .2s;
}
.nav a:not(.nav__cta)::after{
  content:""; position:absolute; left:0; bottom:-2px; height:1px; width:0;
  background:var(--gold); transition:width .3s ease;
}
.nav a:not(.nav__cta):hover{ color:var(--gold-2); }
.nav a:not(.nav__cta):hover::after{ width:100%; }
.nav__cta{ padding:.6em 1.3em; }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ width:26px; height:2px; background:var(--cream); border-radius:2px; transition:.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- Decorative leaves ---------- */
.deco-leaf{
  position:absolute; z-index:0; pointer-events:none;
  fill:var(--green-deep); stroke:var(--green); opacity:.4;
  filter:drop-shadow(0 20px 30px rgba(0,0,0,.35));
}
.deco-leaf use{ stroke:inherit; }
.deco-leaf--1{ width:230px; height:230px; top:-40px; right:-50px; transform:rotate(35deg); opacity:.5; }
.deco-leaf--2{ width:180px; height:180px; bottom:6%; left:-60px; transform:rotate(-25deg); opacity:.4; }
.deco-leaf--3{ width:150px; height:150px; top:14%; left:6%; transform:rotate(18deg); fill:var(--green); opacity:.22; }
.deco-leaf--4{ width:120px; height:120px; bottom:16%; right:9%; transform:rotate(-12deg); fill:var(--green); opacity:.2; }
.deco-leaf--5{ width:260px; height:260px; top:-60px; left:-70px; transform:rotate(-30deg); opacity:.35; }
.deco-leaf--6{ width:200px; height:200px; bottom:-40px; right:-40px; transform:rotate(20deg); fill:var(--green); opacity:.18; }

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height:100svh; display:flex; align-items:center; justify-content:center;
  text-align:center; padding:100px 0 76px; overflow:hidden;
}
.hero__bg{
  position:absolute; inset:0; z-index:0; overflow:hidden;
  background:url("assets/fotos/ambiente.jpg") center 28%/cover no-repeat;
  transform:scale(1.04);
  animation:heroZoom 18s ease-in-out infinite alternate;
}
.hero__bg::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(120% 85% at 50% 12%, rgba(8,27,22,.30), rgba(8,27,22,.72) 55%, rgba(8,27,22,.94)),
    linear-gradient(180deg, rgba(12,40,32,.55), rgba(8,27,22,.82));
}
@keyframes heroZoom{ from{ transform:scale(1.04) } to{ transform:scale(1.12) } }
.hero__glow{
  position:absolute; inset:0; z-index:1;
  background:radial-gradient(600px 420px at 50% 34%, rgba(201,162,78,.14), transparent 70%);
}
.hero__inner{ position:relative; z-index:2; display:flex; flex-direction:column; align-items:center; }
.hero__logo{
  width:clamp(140px,22vw,205px); height:auto; margin-bottom:1.2rem;
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.55));
  animation:floaty 7s ease-in-out infinite;
}
@keyframes floaty{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-10px) } }
.hero__title{
  font-family:var(--f-title); font-weight:700; text-transform:uppercase;
  font-size:clamp(2.4rem,8vw,5.2rem); line-height:.98; letter-spacing:.04em; margin:.2rem 0 0;
  color:var(--cream);
  text-shadow:0 4px 30px rgba(0,0,0,.5);
}
.hero__title span{
  display:block; font-family:var(--f-display); font-style:italic; font-weight:500; text-transform:none;
  font-size:.5em; letter-spacing:.02em; color:var(--gold-2); margin-top:.15em;
}
.hero__tagline{ max-width:44ch; margin:1.2rem auto 0; font-size:clamp(1.05rem,2.4vw,1.24rem); color:var(--text); }
.hero__cta{ display:flex; flex-wrap:wrap; gap:1rem; justify-content:center; margin-top:1.9rem; }

.hero__scroll{ position:absolute; bottom:26px; left:50%; transform:translateX(-50%); z-index:2; width:26px; height:42px; border:1px solid var(--line); border-radius:14px; display:flex; justify-content:center; }
.hero__scroll span{ width:3px; height:8px; background:var(--gold); border-radius:2px; margin-top:8px; animation:scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot{ 0%{ opacity:0; transform:translateY(-4px) } 40%{ opacity:1 } 80%,100%{ opacity:0; transform:translateY(12px) } }

/* ---------- Sections ---------- */
.section{ position:relative; padding:clamp(70px,11vw,130px) 0; overflow:hidden; }
.section--panel{
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(31,111,79,.16), transparent 60%),
    linear-gradient(180deg, var(--panel), var(--bg-2));
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.section__head{ position:relative; z-index:2; text-align:center; margin-bottom:clamp(2.4rem,5vw,3.6rem); }
.section__head .eyebrow{ display:inline-block; }

.grid-2{ position:relative; z-index:2; display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem,6vw,5rem); align-items:center; }
.grid-2--rev .events{ order:2; }

/* features list */
.features{ list-style:none; margin:1.6rem 0 0; padding:0; display:grid; gap:.85rem; }
.features li{ display:flex; align-items:center; gap:.9rem; font-size:1.02rem; color:var(--text); }
.feat-ico{
  flex:0 0 auto; width:34px; height:34px; display:grid; place-items:center;
  border:1px solid var(--line); border-radius:50%; color:var(--gold-2); font-size:1rem;
  background:rgba(201,162,78,.06);
}

/* local medallion */
.local__media{ display:flex; justify-content:center; }
.medallion-frame{ position:relative; padding:24px; }
.medallion-frame::before{
  content:""; position:absolute; inset:0; border-radius:50%;
  border:1px solid var(--line);
  background:radial-gradient(circle at 50% 40%, rgba(201,162,78,.1), transparent 70%);
}
.medallion-frame::after{
  content:""; position:absolute; inset:-14px; border-radius:50%;
  border:1px dashed rgba(201,162,78,.25);
}
.medallion-frame img{ position:relative; width:min(78vw,380px); height:auto; border-radius:50%; filter:drop-shadow(0 24px 50px rgba(0,0,0,.5)); animation:floaty 8s ease-in-out infinite; }

/* photo frame (El Local) */
.photo-frame{
  position:relative; margin:0; padding:12px; max-width:min(86vw,430px);
  border:1px solid var(--line); border-radius:calc(var(--radius) + 6px);
  background:linear-gradient(160deg, rgba(201,162,78,.14), rgba(18,58,46,.25));
}
.photo-frame::after{
  content:""; position:absolute; inset:22px; border:1px solid rgba(201,162,78,.25); border-radius:var(--radius); pointer-events:none; z-index:2;
}
.photo-frame img{
  width:100%; height:auto; border-radius:var(--radius); display:block;
  box-shadow:0 26px 54px -22px rgba(0,0,0,.7);
}

/* ---------- Menu card ---------- */
.menu-card{
  position:relative; z-index:2; max-width:640px; margin:0 auto;
  background:linear-gradient(180deg, rgba(16,49,40,.9), rgba(10,32,26,.94));
  border:1px solid var(--line); border-radius:var(--radius);
  padding:clamp(2rem,5vw,3.2rem) clamp(1.4rem,5vw,3rem) clamp(1.8rem,5vw,2.6rem);
  box-shadow:var(--shadow);
}
.menu-card::before{
  content:""; position:absolute; inset:10px; border:1px solid rgba(201,162,78,.14); border-radius:12px; pointer-events:none;
}
.menu-card__price{ text-align:center; margin-bottom:1.8rem; }
.menu-card__amount{ font-family:var(--f-display); font-weight:700; font-size:clamp(3rem,9vw,4.4rem); color:var(--gold-2); line-height:1; }
.menu-card__amount small{ font-size:.4em; vertical-align:super; margin-left:.05em; }
.menu-card__per{ display:block; font-family:var(--f-title); text-transform:uppercase; letter-spacing:.28em; font-size:.72rem; color:var(--muted); margin-top:.4rem; }

.menu-block{ text-align:center; }
.menu-block__title{
  font-family:var(--f-display); font-weight:600; font-size:1.7rem; color:var(--cream); margin:0 0 .8rem;
}
.menu-block__title span{ font-family:var(--f-body); text-transform:uppercase; letter-spacing:.18em; font-size:.62rem; color:var(--gold); vertical-align:middle; margin-left:.4rem; }
.menu-list{ list-style:none; margin:0 auto; padding:0; max-width:420px; display:grid; gap:.55rem; }
.menu-list li{ font-family:var(--f-display); font-size:1.22rem; color:var(--text); }
.menu-note{ color:var(--muted); font-style:italic; font-family:var(--f-display); font-size:1.1rem; margin:.2rem 0 0; }

.menu-divider{ display:flex; align-items:center; gap:1rem; margin:1.8rem 0; color:var(--gold-deep); }
.menu-divider::before,.menu-divider::after{ content:""; height:1px; flex:1; background:linear-gradient(90deg,transparent,var(--line),transparent); }
.menu-divider span{ font-size:.7rem; color:var(--gold); }

.menu-card__foot{ display:flex; gap:.6rem; justify-content:center; flex-wrap:wrap; margin-top:1.8rem; }
.chip{
  font-family:var(--f-title); text-transform:uppercase; letter-spacing:.14em; font-size:.68rem; font-weight:600;
  color:var(--gold-2); border:1px solid var(--line); border-radius:999px; padding:.5em 1.1em; background:rgba(201,162,78,.05);
}
.menu-card__actions{ display:flex; gap:.9rem; justify-content:center; flex-wrap:wrap; margin-top:2rem; }

/* ---------- Events ---------- */
.events{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.event-tile{
  background:linear-gradient(180deg, rgba(18,58,46,.6), rgba(10,32,26,.6));
  border:1px solid var(--line); border-radius:16px; padding:1.5rem 1.3rem;
  transition:transform .3s ease, border-color .3s, background .3s;
}
.event-tile:hover{ transform:translateY(-5px); border-color:rgba(201,162,78,.5); }
.event-tile__ico{ font-size:1.7rem; display:block; margin-bottom:.6rem; }
.event-tile b{ font-family:var(--f-display); font-size:1.35rem; color:var(--cream); font-weight:600; }
.event-tile p{ margin:.3rem 0 0; color:var(--muted); font-size:.92rem; }

/* ---------- Galería ---------- */
.gallery{
  position:relative; z-index:2;
  display:grid; grid-template-columns:repeat(3,1fr); gap:1rem;
}
.gallery__item{
  position:relative; margin:0; padding:0; border:0; cursor:pointer; overflow:hidden;
  border-radius:16px; background:var(--panel);
  aspect-ratio:4/5; box-shadow:var(--shadow);
  outline:1px solid var(--line); outline-offset:-1px;
}
.gallery__item img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .7s cubic-bezier(.2,.7,.2,1), filter .5s;
}
.gallery__item::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, transparent 45%, rgba(6,20,15,.82));
  opacity:.7; transition:opacity .4s;
}
.gallery__item:hover img,.gallery__item:focus-visible img{ transform:scale(1.07); }
.gallery__item:hover::after{ opacity:.9; }
.gallery__item:focus-visible{ outline:2px solid var(--gold); outline-offset:2px; }
.gallery__cap{
  position:absolute; left:0; right:0; bottom:0; z-index:2;
  padding:1rem 1.1rem; text-align:left;
  font-family:var(--f-title); text-transform:uppercase; letter-spacing:.16em;
  font-size:.72rem; font-weight:600; color:var(--gold-2);
  transform:translateY(4px); opacity:.92; transition:transform .4s, opacity .4s;
}
.gallery__item:hover .gallery__cap{ transform:translateY(0); opacity:1; }
.gallery__item--tall{ grid-row:span 2; aspect-ratio:auto; }

@media (max-width:860px){
  .gallery{ grid-template-columns:repeat(2,1fr); }
  .gallery__item--tall{ grid-row:span 2; }
}
@media (max-width:520px){
  .gallery{ grid-template-columns:1fr 1fr; gap:.6rem; }
  .gallery__item--tall{ grid-column:span 2; grid-row:auto; aspect-ratio:4/3; }
  .gallery__cap{ font-size:.62rem; padding:.7rem; }
}

/* ---------- Horario ---------- */
.status{ display:inline-flex; align-items:center; gap:.6rem; margin-top:1.2rem; padding:.5em 1.2em; border:1px solid var(--line); border-radius:999px; font-size:.9rem; letter-spacing:.02em; background:rgba(0,0,0,.15); }
.status__dot{ width:9px; height:9px; border-radius:50%; background:var(--muted); box-shadow:0 0 0 0 rgba(0,0,0,0); }
.status.is-open .status__dot{ background:#54d98c; box-shadow:0 0 12px 2px rgba(84,217,140,.6); animation:pulse 2s infinite; }
.status.is-closed .status__dot{ background:#e06a6a; }
.status.is-open .status__text{ color:#a8ecc4; }
.status.is-closed .status__text{ color:#f0b3b3; }
@keyframes pulse{ 0%{ box-shadow:0 0 0 0 rgba(84,217,140,.5) } 70%{ box-shadow:0 0 0 8px rgba(84,217,140,0) } 100%{ box-shadow:0 0 0 0 rgba(84,217,140,0) } }

.hours{ position:relative; z-index:2; list-style:none; margin:0 auto; padding:0; max-width:620px; }
.hours li{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.05rem .4rem; border-bottom:1px solid rgba(201,162,78,.14);
  transition:background .3s, padding .3s;
}
.hours li:last-child{ border-bottom:0; }
.hours__day{ font-family:var(--f-display); font-size:1.35rem; color:var(--cream); }
.hours__time{ font-family:var(--f-body); font-size:1rem; color:var(--text); letter-spacing:.02em; }
.hours__time.closed{ color:var(--muted); font-style:italic; }
.hours li.today{
  background:linear-gradient(90deg, rgba(201,162,78,.12), transparent);
  border-radius:12px; padding-left:1.1rem; padding-right:1.1rem;
  border-bottom-color:transparent;
  box-shadow:inset 3px 0 0 var(--gold);
}
.hours li.today .hours__day{ color:var(--gold-2); }
.hours li.today .hours__day::after{ content:" · Hoy"; font-family:var(--f-title); font-size:.6rem; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); vertical-align:middle; }

/* ---------- Mapa ---------- */
.map-wrap{ position:relative; z-index:2; display:grid; grid-template-columns:1.6fr 1fr; gap:1.5rem; align-items:stretch; }
.map-frame{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; min-height:380px; box-shadow:var(--shadow); }
.map-frame iframe{ width:100%; height:100%; min-height:380px; border:0; filter:grayscale(.2) contrast(1.05); }
.map-side{ display:flex; }
.map-card{
  background:linear-gradient(180deg, rgba(18,58,46,.75), rgba(10,32,26,.85));
  border:1px solid var(--line); border-radius:var(--radius); padding:2rem; width:100%;
  display:flex; flex-direction:column; gap:.9rem; justify-content:center;
}
.map-card h3{ font-family:var(--f-display); font-weight:600; font-size:1.7rem; color:var(--cream); margin:0; }
.map-addr{ color:var(--muted); margin:0 0 .6rem; line-height:1.5; }

/* ---------- Footer ---------- */
.footer{ position:relative; background:linear-gradient(180deg, var(--bg-2), var(--ink)); border-top:1px solid var(--line); padding:clamp(3rem,6vw,4.5rem) 0 0; }
.footer__grid{ display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:2.5rem; padding-bottom:3rem; }
.footer__brand img{ width:72px; height:72px; border-radius:50%; box-shadow:0 0 0 1px var(--line); }
.footer__name{ font-family:var(--f-title); text-transform:uppercase; letter-spacing:.14em; font-weight:700; color:var(--cream); margin:.9rem 0 .2rem; line-height:1.3; }
.footer__name span{ font-family:var(--f-display); text-transform:none; font-style:italic; font-weight:500; color:var(--gold-2); letter-spacing:.02em; }
.footer__slogan{ color:var(--muted); font-size:.9rem; margin:0; }
.footer__col h4{ font-family:var(--f-title); text-transform:uppercase; letter-spacing:.18em; font-size:.8rem; color:var(--gold); margin:0 0 1.1rem; font-weight:600; }
.footer__col a{ display:block; color:var(--text); margin-bottom:.7rem; font-size:.95rem; transition:color .2s; }
.footer__col a:hover{ color:var(--gold-2); }
.footer__hours{ color:var(--muted); font-size:.92rem; line-height:1.9; margin:0; }
.footer__base{ border-top:1px solid var(--line); padding:1.4rem 0; text-align:center; }
.footer__base p{ margin:0; color:var(--muted); font-size:.82rem; letter-spacing:.04em; }

/* ---------- Floating WhatsApp ---------- */
.wa-float{
  position:fixed; right:20px; bottom:20px; z-index:70;
  width:58px; height:58px; border-radius:50%;
  background:linear-gradient(180deg,#37d366,#25b552);
  display:grid; place-items:center;
  box-shadow:0 14px 30px -10px rgba(37,181,82,.7), 0 0 0 6px rgba(37,181,82,.14);
  transition:transform .25s ease, box-shadow .25s ease;
  animation:waPulse 2.6s ease-in-out infinite;
}
.wa-float svg{ width:32px; height:32px; fill:#fff; }
.wa-float:hover{ transform:scale(1.08); }
@keyframes waPulse{ 0%,100%{ box-shadow:0 14px 30px -10px rgba(37,181,82,.7), 0 0 0 0 rgba(37,181,82,.35) } 50%{ box-shadow:0 14px 30px -10px rgba(37,181,82,.7), 0 0 0 12px rgba(37,181,82,0) } }

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed; inset:0; z-index:90; background:rgba(5,15,12,.92); backdrop-filter:blur(6px);
  display:flex; align-items:center; justify-content:center; padding:24px;
  opacity:0; visibility:hidden; transition:opacity .3s ease, visibility .3s;
}
.lightbox.open{ opacity:1; visibility:visible; }
.lightbox__figure{ margin:0; display:flex; flex-direction:column; align-items:center; gap:.9rem; max-width:min(92vw,600px); }
.lightbox img{ max-width:100%; max-height:82vh; border-radius:12px; box-shadow:0 30px 80px -20px #000; border:1px solid var(--line); }
.lightbox__cap{ font-family:var(--f-title); text-transform:uppercase; letter-spacing:.2em; font-size:.72rem; color:var(--gold-2); text-align:center; }
.lightbox__close{ position:absolute; top:18px; right:22px; width:44px; height:44px; background:rgba(0,0,0,.35); border:1px solid var(--line); border-radius:50%; color:var(--cream); font-size:1.3rem; cursor:pointer; line-height:1; transition:background .2s, border-color .2s; }
.lightbox__close:hover{ background:rgba(201,162,78,.2); border-color:var(--gold); }
.lightbox__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:52px; height:52px; border-radius:50%;
  background:rgba(0,0,0,.35); border:1px solid var(--line); color:var(--cream);
  font-size:2rem; line-height:1; cursor:pointer; display:grid; place-items:center;
  transition:background .2s, border-color .2s, transform .2s;
}
.lightbox__nav:hover{ background:rgba(201,162,78,.2); border-color:var(--gold); }
.lightbox__prev{ left:max(16px,3vw); }
.lightbox__next{ right:max(16px,3vw); }
.lightbox__nav[hidden]{ display:none; }
@media (max-width:520px){
  .lightbox__nav{ width:44px; height:44px; font-size:1.6rem; top:auto; bottom:22px; transform:none; }
  .lightbox__prev{ left:24px; } .lightbox__next{ right:24px; }
}

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

/* ---------- Responsive ---------- */
@media (max-width:860px){
  .nav{
    position:fixed; inset:76px 0 auto 0;
    flex-direction:column; align-items:stretch; gap:0;
    background:rgba(9,26,21,.97); backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
    padding:1rem clamp(20px,5vw,40px) 1.6rem;
    transform:translateY(-130%); transition:transform .4s cubic-bezier(.2,.8,.2,1);
    max-height:calc(100svh - 76px); overflow:auto;
  }
  .nav.open{ transform:translateY(0); }
  .nav a{ padding:1rem .2rem; border-bottom:1px solid rgba(201,162,78,.1); font-size:1.05rem; }
  .nav__cta{ margin-top:1rem; text-align:center; border:1px solid var(--gold); }
  .nav-toggle{ display:flex; }

  .grid-2{ grid-template-columns:1fr; }
  .grid-2--rev .events{ order:0; }
  .local__media{ order:-1; }
  .events{ order:0; }

  .map-wrap{ grid-template-columns:1fr; }
  .map-frame{ min-height:320px; }

  .footer__grid{ grid-template-columns:1fr; gap:2rem; text-align:center; }
  .footer__brand{ display:flex; flex-direction:column; align-items:center; }
  .footer__col a{ }
}

@media (max-width:520px){
  .events{ grid-template-columns:1fr; }
  .menu-list li{ font-size:1.12rem; }
  .hero__cta .btn{ width:100%; }
}

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