/* Galican Sport — Home v2 (Fase 0a) — Linus 2026-05-20
   Estilos del mockup adaptados a tokens --gal-*. Aplicar SOLO en home.
*/


/* ── Base global home (Linus 2026-05-20) ───────────────── */
html.gal-home-html,
body.gal-home {
  background: var(--gal-bg) !important;
  color: var(--gal-ink) !important;
  margin: 0; padding: 0;
  font-family: 'Archivo', system-ui, -apple-system, sans-serif !important;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.gal-home * { box-sizing: border-box; }
body.gal-home a { color: inherit; text-decoration: none; }
body.gal-home img { display: block; max-width: 100%; }
body.gal-home h1, body.gal-home h2, body.gal-home h3, body.gal-home h4 { color: var(--gal-ink); }
body.gal-home section { background: var(--gal-bg); }

  /* ─── Brand tokens (canónicos según README brand) ─────────────── */



  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }
  .mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
  .container { max-width: var(--gal-max); margin: 0 auto; padding: 0 var(--gal-pad); }
  .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 500;
    text-transform: uppercase; letter-spacing: 0.22em;
    opacity: 0.75;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .eyebrow::before {
    content: ''; display: inline-block;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--gal-accent);
  }

  /* ─── Top bar ──────────────────────────────────────────────────── */
  .topbar {
    background: var(--gal-bg-2);
    border-bottom: 1px solid var(--gal-line);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .topbar-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 36px; opacity: 0.78;
  }
  .topbar-left { display: flex; gap: 24px; }
  .topbar-right { display: flex; gap: 14px; align-items: center; }
  .topbar-right a { transition: color 0.2s var(--gal-t); }
  .topbar-right a:hover { color: var(--gal-accent-2); }
  .lang-active { color: var(--gal-ink) !important; }
  @media (max-width: 720px) {
    .topbar-left span:not(:first-child) { display: none; }
  }

  /* ─── Header ──────────────────────────────────────────────────── */
  .header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,22,40,0.85);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-bottom: 1px solid var(--gal-line);
    transition: background 0.3s var(--gal-t);
  }
  .header-inner {
    display: flex; justify-content: space-between; align-items: center;
    height: 76px; gap: 32px;
  }
  .brand {
    display: flex; align-items: center; gap: 14px;
    color: var(--gal-ink);
  }
  .brand svg { height: 26px; width: auto; fill: currentColor; flex-shrink: 0; }
  .brand-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; line-height: 1.4;
    letter-spacing: 0.18em; text-transform: uppercase;
    opacity: 0.55;
    border-left: 1px solid var(--gal-line-2);
    padding-left: 12px;
  }
  @media (max-width: 900px) { .brand-tagline { display: none; } }

  .nav {
    display: flex; gap: 30px;
    font-size: 13px; font-weight: 500;
    letter-spacing: 0.04em;
  }
  .nav a {
    position: relative; padding: 4px 0;
    color: var(--gal-ink-2);
    transition: color 0.2s var(--gal-t);
  }
  .nav a:hover { color: var(--gal-ink); }
  .nav a::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 1px; background: var(--gal-accent);
    transition: width 0.3s var(--gal-t);
  }
  .nav a:hover::after { width: 100%; }
  @media (max-width: 1100px) { .nav { display: none; } }

  .header-actions { display: flex; gap: 6px; align-items: center; }
  .icon-btn {
    width: 40px; height: 40px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gal-ink-2);
    transition: background 0.2s var(--gal-t), color 0.2s var(--gal-t);
    position: relative;
    background: transparent; border: none;
  }
  .icon-btn:hover { background: rgba(255,255,255,0.05); color: var(--gal-ink); }
  .icon-btn svg { width: 18px; height: 18px; }
  .icon-btn .badge {
    position: absolute; top: 4px; right: 4px;
    min-width: 16px; height: 16px; padding: 0 4px;
    background: var(--gal-accent); color: #fff;
    font-size: 10px; font-weight: 700; line-height: 16px;
    border-radius: 4px; text-align: center;
  }

  /* ─── Hero ───────────────────────────────────────────────────── */
  .hero {
    position: relative;
    min-height: 720px;
    height: calc(100vh - 112px);
    max-height: 920px;
    overflow: hidden;
  }
  .hero-bg {
    position: absolute; inset: 0;
    background: url('https://galican.es/wp-content/uploads/vallas-competition-backbround-1-1.webp') center 40% / cover no-repeat, var(--gal-bg-2);
    filter: brightness(0.75) saturate(0.95) contrast(1.05);
  }
  .hero-overlay-1 {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,22,40,0.20) 0%, rgba(10,22,40,0.55) 60%, rgba(10,22,40,0.95) 100%);
  }
  .hero-overlay-2 {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(30,78,216,0.18) 0%, transparent 50%, rgba(10,22,40,0.40) 100%);
  }
  .hero-noise {
    position: absolute; inset: 0; opacity: 0.04; pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .25 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    mix-blend-mode: overlay;
  }

  .hero-grid {
    position: relative; z-index: 1;
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    padding-top: 56px; padding-bottom: 32px;
    /* Mantiene el padding lateral horizontal de .container; no lo sobreescribimos */
  }
  .hero-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    opacity: 0.7; line-height: 1.7;
  }
  .hero-top .right { text-align: right; }
  @media (max-width: 720px) { .hero-top .right { display: none; } }

  .hero-mid {
    flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
    padding-bottom: 32px;
  }
  .hero h1 {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: clamp(56px, 9vw, 132px);
    line-height: 0.92;
    letter-spacing: -0.035em;
    margin: 24px 0 32px;
    max-width: 14ch;
  }
  .hero h1 .accent {
    color: var(--gal-accent-2);
  }
  .hero-sub {
    display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 40px;
    align-items: end;
    padding-top: 20px;
    border-top: 1px solid var(--gal-line);
  }
  .hero-sub p {
    font-size: 16px; line-height: 1.6;
    color: var(--gal-ink-2); max-width: 48ch;
    padding-top: 20px;
  }
  .hero-specs {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
    display: grid; grid-template-columns: auto 1fr; gap: 6px 18px;
    padding-top: 20px;
  }
  .hero-specs dt { color: var(--gal-ink-3); }
  .hero-specs dd { text-align: right; }

  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 26px; border-radius: 4px;
    font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
    transition: transform 0.2s var(--gal-t), box-shadow 0.2s var(--gal-t), background 0.2s var(--gal-t);
    border: none;
  }
  .btn-primary {
    background: var(--gal-accent);
    color: #fff;
    box-shadow: 0 10px 28px rgba(30,78,216,0.45);
  }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(30,78,216,0.55); }
  .btn-ghost {
    background: rgba(255,255,255,0.06);
    color: var(--gal-ink);
    border: 1px solid var(--gal-line-2);
    backdrop-filter: blur(8px);
  }
  .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.30); }
  .btn-arrow {
    display: inline-block; transition: transform 0.2s var(--gal-t);
  }
  .btn:hover .btn-arrow { transform: translateX(4px); }
  @media (max-width: 920px) {
    .hero-sub { grid-template-columns: 1fr; gap: 24px; }
    .hero-specs { padding-top: 0; }
    
    /* FIX DEFINITIVO RESPONSIVE: Evitar que el botón Ver Catálogo se esconda en móviles */
    .hero {
      height: auto !important;
      min-height: unset !important;
      max-height: unset !important;
      padding: 40px 0 !important;
      overflow: visible !important;
    }
    .hero-grid {
      height: auto !important;
      padding-top: 20px !important;
      padding-bottom: 20px !important;
      justify-content: flex-start !important;
      gap: 24px !important;
    }
    .hero-mid {
      flex: none !important;
      padding-bottom: 0 !important;
    }
    .hero h1 {
      font-size: clamp(38px, 12vw, 56px) !important;
      margin: 16px 0 !important;
      line-height: 1.0 !important;
    }
    .hero-sub {
      border-top: 1px solid var(--gal-line) !important;
      padding-top: 16px !important;
      gap: 16px !important;
    }
    .hero-sub p {
      padding-top: 0 !important;
      margin-bottom: 0 !important;
    }
    .hero-ctas {
      margin-top: 16px !important;
      position: relative !important;
      z-index: 10 !important;
    }
  }

  /* Marquee */
  .marquee-wrap {
    position: relative; z-index: 1;
    border-top: 1px solid var(--gal-line);
    border-bottom: 1px solid var(--gal-line);
    background: rgba(10,22,40,0.6);
    overflow: hidden;
    padding: 14px 0;
  }
  .marquee {
    display: flex; gap: 56px; white-space: nowrap;
    animation: marquee 42s linear infinite;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.20em; text-transform: uppercase;
    color: var(--gal-ink-3);
  }
  .marquee span { flex-shrink: 0; }
  .marquee span::after { content: '✦'; margin-left: 56px; color: var(--gal-accent); opacity: 0.7; }
  @keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ─── Trust strip ─────────────────────────────────────────────── */
  .trust {
    background: var(--gal-bg-3);
    padding: 28px 0;
    border-bottom: 1px solid var(--gal-line);
  }
  .trust-inner {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 32px; align-items: center;
  }
  .trust-item {
    display: flex; gap: 12px; align-items: flex-start;
  }
  .trust-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--gal-accent-soft); color: var(--gal-accent-2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
  }
  .trust-icon svg { width: 20px; height: 20px; }
  .trust-item h4 {
    font-size: 14px; font-weight: 600; color: var(--gal-ink);
    margin-bottom: 2px; letter-spacing: -0.005em;
  }
  .trust-item p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--gal-ink-3);
    letter-spacing: 0.06em; text-transform: uppercase;
  }
  @media (max-width: 920px) { .trust-inner { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 480px) { .trust-inner { grid-template-columns: 1fr; } }

  /* ─── Section base ────────────────────────────────────────────── */
  section { padding: 96px 0; position: relative; }
  .section-head {
    display: grid; grid-template-columns: 1fr auto; gap: 24px;
    align-items: end; margin-bottom: 56px;
  }
  .section-head h2 {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 4.6vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.025em;
    max-width: 16ch;
    margin-top: 14px;
  }
  .section-head h2 .accent { color: var(--gal-accent-2); }
  .section-head .lead {
    color: var(--gal-ink-3); font-size: 15px; max-width: 36ch;
    text-align: right;
  }
  @media (max-width: 720px) {
    .section-head { grid-template-columns: 1fr; }
    .section-head .lead { text-align: left; }
  }

  /* ─── Categorías ──────────────────────────────────────────────── */
  .cats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
  }
  .cat {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: var(--gal-bg-3);
    cursor: pointer;
    transition: transform 0.4s var(--gal-t);
  }
  /* Row 1: feature grande (4 cols x 2 rows) + 2 cards (2 cols x 1 row each) */
  .cat.feature { grid-column: span 4; grid-row: span 2; }
  .cat:not(.feature) { grid-column: span 2; }
  .cat-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    filter: brightness(0.85) saturate(1.05);
    transition: transform 0.7s var(--gal-t), filter 0.4s var(--gal-t);
  }
  .cat:hover .cat-img { transform: scale(1.06); filter: brightness(0.95) saturate(1.1); }
  .cat-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,22,40,0.10) 35%, rgba(10,22,40,0.92) 100%);
  }
  .cat-grid-overlay {
    position: absolute; inset: 0; opacity: 0.10; pointer-events: none;
    background-image:
      linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
    background-size: 80px 80px;
  }
  .cat-content {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 28px;
    z-index: 2;
  }
  .cat-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--gal-accent-2);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 8px;
  }
  .cat-eyebrow::before {
    content: ''; width: 16px; height: 1px; background: var(--gal-accent-2);
  }
  .cat h3 {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: clamp(22px, 2.8vw, 36px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
  }
  .cat-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--gal-ink-3);
  }
  .cat-arrow {
    position: absolute; top: 24px; right: 24px; z-index: 2;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    color: var(--gal-ink);
    transition: background 0.3s var(--gal-t), transform 0.3s var(--gal-t);
  }
  .cat:hover .cat-arrow { background: var(--gal-accent); transform: rotate(-45deg); }
  .cat.feature h3 { font-size: clamp(32px, 3.4vw, 46px); }
  @media (max-width: 960px) {
    .cats { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
    .cat.feature, .cat:not(.feature) { grid-column: span 2; grid-row: auto; }
  }
  @media (max-width: 560px) {
    .cats { grid-template-columns: 1fr; }
    .cat.feature, .cat:not(.feature) { grid-column: span 1; }
  }

  /* ─── Productos ───────────────────────────────────────────────── */
  .prods-section {
    background: var(--gal-bg-2);
    border-top: 1px solid var(--gal-line);
    border-bottom: 1px solid var(--gal-line);
  }
  .tabs {
    display: flex; gap: 8px; flex-wrap: wrap;
    margin-bottom: 40px;
  }
  .tab {
    padding: 10px 18px; border-radius: 4px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gal-ink-2);
    background: transparent;
    border: 1px solid var(--gal-line-2);
    transition: all 0.2s var(--gal-t);
  }
  .tab:hover { border-color: var(--gal-accent); color: var(--gal-ink); }
  .tab.active {
    background: var(--gal-accent); border-color: var(--gal-accent); color: #fff;
  }

  .prod-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  }
  .prod-card {
    background: var(--gal-bg-3);
    border: 1px solid var(--gal-line);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s var(--gal-t), border-color 0.3s var(--gal-t), box-shadow 0.3s var(--gal-t);
    position: relative;
  }
  .prod-card:hover {
    transform: translateY(-4px);
    border-color: var(--gal-accent);
    box-shadow: 0 18px 48px rgba(30,78,216,0.25);
  }
  .prod-media {
    position: relative;
    aspect-ratio: 1/1;
    background: linear-gradient(155deg, #0e1d35, #050b18);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }
  .prod-media img {
    width: 88%; height: 88%; object-fit: contain;
    transition: transform 0.5s var(--gal-t);
  }
  .prod-card:hover .prod-media img { transform: scale(1.05); }
  .prod-badges {
    position: absolute; top: 12px; left: 12px;
    display: flex; flex-direction: column; gap: 6px; z-index: 2;
  }
  .badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px; font-weight: 700; letter-spacing: 0.10em;
    padding: 4px 8px; border-radius: 4px;
    background: var(--gal-accent); color: #fff;
    text-transform: uppercase;
  }
  .badge.new { background: var(--gal-warn); color: #1c1c1c; }
  .badge.soft { background: rgba(30,78,216,0.18); color: var(--gal-accent-2); border: 1px solid var(--gal-accent); }
  .prod-info { padding: 18px 20px 22px; }
  .prod-cat {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gal-ink-3); margin-bottom: 6px;
  }
  .prod-name {
    font-size: 15px; font-weight: 600; color: var(--gal-ink);
    letter-spacing: -0.005em; margin-bottom: 14px;
    line-height: 1.3;
  }
  .prod-foot {
    display: flex; justify-content: space-between; align-items: baseline;
    border-top: 1px solid var(--gal-line); padding-top: 12px;
  }
  .prod-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 17px; font-weight: 600;
    color: var(--gal-ink); letter-spacing: -0.01em;
  }
  .prod-price small {
    font-size: 10px; color: var(--gal-ink-3);
    letter-spacing: 0.10em; text-transform: uppercase;
    margin-right: 4px; font-weight: 500;
  }
  .prod-opts {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; color: var(--gal-ink-3);
    letter-spacing: 0.10em; text-transform: uppercase;
  }
  .prod-foot-action {
    text-align: center; margin-top: 48px;
  }
  @media (max-width: 1100px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 760px) { .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .prod-info { padding: 14px; } .prod-name { font-size: 14px; } }

  /* ─── Diferenciadores (manifiesto) ────────────────────────────── */
  .manifest {
    background: var(--gal-bg);
    padding: 120px 0;
  }
  .manifest-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
    align-items: start;
  }
  .manifest-grid h2 {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 5.5vw, 80px);
    line-height: 0.95;
    letter-spacing: -0.03em;
  }
  .manifest-grid h2 .accent { color: var(--gal-accent-2); }
  .pillars {
    display: flex; flex-direction: column; gap: 28px;
  }
  .pillar {
    padding-left: 24px;
    border-left: 2px solid var(--gal-accent);
  }
  .pillar-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px; letter-spacing: 0.18em;
    color: var(--gal-accent-2); margin-bottom: 8px;
  }
  .pillar h3 {
    font-size: 19px; font-weight: 600; color: var(--gal-ink);
    margin-bottom: 6px;
  }
  .pillar p { font-size: 15px; color: var(--gal-ink-2); line-height: 1.55; }
  @media (max-width: 920px) {
    .manifest-grid { grid-template-columns: 1fr; gap: 40px; }
  }

  /* ─── CTA distribuidores ──────────────────────────────────────── */
  .cta-band {
    background:
      radial-gradient(ellipse at 20% 30%, rgba(30,78,216,0.45) 0%, transparent 50%),
      radial-gradient(ellipse at 80% 70%, rgba(242,201,76,0.10) 0%, transparent 50%),
      linear-gradient(135deg, var(--gal-accent) 0%, #0E3FA8 100%);
    padding: 96px 0; color: #fff;
    position: relative; overflow: hidden;
  }
  .cta-band .container {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center;
    position: relative; z-index: 1;
  }
  .cta-band h2 {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: clamp(36px, 4.5vw, 60px);
    line-height: 1.02; letter-spacing: -0.025em;
    margin-bottom: 16px;
  }
  .cta-band p {
    font-size: 17px; opacity: 0.9; max-width: 48ch;
  }
  .cta-actions { display: flex; flex-direction: column; gap: 12px; }
  .cta-actions .btn-primary {
    background: var(--gal-warn); color: #1c1c1c;
    box-shadow: 0 10px 28px rgba(242,201,76,0.35);
  }
  .cta-actions .btn-primary:hover { box-shadow: 0 14px 36px rgba(242,201,76,0.45); }
  @media (max-width: 920px) { .cta-band .container { grid-template-columns: 1fr; } }

  /* ─── Footer ──────────────────────────────────────────────────── */
  .footer { background: var(--gal-bg-2); padding: 80px 0 32px; border-top: 1px solid var(--gal-line); }
  .footer-grid {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 48px; margin-bottom: 60px;
  }
  .footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
  .footer-brand svg { height: 28px; fill: var(--gal-ink); }
  .footer-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gal-ink-3); margin-bottom: 16px;
  }
  .footer-col p { font-size: 14px; color: var(--gal-ink-2); line-height: 1.7; }
  .footer-col h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; font-weight: 600;
    letter-spacing: 0.20em; text-transform: uppercase;
    color: var(--gal-ink); margin-bottom: 18px;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 10px; font-size: 14px; }
  .footer-col a { color: var(--gal-ink-2); transition: color 0.2s var(--gal-t); }
  .footer-col a:hover { color: var(--gal-accent-2); }

  .news-form {
    display: flex; background: rgba(255,255,255,0.06);
    border: 1px solid var(--gal-line-2); border-radius: 4px;
    padding: 4px; margin-top: 14px;
  }
  .news-form input {
    flex: 1; background: transparent; border: none; outline: none;
    padding: 12px 18px; color: var(--gal-ink); font-size: 14px;
    font-family: inherit;
  }
  .news-form input::placeholder { color: var(--gal-ink-3); }
  .news-form button {
    background: var(--gal-accent); color: #fff; border: none;
    padding: 0 22px; border-radius: 4px;
    font-weight: 600; font-size: 13px;
    transition: background 0.2s var(--gal-t);
  }
  .news-form button:hover { background: var(--gal-accent-2); }

  .footer-coords {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gal-ink-3); margin-top: 18px; line-height: 1.7;
  }

  .footer-bottom {
    border-top: 1px solid var(--gal-line);
    padding-top: 28px;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gal-ink-3);
  }
  .pay-icons { display: flex; gap: 8px; }
  .pay-icons span {
    background: rgba(255,255,255,0.05); padding: 4px 10px; border-radius: 4px;
    font-weight: 600; color: var(--gal-ink-2);
  }
  @media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

  /* Grants (subvenciones) discreto */
  .grants {
    background: var(--gal-bg-3); padding: 20px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--gal-ink-3); text-align: center;
  }
  .grants span { margin: 0 12px; }
  .grants strong { color: var(--gal-ink-2); font-weight: 600; }

  /* Demo badge */
  

  /* Reveal on scroll */
  .reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.8s var(--gal-t), transform 0.8s var(--gal-t);
  }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee { animation: none; }
    .hero-bg { animation: none; }
  }

