/* ============================================================
   GRUPO SINGLEFIN · HOME del grupo (portada de marca)
   Lienzo oscuro premium; cada local aporta su color.
   ============================================================ */
*{ margin:0; padding:0; box-sizing:border-box; }
:root{
  --bg:#0a1420; --bg2:#0c1a29; --ink:#f2ecdd; --mut:#a9b4c0;
  --line:rgba(242,236,221,.14);
  --gold:#c9a15b;
  --f-disp:"Bricolage Grotesque", "Outfit", system-ui, sans-serif;
  --f-body:"Inter", system-ui, sans-serif;
  --ease:cubic-bezier(.4,0,.2,1);
}
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
  font-family:var(--f-body); background:var(--bg); color:var(--ink);
  overflow-x:hidden; line-height:1.5;
}
img{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
.eyebrow{ text-transform:uppercase; letter-spacing:.26em; font-size:.68rem; font-weight:600; }

/* ---------------- TOP BAR ---------------- */
.topbar{
  position:fixed; inset:0 0 auto 0; z-index:50; display:flex; align-items:center; justify-content:space-between;
  padding:1rem clamp(1.1rem,4vw,2.4rem); transition:background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
  border-bottom:1px solid transparent;
}
.topbar.solid{ background:rgba(8,16,26,.82); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-bottom-color:var(--line); padding-top:.7rem; padding-bottom:.7rem; }
.topbar__brand{ display:flex; align-items:center; gap:.55rem; font-family:var(--f-disp); font-size:1.05rem; font-weight:600; letter-spacing:.01em; }
.topbar__brand svg{ width:22px; height:22px; }
.topbar__cta{ display:inline-flex; align-items:center; gap:.4rem; font-size:.78rem; font-weight:600;
  border:1px solid var(--line); border-radius:999px; padding:.5rem .9rem; transition:all .2s var(--ease); }
.topbar__cta:hover{ background:var(--ink); color:var(--bg); border-color:var(--ink); }
.topbar__cta svg{ width:14px; height:14px; }

/* ---------------- HERO ---------------- */
.hero{ position:relative; min-height:100svh; display:grid; align-items:end; overflow:hidden; }
.hero__media{ position:absolute; inset:0; z-index:0; }
.hero__media img{ width:100%; height:100%; object-fit:cover; animation:kb 22s var(--ease) infinite alternate; }
@keyframes kb{ from{ transform:scale(1.02) } to{ transform:scale(1.14) translateY(-2%) } }
.hero__scrim{ position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(8,16,26,.55) 0%, rgba(8,16,26,.15) 34%, rgba(8,16,26,.7) 78%, rgba(8,16,26,.96) 100%); }
.hero__in{ position:relative; z-index:2; padding:0 clamp(1.2rem,5vw,4rem) clamp(3rem,8vh,6rem); max-width:1200px; }
.hero__eyebrow{ color:var(--gold); margin-bottom:1.1rem; }
.hero__title{ font-family:var(--f-disp); font-weight:700; line-height:1; letter-spacing:-.02em;
  font-size:clamp(2.9rem,10vw,6.6rem); text-wrap:balance; }
.hero__title em{ font-style:normal; color:var(--gold); }
.hero__sub{ margin-top:1.3rem; max-width:36ch; color:#e7e2d5; font-size:clamp(1rem,2.4vw,1.22rem); }
.hero__scroll{ margin-top:2.2rem; display:inline-flex; align-items:center; gap:.6rem; font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; color:var(--mut); }
.hero__scroll .ln{ width:46px; height:1px; background:currentColor; position:relative; overflow:hidden; }
.hero__scroll .ln::after{ content:""; position:absolute; inset:0; width:40%; background:var(--gold); animation:slide 2.4s var(--ease) infinite; }
@keyframes slide{ from{ transform:translateX(-120%) } to{ transform:translateX(320%) } }

/* ---------------- MANIFIESTO ---------------- */
.manifesto{ padding:clamp(3.5rem,10vh,7rem) clamp(1.2rem,5vw,4rem); max-width:900px; margin:0 auto; text-align:center; }
.manifesto__k{ color:var(--gold); margin-bottom:1.3rem; }
.manifesto__t{ font-family:var(--f-disp); font-weight:500; font-size:clamp(1.5rem,4.2vw,2.5rem); line-height:1.28; text-wrap:balance; }
.manifesto__t b{ font-weight:600; }
.manifesto__note{ margin-top:1.6rem; color:var(--mut); font-size:.98rem; max-width:52ch; margin-left:auto; margin-right:auto; }

/* ---------------- LOCALES (bandas cinematográficas) ---------------- */
.locales{ display:grid; }
.local{ position:relative; min-height:72vh; display:grid; align-items:end; overflow:hidden; isolation:isolate; }
.local__media{ position:absolute; inset:0; z-index:0; }
.local__media img{ width:100%; height:100%; object-fit:cover; transition:transform 1.1s var(--ease); }
.local:hover .local__media img{ transform:scale(1.06); }
.local__tint{ position:absolute; inset:0; z-index:1; background:var(--acc); opacity:.16; mix-blend-mode:multiply; }
.local__scrim{ position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(6,12,20,.5) 0%, rgba(6,12,20,.05) 30%, rgba(6,12,20,.72) 76%, rgba(6,12,20,.95) 100%); }
.local__no{ position:absolute; z-index:2; top:clamp(4.5rem,12vh,7rem); right:clamp(1rem,5vw,3rem);
  font-family:var(--f-disp); font-size:clamp(3rem,12vw,7rem); font-weight:600; line-height:1; color:rgba(242,236,221,.14); }
