/* ══════════════════════════════════════════════════════════════
   GelatoMaps — PAGES DESIGN SYSTEM v1.0
   ══════════════════════════════════════════════════════════════
   Shared styles for all secondary pages (ranking, heladerias,
   sabores, recomendaciones, blog, promociones, inicio).
   Ensures visual consistency across the entire platform.

   Architecture:
     1. Reset & CSS Variables
     2. Body & Typography
     3. Header & Navigation
     4. Hero Section (base + page accents)
     5. Cards & Content containers
     6. Footer
     7. Mobile responsive
     8. Animations & Transitions
     9. Utilities
   ══════════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. RESET & CSS VARIABLES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }

/* ── CSS variables: todas vienen de design-tokens.css (cargado antes que este archivo).
   No se definen variables locales aquí. Si una página secundaria necesita
   sobreescribir un token, hacerlo en un bloque :root en el <style> de esa página. ── */


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. BODY & TYPOGRAPHY
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.5;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. HEADER & NAVIGATION — Rediseño v2.0 · 29 Mar 2026
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── Header shell ── */
#gl-hdr {
  position: sticky; top: 0; z-index: 500;
  /* Verde-oscuro marca — igual que profesionales.html, NO azul-navy */
  background: linear-gradient(180deg, rgba(8,14,14,.99) 0%, rgba(10,16,15,.97) 100%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 6px 28px rgba(0,0,0,.28);
}

/* Línea de acento sutil en la parte superior del header */
#gl-hdr::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(13,148,136,.35) 30%,
    rgba(13,148,136,.55) 50%,
    rgba(13,148,136,.35) 70%,
    transparent 100%
  );
}

