/* ================================================================
   MACABI NOAR — globals.css
   Shared across all area pages (nav, footer, hero, btns, animations)
================================================================ */

:root {
  --c-sky: #2BA8E0;
  --c-indigo: #2D4D9E;
  --c-forest: #4FB748;
  --c-sun: #FFC527;
  --c-citrus: #F39021;
  --c-coral: #E94849;
  --pure: #FFFFFF;
  --bone: #FAFAF9;
  --mist: #ECECEA;
  --fog: #C9C9C5;
  --stone: #6B6B66;
  --ink: #0E0E0C;
  --f-display: 'Sora', sans-serif;
  --f-body: 'Manrope', sans-serif;
  --f-mono: 'JetBrains Mono', monospace;
  --s-1: 4px; --s-2: 8px; --s-3: 16px; --s-4: 24px; --s-5: 32px;
  --s-6: 48px; --s-7: 64px; --s-8: 96px; --s-9: 128px;
  --container: 1280px;
  --nav-h: 72px;
  --r-sm: 4px; --r-md: 8px; --r-pill: 999px;
  --shadow-sm: 0 4px 12px rgba(14,14,12,.07);
  --shadow-md: 0 8px 32px rgba(14,14,12,.09);
  --shadow-lg: 0 20px 60px rgba(14,14,12,.13);
  /* Per-area overrides */
  --accent: var(--c-coral);
  --accent-stripe: linear-gradient(90deg, var(--c-coral), var(--c-citrus) 40%, var(--c-sun));
  --hero-gradient: linear-gradient(90deg, var(--c-sky) 0%, var(--c-indigo) 20%, var(--c-coral) 38%, var(--c-citrus) 56%, var(--c-sun) 74%, var(--c-forest) 100%);
  --hero-overlay-gradient: linear-gradient(to top, rgba(5,5,5,.97) 0%, rgba(5,5,5,.55) 55%, rgba(5,5,5,.15) 100%);
  --hero-bg: #0a0507;
  --contact-gradient: linear-gradient(135deg, #1a1a1a, var(--ink));
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 15px;
  /* overflow-x: clip no rompe position:fixed en iOS */
  overflow-x: clip;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--f-body);
  background: var(--pure);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* clip (no hidden) preserva position:fixed pero corta overflow horizontal */
  overflow-x: clip;
  margin-top: -21px;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: all .22s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary  { background: var(--ink); color: var(--pure); }
.btn-primary:hover { background: var(--accent); }
.btn-white    { background: var(--pure); color: var(--ink); }
.btn-white:hover { background: var(--bone); }
.btn-ghost    { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--pure); }
.btn-outline-white { background: transparent; color: var(--pure); border: 1.5px solid rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.8); }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 100;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.site-nav.scrolled {
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--mist);
  box-shadow: 0 2px 20px rgba(14,14,12,.06);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-6);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
/* Estilo base (Mobile First): Se aplica a móviles por defecto */
.nav-brand img { 
    width: 125px; 
    flex-shrink: 0; 
}

/* Estilo para Desktop: Se activa cuando la pantalla mide 768px o más */
@media (min-width: 768px) {
    .nav-brand img { 
        width: 170px; 
    }
}
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.01em;
  color: var(--pure);
  transition: color .35s;
}
.nav-brand-sub {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  transition: color .35s;
}
.site-nav.scrolled .nav-brand-name { color: var(--ink); }
.site-nav.scrolled .nav-brand-sub  { color: var(--stone); }

.nav-links { display: flex; align-items: center; }
.nav-links a {
  font-family: var(--f-body);
  font-size: 14px;
  color: rgba(255,255,255,.8);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--pure); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 14px; right: 14px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}
.site-nav.scrolled .nav-links a { color: var(--stone); }
.site-nav.scrolled .nav-links a:hover,
.site-nav.scrolled .nav-links a.active { color: var(--ink); }