/* ─────────────────────────────────────────────────────────────────────
   LINUS 2026-05-23 — RRSS en la home (header + footer brand col)
   Hereda variables y SVGs de galican-product.css (.gal-social*).
   ────────────────────────────────────────────────────────────────── */

/* — Header de home: iconos pequeños lineales, antes de cuenta/carrito — */
.gal-social.gal-social--topbar-home {
  display: inline-flex; align-items: center; gap: 4px;
  margin-right: 8px;
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.gal-social.gal-social--topbar-home .gal-social__label { display: none; }
.gal-social.gal-social--topbar-home .gal-social__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.gal-social.gal-social--topbar-home .gal-social__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  color: var(--gal-ink-2);
  text-decoration: none;
  transition: background 0.2s var(--gal-t), color 0.2s var(--gal-t), transform 0.2s var(--gal-t);
}
.gal-social.gal-social--topbar-home .gal-social__btn svg { width: 15px; height: 15px; }
.gal-social.gal-social--topbar-home .gal-social__btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--gal-ink);
  transform: translateY(-1px);
}

/* — Footer de home: iconos circulares en la columna brand, debajo del email — */
.gal-social.gal-social--footer-home {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 14px;
}
.gal-social.gal-social--footer-home .gal-social__label { display: none; }
.gal-social.gal-social--footer-home .gal-social__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.gal-social.gal-social--footer-home .gal-social__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: var(--gal-ink-2);
  text-decoration: none;
  transition: all 0.25s var(--gal-t);
}
.gal-social.gal-social--footer-home .gal-social__btn svg { width: 16px; height: 16px; }
.gal-social.gal-social--footer-home .gal-social__btn:hover {
  background: var(--gal-accent);
  border-color: var(--gal-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(30,78,216,0.55);
}

@media (max-width: 900px) {
  .gal-social.gal-social--topbar-home { display: none; }
}

/* ────────────────────────────────────────────────────────────
   Linus 2026-05-24 — Botones unificados estilo cuadrado.
   Restauración selectiva de elementos que SÍ deben ser circulares
   (chips de color, badges contadores, dots pulse).
   ──────────────────────────────────────────────────────────── */
.gal-color-chip,
.gal-color-dot,
.wd-cart-counter,
.glx-nav-cart-count,
.glx-pulse-dot,
.glx-swatch-pip,
.glx-stickybar-chip,
.glx-radio-dot,
.glx-trustbar-dot,
.galc-cart-item__sku::before,
.glx-hotspot { border-radius: 999px !important; }


/* ──────────────────────────────────────────────────────────────
 * Galican Sport — Home responsive (Linus 2026-05-24)
 * Añade hamburguesa + drawer + ajustes mobile para la home.
 * No toca desktop (>1100px).
 * ────────────────────────────────────────────────────────────── */

/* ───── Hamburguesa: solo cuando .nav está oculto ───── */
.home-burger { display: none; }
@media (max-width: 1100px) {
	.home-burger {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		color: var(--gal-ink, #f4f5f7);
		background: transparent;
		border: 1px solid rgba(255,255,255,.10);
		border-radius: 8px;
		cursor: pointer;
		flex-shrink: 0;
	}
	.home-burger svg { width: 22px; height: 22px; }
	.home-burger:hover { background: rgba(255,255,255,.06); }
}

/* ───── Header home en móvil ───── */
@media (max-width: 900px) {

	/* Header inner más compacto */
	.gal-home .header-inner {
		height: 60px !important;
		gap: 8px !important;
	}

	/* Logo más pequeño */
	.gal-home .brand svg {
		height: 20px !important;
		width: auto !important;
	}

	/* Iconos del header: tamaño táctil 44x44 */
	.gal-home .header-actions .icon-btn {
		width: 44px !important;
		height: 44px !important;
	}
	.gal-home .header-actions { gap: 4px !important; }

	/* Container con padding lateral cómodo */
	.gal-home .header > .container,
	.gal-home .topbar > .container {
		padding-left: 16px !important;
		padding-right: 16px !important;
	}
}

/* ───── Topbar en móvil ───── */
@media (max-width: 720px) {
	.gal-home .topbar {
		font-size: 11px;
	}
	.gal-home .topbar-inner {
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px 14px;
	}
	.gal-home .topbar-left {
		justify-content: center;
		flex-wrap: wrap;
		gap: 10px !important;
	}
	.gal-home .topbar-right {
		gap: 10px !important;
	}
	.gal-home .topbar-right a {
		padding: 2px 4px;
		min-width: 24px;
		text-align: center;
	}
}
@media (max-width: 480px) {
	/* Solo el primer slogan en pantallas muy pequeñas */
	.gal-home .topbar-left span:nth-child(n+2) { display: none; }
}

/* ───── Drawer móvil (home) ───── */
.home-drawer {
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: 0;
	transition: opacity .25s ease;
}
.home-drawer[aria-hidden="false"] {
	pointer-events: auto;
	opacity: 1;
}
.home-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.55);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}
.home-drawer__panel {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: min(85vw, 360px);
	background: #0a1628;
	color: #f4f5f7;
	border-left: 1px solid rgba(255,255,255,.08);
	display: flex;
	flex-direction: column;
	padding: 20px 22px 24px;
	transform: translateX(100%);
	transition: transform .28s cubic-bezier(.2,.7,.2,1);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
.home-drawer[aria-hidden="false"] .home-drawer__panel {
	transform: translateX(0);
}
.home-drawer__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
.home-drawer__title {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #a7afbd;
}
.home-drawer__close {
	width: 44px; height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 1px solid rgba(255,255,255,.10);
	border-radius: 8px;
	color: inherit;
	cursor: pointer;
}
.home-drawer__close svg { width: 20px; height: 20px; }
.home-drawer__nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 24px;
}
.home-drawer__nav a {
	display: block;
	padding: 14px 4px;
	font-size: 18px;
	font-weight: 500;
	letter-spacing: .01em;
	color: #f4f5f7;
	text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,.06);
	transition: color .15s ease;
}
.home-drawer__nav a:hover,
.home-drawer__nav a:focus { color: #f4c544; }
.home-drawer__langs {
	display: flex;
	gap: 4px;
	padding-top: 16px;
	margin-bottom: 20px;
}
.home-drawer__langs a {
	flex: 1;
	padding: 10px 0;
	text-align: center;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 12px;
	letter-spacing: .14em;
	color: #a7afbd;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,.08);
	border-radius: 6px;
	transition: all .15s ease;
}
.home-drawer__langs a:hover { color: #f4f5f7; border-color: rgba(255,255,255,.20); }
.home-drawer__langs a.is-active {
	background: rgba(244,197,68,.10);
	color: #f4c544;
	border-color: rgba(244,197,68,.30);
}
.home-drawer__social {
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid rgba(255,255,255,.08);
}

/* Lock body scroll cuando drawer abierto */
html.home-drawer-open,
html.home-drawer-open body {
	overflow: hidden;
}

/* Drawer no visible en desktop */
@media (min-width: 1101px) {
	.home-drawer { display: none !important; }
}

/* ──────────────────────────────────────────────────────────────
 * Linus 2026-05-24 — Fix definitivo: Woodmart aplica
 *   button { padding: var(--btn-padding, 5px 20px); }
 * a TODO botón, aplastando el SVG de hamburguesa y cerrar.
 * ────────────────────────────────────────────────────────────── */

html body button.gal-burger,
html body button.gal-mobile-drawer__close,
html body button.home-burger,
html body button.home-drawer__close,
html body.galican-commerce button.gal-burger,
html body.galican-commerce button.gal-mobile-drawer__close {
	padding: 0 !important;
	--btn-padding: 0 !important;
	gap: 0 !important;
}

/* Asegurar tamaño táctil aunque algún tema apriete */
html body button.gal-burger,
html body button.home-burger,
html body.galican-commerce button.gal-burger {
	min-width: 44px !important;
	min-height: 44px !important;
	width: 44px !important;
	height: 44px !important;
	box-sizing: border-box !important;
}
html body button.gal-mobile-drawer__close,
html body button.home-drawer__close {
	min-width: 44px !important;
	min-height: 44px !important;
	width: 44px !important;
	height: 44px !important;
	box-sizing: border-box !important;
}

/* SVG dentro: no shrink, ancho fijo */
html body button.gal-burger svg,
html body button.home-burger svg,
html body.galican-commerce button.gal-burger svg {
	width: 22px !important;
	height: 22px !important;
	flex-shrink: 0 !important;
	min-width: 22px !important;
	min-height: 22px !important;
}
html body button.gal-mobile-drawer__close svg,
html body button.home-drawer__close svg {
	width: 20px !important;
	height: 20px !important;
	flex-shrink: 0 !important;
	min-width: 20px !important;
	min-height: 20px !important;
}

/* ──────────────────────────────────────────────────────────────
 * Linus 2026-05-24 — RRSS + cuenta visibles en header móvil (home)
 * Selectores SIN prefijo gal- (la home usa .header-actions, .icon-btn)
 * ────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
	.gal-home .header-actions {
		gap: 2px !important;
		flex-shrink: 0 !important;
	}

	/* RRSS OCULTAS en movil — espacio para hamburguesa (Linus 2026-05-24) */
	.gal-home .header-actions .gal-social,
	.gal-home .header-actions .gal-social--topbar-home,
	.gal-home .header-actions .gal-social__list,
	.gal-home .header-actions .gal-social__btn {
		display: none !important;
	}

	/* Botones icon (cuenta, carrito) compactos */
	.gal-home .header-actions .icon-btn {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		min-height: 36px !important;
	}
	.gal-home .header-actions .icon-btn svg {
		width: 18px !important;
		height: 18px !important;
		flex-shrink: 0 !important;
	}

	/* Hamburguesa */
	.gal-home .home-burger {
		width: 36px !important;
		height: 36px !important;
		min-width: 36px !important;
		min-height: 36px !important;
	}
	.gal-home .home-burger svg {
		width: 18px !important;
		height: 18px !important;
	}
}

@media (max-width: 380px) {
	.gal-home .header-inner {
		padding-left: 8px !important;
		padding-right: 8px !important;
		gap: 4px !important;
	}
	.gal-home .header-actions .gal-social__btn,
	.gal-home .header-actions .icon-btn,
	.gal-home .home-burger {
		width: 32px !important;
		height: 32px !important;
		min-width: 32px !important;
		min-height: 32px !important;
	}
	.gal-home .header-actions .gal-social__btn svg,
	.gal-home .header-actions .icon-btn svg,
	.gal-home .home-burger svg {
		width: 16px !important;
		height: 16px !important;
	}
}

/* Quitar RRSS del drawer home (ahora viven en el header) */
.home-drawer__social {
	display: none !important;
}