.local__body{ position:relative; z-index:3; padding:0 clamp(1.2rem,5vw,4rem) clamp(2.4rem,6vh,4.5rem); max-width:760px; }
.local__kicker{ color:var(--acc-lt); margin-bottom:.7rem; }
.local__name{ font-family:var(--f); font-weight:700; line-height:.98; letter-spacing:-.01em;
  font-size:clamp(2.6rem,9vw,5rem); color:var(--ink); }
.local--demar .local__name{ font-style:italic; font-weight:600; }
.local__tagline{ margin-top:.6rem; font-size:clamp(1.05rem,2.6vw,1.35rem); color:#eee7d8; max-width:26ch; }
.local__sig{ margin-top:1rem; display:flex; flex-wrap:wrap; gap:.5rem; }
.local__sig span{ font-size:.72rem; letter-spacing:.04em; color:#e9e3d5;
  border:1px solid rgba(242,236,221,.28); border-radius:999px; padding:.32rem .7rem; backdrop-filter:blur(4px); }
.local__cta{ margin-top:1.6rem; display:inline-flex; align-items:center; gap:.6rem; font-weight:600; font-size:.95rem;
  background:var(--acc); color:var(--acc-ink); border-radius:999px; padding:.85rem 1.5rem;
  box-shadow:0 10px 30px -10px var(--acc); transition:transform .2s var(--ease), box-shadow .2s var(--ease); }
.local:hover .local__cta{ transform:translateY(-2px); box-shadow:0 16px 40px -12px var(--acc); }
.local__cta svg{ width:17px; height:17px; }
.local__link{ position:absolute; inset:0; z-index:4; }

/* ---------------- SABORES (galería) ---------------- */
.flavors{ padding:clamp(3.5rem,9vh,6rem) 0; background:var(--bg2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.flavors__hd{ padding:0 clamp(1.2rem,5vw,4rem); margin-bottom:1.8rem; }
.flavors__k{ color:var(--gold); }
.flavors__t{ font-family:var(--f-disp); font-weight:600; font-size:clamp(1.8rem,5vw,2.8rem); margin-top:.5rem; }
.flavors__row{ display:flex; gap:1rem; overflow-x:auto; padding:0 0 1rem; scroll-snap-type:x proximity; scroll-padding-left:clamp(1.2rem,5vw,4rem); scrollbar-width:none; }
.flavors__row::-webkit-scrollbar{ display:none; }
.flavor{ flex:0 0 auto; width:min(74vw,320px); scroll-snap-align:start; }
.flavor:first-child{ margin-left:clamp(1.2rem,5vw,4rem); }
.flavor:last-child{ margin-right:clamp(1.2rem,5vw,4rem); }
.flavor__img{ position:relative; aspect-ratio:4/5; border-radius:16px; overflow:hidden; background:#12202f; }
.flavor__img img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
.flavor:hover .flavor__img img{ transform:scale(1.05); }
.flavor__cat{ position:absolute; top:.7rem; left:.7rem; z-index:2;
  font-size:.64rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:#12202f;
  background:var(--gold); border-radius:999px; padding:.32rem .66rem; box-shadow:0 4px 14px -4px rgba(0,0,0,.5); }
.flavor__ph{ position:absolute; inset:0; display:grid; place-items:center; align-content:center; gap:.6rem; text-align:center;
  color:#e9d9c2; background:linear-gradient(160deg,#3a2a20 0%, #241a17 60%, #1a1512 100%); }
.flavor__ph svg{ width:38px; height:38px; opacity:.85; }
.flavor__ph span{ font-size:.72rem; letter-spacing:.06em; color:#b9a894; }
.flavor__cap{ margin-top:.7rem; font-size:.9rem; }
.flavor__cap b{ display:block; font-weight:600; }
.flavor__cap span{ color:var(--mut); font-size:.8rem; }

/* ---------------- FOOTER ---------------- */
.foot{ padding:clamp(3.5rem,9vh,6rem) clamp(1.2rem,5vw,4rem) 3rem; max-width:1100px; margin:0 auto; text-align:center; }
.foot__brand{ display:inline-flex; align-items:center; gap:.6rem; font-family:var(--f-disp); font-size:1.5rem; font-weight:600; }
.foot__brand svg{ width:28px; height:28px; }
.foot__tag{ margin-top:.9rem; color:var(--mut); max-width:44ch; margin-left:auto; margin-right:auto; }
.foot__locales{ margin-top:2.2rem; display:flex; flex-wrap:wrap; justify-content:center; gap:.6rem; }
.foot__loc{ display:inline-flex; align-items:center; gap:.5rem; font-size:.85rem; font-weight:500;
  border:1px solid var(--line); border-radius:999px; padding:.55rem 1rem; transition:all .2s var(--ease); }
.foot__loc:hover{ border-color:var(--dot); }
.foot__loc .dot{ width:9px; height:9px; border-radius:50%; background:var(--dot); }
.foot__info{ margin-top:2.4rem; color:var(--mut); font-size:.9rem; line-height:1.9; }
.foot__info a{ color:var(--ink); border-bottom:1px solid var(--line); }
.foot__credit{ margin-top:2.4rem; padding-top:1.6rem; border-top:1px solid var(--line); color:var(--mut); font-size:.76rem; }

/* ---------------- reveal on scroll ---------------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .hero__media img{ animation:none; }
  .hero__scroll .ln::after{ animation:none; }
}

/* ---------------- desktop: bandas alternas ---------------- */
@media (min-width:900px){
  .local{ min-height:92vh; }
  .local__body{ max-width:640px; }
}