.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--pure);
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  min-width: 190px;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s;
  z-index: 200;
}
.nav-item:hover .nav-dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown a {
  display: block;
  font-size: 13px;
  padding: 9px 12px;
  border-radius: 4px;
  color: var(--stone) !important;
  transition: background .15s, color .15s;
}
.nav-dropdown a:hover  { background: var(--bone); color: var(--ink) !important; }
.nav-dropdown a.active { background: var(--bone); color: var(--ink) !important; font-weight: 500; }
.nav-dropdown a.active::after { display: none; }
.nav-cta { margin-left: var(--s-3); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--pure);
  border-radius: 1px;
  transition: all .25s;
}
.site-nav.scrolled .nav-hamburger span { background: var(--ink); }
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 99;
  padding: calc(var(--nav-h) + 24px) var(--s-5) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 200;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: var(--pure);
  flex-shrink: 0;
}
.mobile-menu a:hover { color: var(--accent); }

/* ── NAV LOGO — visible on dark transparent nav ── */
.site-nav:not(.scrolled) .nav-brand img {
  filter: brightness(0) invert(1);
  opacity: .92;
}
.site-nav:not(.scrolled) .nav-brand-name { color: var(--pure); }

/* ── AREA HERO (shared) ── */
.area-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* centrado vertical */
  align-items: flex-start;   /* texto a la izquierda */
  overflow: hidden;
  background: var(--hero-bg);
}
.area-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
  z-index: 0;
}
/* Fallback image when video not supported */
.area-hero-img-fallback {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .32;
  z-index: 0;
  animation: heroKB 20s ease-in-out infinite alternate;
}
@keyframes heroKB {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}
.area-hero-gradient {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay-gradient);
  z-index: 1;
}
.area-hero-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent-stripe);
  z-index: 3;
}
.area-hero-inner {
  position: relative;
  z-index: 2;
  /* El contenido se centra gracias al justify-content:center del padre.
     padding-top = altura del nav para que el texto quede debajo de él */
  padding-top: calc(var(--nav-h) + var(--s-4));
  padding-bottom: var(--s-6);
  width: 100%;
}
.breadcrumb-dark {
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255,255,255,.35);
  letter-spacing: .06em;
  margin-bottom: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumb-dark a { color: rgba(255,255,255,.45); transition: color .2s; }
.breadcrumb-dark a:hover { color: rgba(255,255,255,.9); }
.breadcrumb-dark span { color: rgba(255,255,255,.18); }

.area-hero-tag {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.area-hero-tag::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--accent);
}
.area-hero-title {
  font-family: var(--f-display);
  font-weight: 200;
  font-size: clamp(52px, 8vw, 96px);
  letter-spacing: -.04em;
  line-height: .9;
  color: var(--pure);
  margin-bottom: var(--s-5);
}
.area-hero-title strong {
  font-weight: 800;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}
.area-hero-lead {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  max-width: 620px;
  font-weight: 300;
  line-height: 1.7;
}
.area-hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,.08);
}
.area-hero-bottom-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
}

/* ── SECTION COMMONS ── */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--s-3);
}
.section-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -.025em;
  line-height: 1.05;
}
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
  border-bottom: 1px solid var(--mist);
  padding-bottom: var(--s-4);
}
.body-text { font-size: 16px; color: var(--stone); line-height: 1.72; }