.gl-hdr-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Logo ── */
.gl-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
  transition: all .18s;
}
.gl-logo:hover { opacity: .92; }
.gl-logo img {
  height: 42px; width: 42px;
  border-radius: 12px; object-fit: contain;
  /* Ring teal + sombra para que destaque sobre cualquier fondo */
  outline: 2px solid rgba(13,148,136,.55);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(13,148,136,.12), 0 3px 12px rgba(0,0,0,.45);
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .18s, outline-color .18s;
}
.gl-logo:hover img {
  transform: scale(1.07) rotate(-3deg);
  outline-color: rgba(94,234,212,.75);
  box-shadow: 0 0 0 5px rgba(13,148,136,.2), 0 4px 16px rgba(13,148,136,.35);
}
.gl-logo-name {
  font-family: var(--display);
  font-size: 19px; font-weight: 800;
  color: #ffffff;
  color: var(--color-white, #ffffff);
  letter-spacing: -.4px;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.gl-logo-name span { color: var(--color-accent-light, #5EEAD4); } /* teal — "Maps" */

/* ── Separador visual logo/nav ── */
.gl-hdr-sep {
  width: 1px; height: 22px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* ── Navegación principal ── */
.gl-nav {
  display: flex; align-items: center;
  gap: 2px; flex: 1;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
}
.gl-nav::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* Base de cada link */
.gl-nav a {
  position: relative;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 13px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.50);
  text-decoration: none !important;
  transition: color .18s, background .18s, border-color .18s, transform .2s cubic-bezier(.34,1.4,.64,1), box-shadow .18s;
  white-space: nowrap;
  border: 1px solid transparent;
  letter-spacing: .01em;
  outline: none;
}

/* Iconos por página — fuente única de verdad para iconos de nav */
.gl-nav a[href="/inicio/"]::before        { content: "🏠"; font-size: 12px; line-height: 1; }
/* Heladerías usa cone-pink-ui.png — evitamos emoji estándar blanco del sistema */
.gl-nav a[href="/heladerias/"]::before {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  background: url('/icons/markers/cone-pink-ui.png') center/contain no-repeat;
  vertical-align: middle;
  margin-right: 0;
}
.gl-nav a[href="/recomendaciones/"]::before { content: "⭐"; font-size: 11px; line-height: 1; }
.gl-nav a[href="/ranking/"]::before       { content: "🏆"; font-size: 12px; line-height: 1; }
.gl-nav a[href="/sabores/"]::before       { content: "🌿"; font-size: 12px; line-height: 1; }
.gl-nav a[href="/blog/"]::before          { content: "📖"; font-size: 11px; line-height: 1; }
.gl-nav a[href="/promociones/"]::before   { content: "🎁"; font-size: 12px; line-height: 1; }

/* Hover */
.gl-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.11);
  transform: translateY(-1px);
}

/* Foco accesible */
.gl-nav a:focus-visible {
  outline: 2px solid var(--teal-lt);
  outline-offset: 2px;
  border-radius: 22px;
}

/* Estado activo — página actual */
.gl-nav a.active {
  color: var(--teal-lt);
  background: linear-gradient(135deg, rgba(13,148,136,.22) 0%, rgba(13,148,136,.10) 100%);
  border-color: rgba(13,148,136,.35);
  font-weight: 700;
  box-shadow: 0 0 14px rgba(13,148,136,.14), inset 0 1px 0 rgba(255,255,255,.06);
}

/* Punto indicador activo bajo el texto */
.gl-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px;
  border-radius: 2px;
  background: var(--teal-lt);
  opacity: .6;
}

/* ── CTA "Ver mapa" ── */
.gl-cta-hdr {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 22px; border-radius: 22px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark, #0D7C72) 100%);
  color: #ffffff;
  color: var(--color-white, #ffffff);
  font-size: 13px; font-weight: 700;
  text-decoration: none !important; flex-shrink: 0;
  border: 1px solid rgba(13,148,136,.45);
  transition: all .2s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 2px 12px rgba(13,148,136,.22), inset 0 1px 0 rgba(255,255,255,.12);
  letter-spacing: .02em;
  white-space: nowrap;
}
.gl-cta-hdr:hover {
  background: linear-gradient(135deg, var(--color-accent-bright, #0F9E92) 0%, var(--color-accent, #0D9488) 100%);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 18px rgba(13,148,136,.38), inset 0 1px 0 rgba(255,255,255,.15);
}
.gl-cta-hdr:active {
  transform: translateY(0) scale(.99);
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. HERO SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.gl-hero {
  padding: 60px var(--sp-lg) 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  /* Default gradient — pages override the accent color */
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(13,148,136,.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--color-bg-deep-end, #0A1525) 100%);
}

/* Hero label/badge */
.gl-hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 24px;
  /* Default: teal accent — pages can override */
  background: rgba(13,148,136,.12);
  border: 1px solid rgba(13,148,136,.3);
  color: var(--teal-lt);
}

/* Hero title — color explícito para que nunca herede negro del navegador */
.gl-hero h1,
.gl-hero .gl-hero-title {
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -.02em;
  color: #ffffff;
  color: var(--white, #ffffff);
}
.gl-hero h1 em,
.gl-hero .gl-hero-title em {
  font-style: normal;
  color: var(--teal-lt, #5EEAD4);
}

/* Hero subtitle */
.gl-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.60);
  color: var(--mid, rgba(255,255,255,.60));
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* Hero stat numbers (promociones, heladerías) — siempre blancos */
.hero-stat-n,
.gl-hero-count-num,
.hero-stat strong {
  color: #ffffff;
  color: var(--white, #ffffff);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
/* Hero stat labels — visible por defecto */
.hero-stat-l,
.gl-hero-count-label {
  font-size: 11px;
  color: rgba(255,255,255,.72);
  margin-top: 3px;
}

/* ── Hero accent variants ── */
/* Gold accent (sabores, recomendaciones) */
.gl-hero--gold {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245,158,11,.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--color-bg-deep-end, #0A1525) 100%);
}
.gl-hero--gold .gl-hero-label {
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.3);
  color: var(--color-gold-highlight);
}
.gl-hero--gold h1 em { color: var(--color-gold-highlight); }

/* Orange accent (promociones) */
.gl-hero--orange {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(251,146,60,.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--color-bg-deep-end, #0A1525) 100%);
}
.gl-hero--orange .gl-hero-label {
  background: rgba(251,146,60,.12);
  border-color: rgba(251,146,60,.3);
  color: var(--color-orange-soft);
}
.gl-hero--orange h1 em { color: var(--color-orange-soft); }

/* ━━ PHOTO HERO VARIANT ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Applies when background-image is set inline on the section  */
.gl-hero.gl-hero--photo {
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Gradient overlay via ::before — sits between photo and text */
}
.gl-hero.gl-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5,10,20,.72) 0%,
    rgba(5,10,20,.58) 50%,
    rgba(5,10,20,.78) 100%
  );
  z-index: -1;
}
/* All direct children above overlay */
.gl-hero.gl-hero--photo > * {
  position: relative;
  z-index: 1;
}
/* Better text contrast on photo heroes */
.gl-hero.gl-hero--photo .gl-hero-sub {
  color: rgba(255,255,255,.90);
  text-shadow: 0 1px 10px rgba(0,0,0,.65);
}
.gl-hero.gl-hero--photo .hero-stat-l {
  color: rgba(255,255,255,.78);
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.gl-hero.gl-hero--photo .hero-stat-n {
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.gl-hero.gl-hero--photo h1,
.gl-hero.gl-hero--photo .gl-hero-title {
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}
/* gl-hero-inner centers content inside photo hero */
.gl-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Big hero variant (inicio) */
.gl-hero--big {
  padding: 80px var(--sp-lg) 64px;
}
.gl-hero--big h1 {
  font-size: clamp(40px, 8vw, 80px);
  letter-spacing: -.03em;
}
.gl-hero--big .gl-hero-sub {
  font-size: clamp(15px, 2.2vw, 19px);
  max-width: 600px;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. CARDS & CONTENT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.gl-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

.gl-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.gl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.3);
  border-color: rgba(255,255,255,.12);
}

/* ── Tabs (sort, filter) ── */
.gl-tabs {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.gl-tab {
  padding: 8px 18px;
  border-radius: 22px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid rgba(255,255,255,.1);
  color: var(--mid);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
  font-family: var(--font);
}
.gl-tab:hover { border-color: rgba(255,255,255,.22); color: var(--white); }
.gl-tab.on { background: var(--teal); border-color: var(--teal); color: var(--color-white); }

/* ── Skeleton loading ── */
.gl-sk {
  background: linear-gradient(90deg, var(--card2) 25%, var(--card) 50%, var(--card2) 75%);
  background-size: 200% 100%;
  animation: glSk .9s ease-in-out infinite;
  border-radius: 8px;
}
@keyframes glSk { 0% { background-position:200% 0 } 100% { background-position:-200% 0 } }
.gl-sk-row { height: 80px; border-radius: 12px; margin-bottom: 8px; }

/* ── Info bar (count/filter toolbar) ── */
.gl-toolbar {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sp-md) var(--sp-lg) 0;
  display: flex; align-items: center;
  gap: 12px; flex-wrap: wrap;
}
.gl-toolbar select {
  padding: 7px 14px;
  border-radius: 10px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--white);
  font-size: 13px; font-family: var(--font);
  cursor: pointer; outline: none;
}
.gl-toolbar-info {
  font-size: 13px; color: var(--mid); margin-left: auto;
}
.gl-toolbar-info strong { color: var(--teal-lt); }

/* ── Grid layouts ── */
.gl-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gl-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

/* ── Empty state ── */
.gl-empty {
  text-align: center;
  padding: 60px var(--sp-lg);
  color: var(--mid);
}
.gl-empty-icon { font-size: 48px; margin-bottom: var(--sp-md); opacity: .5; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.gl-footer {
  text-align: center;
  padding: 40px var(--sp-lg) 32px;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.gl-footer p {
  font-size: 12px; color: var(--low);
}
.gl-footer a {
  color: var(--mid); text-decoration: none;
  transition: color .15s;
}
.gl-footer a:hover { color: var(--teal-lt); }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. MOBILE RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media(max-width:768px){
  .gl-grid-3 { grid-template-columns: 1fr; }
  .gl-grid-2 { grid-template-columns: 1fr; }
}

/* ── HAMBURGER MENU — Mobile nav toggle button (v2.0) ── */
/* Injected by pages-nav.js como .gl-nav-toggle — oculto en desktop */
.gl-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1.5px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .18s, border-color .18s, transform .15s;
  margin-left: auto;
  /* Hamburger icon via background SVG */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='14' viewBox='0 0 18 14'%3E%3Crect y='0' width='18' height='2' rx='1' fill='rgba(255,255,255,.75)'/%3E%3Crect y='6' width='14' height='2' rx='1' fill='rgba(255,255,255,.75)'/%3E%3Crect y='12' width='18' height='2' rx='1' fill='rgba(255,255,255,.75)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 14px;
}
.gl-nav-toggle:hover {
  background-color: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.25);
  transform: scale(1.05);
}
/* X icon cuando el menú está abierto */
.gl-nav-toggle[aria-expanded="true"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cline x1='1' y1='1' x2='15' y2='15' stroke='rgba(255,255,255,.8)' stroke-width='2.2' stroke-linecap='round'/%3E%3Cline x1='15' y1='1' x2='1' y2='15' stroke='rgba(255,255,255,.8)' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-color: rgba(13,148,136,.12);
  border-color: rgba(13,148,136,.32);
}

/* ── MOBILE NAV DRAWER (v2.0) ── */
@media(max-width:600px){
  /* Mostrar hamburger */
  .gl-nav-toggle { display: flex; }

  /* Ocultar nombre de logo en mobile para ganar espacio */
  .gl-logo-name { display: none; }
  .gl-cta-hdr { padding: 7px 14px; font-size: 12px; }

  /* Drawer — colapsado por defecto */
  .gl-nav {
    display: none;
    position: fixed;
    top: var(--hdr-h, 58px);
    left: 0; right: 0;
    /* Fondo premium: glass oscuro con gradiente */
    background: linear-gradient(180deg, rgba(7,14,26,.97) 0%, rgba(8,15,24,.99) 100%);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 10px 12px 18px;
    flex-direction: column;
    gap: 3px;
    z-index: 499;
    /* Slide-in desde arriba */
    transform: translateY(-10px);
    opacity: 0;
    transition: transform .25s cubic-bezier(.16,1,.3,1), opacity .2s ease;
    box-shadow: 0 16px 40px rgba(0,0,0,.5);
  }

  /* Cabecera visual del drawer */
  .gl-nav::before {
    content: 'Menú';
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    padding: 4px 10px 10px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 6px;
  }

  /* Estado abierto */
  .gl-nav.open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  /* Links en el drawer: full-width, touch target 48px */
  .gl-nav a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    min-height: 48px;
    width: 100%;
    box-sizing: border-box;
    color: rgba(255,255,255,.60);
    border: 1px solid transparent;
    /* Eliminar punto activo en mobile (no aplica visualmente en drawer) */
  }
  .gl-nav a::after { display: none; }

  .gl-nav a::before {
    font-size: 16px;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
  }

  .gl-nav a:hover {
    background: rgba(255,255,255,.06);
    color: var(--white);
    border-color: rgba(255,255,255,.09);
    transform: none; /* sin lift en mobile */
  }
  .gl-nav a.active {
    background: linear-gradient(135deg, rgba(13,148,136,.22), rgba(13,148,136,.10));
    border-color: rgba(13,148,136,.3);
    color: var(--teal-lt);
    font-weight: 700;
    box-shadow: 0 0 12px rgba(13,148,136,.12);
  }

  /* Backdrop oscuro cuando drawer está abierto */
  .gl-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 498;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
  .gl-nav-backdrop.open { display: block; }

  /* Hero: compact */
  .gl-hero { padding: 40px 16px 32px; }
  .gl-hero h1 { font-size: clamp(24px, 7vw, 36px); }
  .gl-hero-sub { font-size: 13px; margin-bottom: 20px; }
  .gl-hero-label { font-size: 11px; padding: 5px 12px; }

  .gl-hero--big { padding: 48px 16px 40px; }
  .gl-hero--big h1 { font-size: clamp(32px, 9vw, 52px); }

  /* Toolbar */
  .gl-toolbar { padding: 12px 16px 0; }

  /* Footer */
  .gl-footer { padding: 28px 16px 24px; margin-top: 32px; }
}

@media(max-width:380px){
  .gl-hdr-inner { padding: 0 12px; gap: 12px; }
  .gl-hero { padding: 32px 12px 24px; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. ANIMATIONS & TRANSITIONS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@keyframes glFadeUp {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}
.gl-anim-up { animation: glFadeUp .5s cubic-bezier(.22,1,.36,1) both; }
.gl-anim-up-1 { animation-delay: .1s; }
.gl-anim-up-2 { animation-delay: .2s; }
.gl-anim-up-3 { animation-delay: .3s; }

@media(prefers-reduced-motion:reduce){
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. UTILITIES
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hidden { display: none !important; }
.sr-only {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