/* ── CONTACT STRIP (shared) ── */
.area-contact {
  background: var(--contact-gradient);
  padding: var(--s-8) 0;
}
.area-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.ac-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: var(--s-2);
}
.ac-title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(24px, 3.5vw, 40px);
  letter-spacing: -.02em;
  color: var(--pure);
  line-height: 1.1;
}
.ac-title strong { font-weight: 700; color: var(--accent); }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--mist);
  padding: var(--s-8) 0 var(--s-5);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--s-6);
}
.footer-brand-name {
  font-family: var(--f-display);
  font-weight: 200;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -.04em;
  line-height: .95;
  margin: 12px 0 16px;
}
.footer-brand-name em {
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(115deg, var(--c-coral), var(--c-citrus) 30%, var(--c-sun) 50%, var(--c-forest) 70%, var(--c-sky), var(--c-indigo));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-tagline { font-size: 14px; color: var(--stone); max-width: 260px; line-height: 1.55; }
.footer-col h4 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--mist);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 14px; color: var(--stone); transition: color .2s; }
.footer-col ul li a:hover { color: var(--ink); }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--mist);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  transition: border-color .2s, color .2s, background .2s;
}
.social-link:hover { border-color: var(--ink); color: var(--ink); background: var(--bone); }
.footer-bottom {
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid var(--mist);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-family: var(--f-mono); font-size: 11px; color: var(--stone); letter-spacing: .04em; }
.footer-bottom a { color: var(--stone); }
.footer-bottom a:hover { color: var(--ink); }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
.fade-in-l {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in-l.visible { opacity: 1; transform: none; }
.fade-in-r {
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in-r.visible { opacity: 1; transform: none; }

.stagger .fade-in:nth-child(1) { transition-delay: .03s; }
.stagger .fade-in:nth-child(2) { transition-delay: .09s; }
.stagger .fade-in:nth-child(3) { transition-delay: .15s; }
.stagger .fade-in:nth-child(4) { transition-delay: .21s; }
.stagger .fade-in:nth-child(5) { transition-delay: .27s; }
.stagger .fade-in:nth-child(6) { transition-delay: .33s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --s-9: 80px; }

  .container { padding: 0 var(--s-4); }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  /* Hero */
  .area-hero {
    min-height: 100svh;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
  }
  .area-hero-inner {
    padding-top: calc(var(--nav-h) + var(--s-3));
    padding-bottom: var(--s-7);
    text-align: center;
  }
  .area-hero-title { font-size: clamp(38px, 10vw, 56px); }
  .area-hero-lead { font-size: 15px; max-width: 100%; margin-left: auto; margin-right: auto; }
  .breadcrumb-dark { justify-content: center; }
  .area-hero-tag { justify-content: center; }
  .area-hero-bottom { flex-direction: column; align-items: center; gap: var(--s-3); }
  .area-hero-bottom > div { width: 100%; }
  .area-hero-bottom > div:last-child { display: flex; flex-direction: row; gap: var(--s-2); flex-wrap: wrap; justify-content: center; }

  /* Contact */
  .area-contact-inner { flex-direction: column; text-align: center; }
  .area-contact-inner > div:last-child { justify-content: center; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .area-hero-title { font-size: clamp(32px, 9vw, 44px); }
  .area-hero-lead { font-size: 14px; }
}

/* ══════════════════════════════════════════════
   MOBILE — colapso universal de grids y overflow
══════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Contenedores que no deben desbordar */
  img, video, svg, iframe, figure { max-width: 100%; }
  .container { max-width: 100%; }

  /* Colapso de grids con inline styles — variantes de 2 columnas */
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1.1fr 1fr"],
  [style*="grid-template-columns: 1.1fr 1fr"],
  [style*="grid-template-columns:1fr 1.1fr"],
  [style*="grid-template-columns: 1fr 1.1fr"],
  [style*="grid-template-columns:1fr 1.2fr"],
  [style*="grid-template-columns: 1fr 1.2fr"],
  [style*="grid-template-columns:1.2fr 1fr"],
  [style*="grid-template-columns: 1.2fr 1fr"],
  [style*="grid-template-columns:1.3fr 1fr"],
  [style*="grid-template-columns: 1.3fr 1fr"],
  [style*="grid-template-columns:1.8fr 1fr"],
  [style*="grid-template-columns: 1.8fr 1fr"] { grid-template-columns: 1fr !important; }

  /* Colapso de grids de 2 columnas con repeat */
  [style*="grid-template-columns:repeat(2,1fr)"],
  [style*="grid-template-columns: repeat(2,1fr)"],
  [style*="grid-template-columns:repeat(2, 1fr)"],
  [style*="grid-template-columns: repeat(2, 1fr)"] { grid-template-columns: 1fr !important; }

  /* Colapso de grids de 3 columnas */
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; }

  /* Colapso de grids de 4 columnas */
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(4, 1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: 1fr 1fr !important; }

  /* Flex rows que deben volverse columna en mobile */
  .area-hero-bottom,
  .newsletter-inner,
  .insta-inner,
  .contact-strip-inner,
  .otros-card-body { flex-direction: column !important; }

  /* Tablas con wrapper scroll — sin desborde */
  .grupos-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Blobwrap: desactivar blobs en mobile para no causar overflow */
  .blob-light::before, .blob-light::after,
  .blob-dark::before, .blob-dark::after { width: 300px; height: 300px; }
}

/* ══════════════════════════════════════════════
   BLOB / TECH BACKGROUNDS — difuminados animados
══════════════════════════════════════════════ */
@keyframes blob-float-a {
  0%,100% { transform: translate(0,0) scale(1); }
  30%     { transform: translate(40px,-30px) scale(1.06); }
  65%     { transform: translate(-25px,20px) scale(0.96); }
}
@keyframes blob-float-b {
  0%,100% { transform: translate(0,0) scale(1); }
  35%     { transform: translate(-35px,25px) scale(1.04); }
  70%     { transform: translate(30px,-18px) scale(0.97); }
}

.blob-wrap { position: relative; overflow: hidden; }
.blob-wrap > .container,
.blob-wrap > div { position: relative; z-index: 1; }

/* Blobs como pseudo-elementos sobre backgrounds claros */
.blob-light::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(233,72,73,.065) 0%, transparent 70%);
  filter: blur(70px);
  top: -180px; left: -200px;
  pointer-events: none; z-index: 0;
  animation: blob-float-a 18s ease-in-out infinite;
}
.blob-light::after {
  content: '';
  position: absolute;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(43,168,224,.06) 0%, transparent 70%);
  filter: blur(80px);
  bottom: -100px; right: -150px;
  pointer-events: none; z-index: 0;
  animation: blob-float-b 22s ease-in-out infinite;
}
.blob-dark::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(43,168,224,.10) 0%, transparent 70%);
  filter: blur(80px);
  top: -100px; left: -100px;
  pointer-events: none; z-index: 0;
  animation: blob-float-a 20s ease-in-out infinite;
}
.blob-dark::after {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(79,183,72,.08) 0%, transparent 70%);
  filter: blur(90px);
  bottom: -80px; right: -80px;
  pointer-events: none; z-index: 0;
  animation: blob-float-b 25s ease-in-out infinite;
}

/* ══════════════════════════════════════════════
   IMAGE SLOTS — contenedores para imágenes
══════════════════════════════════════════════ */
.img-slot {
  width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bone);
  border: 1.5px dashed var(--mist);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.img-slot::after {
  content: 'Imagen';
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fog);
}
.img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-slot img ~ * { display: none; } /* oculta el ::after cuando hay imagen */
.img-slot.img-slot--tall { aspect-ratio: 3/4; }
.img-slot.img-slot--square { aspect-ratio: 1; }
.img-slot.img-slot--wide { aspect-ratio: 21/9; }

/* ══════════════════════════════════════════════
   MOBILE NAV ACCORDION
══════════════════════════════════════════════ */
.mob-group { border-bottom: 1px solid rgba(255,255,255,.1); }
.mob-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 200;
  padding: 16px 0;
  color: var(--pure);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.mob-toggle:hover { color: var(--accent); }
.mob-arrow {
  font-family: var(--f-mono);
  font-size: 18px;
  font-weight: 400;
  transition: transform .25s;
  line-height: 1;
}
.mob-group.open .mob-arrow { transform: rotate(45deg); }
.mob-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mob-group.open .mob-sub { max-height: 400px; }
.mob-sub a {
  display: block;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 400;
  padding: 10px 0 10px var(--s-4);
  border-bottom: none;
  color: rgba(255,255,255,.65);
  border-top: 1px solid rgba(255,255,255,.06);
}
.mob-sub a:hover { color: var(--accent); }
.mobile-menu > a {
  border-bottom: 1px solid rgba(255,255,255,.1);
}
