/* =========================================================
   Unió Gremial · Gestión de sorteos
   Hoja de estilos común
   ========================================================= */

:root {
  --color-bg: #0b0b1f;
  --color-bg-soft: #11122b;
  --color-surface: #ffffff;
  --color-surface-soft: #f6f7fb;
  --color-text: #1a1b34;
  --color-text-soft: #4b4d6a;
  --color-muted: #7a7d99;

  --color-primary: #ff3b6b;        /* magenta vibrante */
  --color-primary-dark: #e02858;
  --color-secondary: #5b6cff;       /* azul eléctrico */
  --color-accent: #2ee6c2;          /* turquesa */
  --color-yellow: #ffd23f;

  --gradient-hero: linear-gradient(135deg, #ff3b6b 0%, #5b6cff 50%, #2ee6c2 100%);
  --gradient-soft: linear-gradient(135deg, rgba(255,59,107,.08), rgba(91,108,255,.08));
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f7f8ff 100%);

  --shadow-sm: 0 4px 14px rgba(20, 22, 60, .06);
  --shadow-md: 0 12px 32px rgba(20, 22, 60, .1);
  --shadow-lg: 0 24px 60px rgba(20, 22, 60, .18);
  --shadow-glow: 0 18px 40px rgba(255, 59, 107, .35);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container: 1180px;

  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-surface-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--color-primary); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 .5em;
  line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; color: var(--color-text-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============== HEADER / NAV ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(20, 22, 60, .06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  color: var(--color-text);
  text-decoration: none;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.brand-tagline {
  display: inline-block;
  padding: 5px 12px;
  background: var(--gradient-hero);
  color: white;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 520px) {
  .brand-logo { height: 34px; }
  .brand-tagline { display: none; }
}

/* En el footer (oscuro) ponemos el logo sobre un pill blanco */
.site-footer .brand-logo {
  background: white;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  height: 56px;
  box-sizing: content-box;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-text);
  font-weight: 600;
  font-size: .95rem;
}
.nav-links a.is-active,
.nav-links a:hover { color: var(--color-primary); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    padding: 12px 24px 20px;
    border-bottom: 1px solid rgba(20,22,60,.06);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(20,22,60,.05);
  }
  .nav.is-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ============== BOTONES ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: .98rem;
  cursor: pointer;
  border: 0;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient-hero);
  color: white;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 24px 50px rgba(255, 59, 107, .45);
}
.btn-ghost {
  background: rgba(255,255,255,.15);
  color: white;
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); color: white; }

.btn-secondary {
  background: white;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20,22,60,.08);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}

/* ============== HERO ============== */
.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--color-bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 10% 0%, rgba(255,59,107,.45), transparent 60%),
              radial-gradient(700px 500px at 90% 20%, rgba(91,108,255,.45), transparent 60%),
              radial-gradient(600px 600px at 50% 100%, rgba(46,230,194,.25), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 96px 0 110px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 80px; }
}

.hero h1 { color: white; font-size: clamp(2.4rem, 5.5vw, 4rem); }
.hero h1 .accent {
  background: linear-gradient(90deg, #ffd23f, #2ee6c2);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero p.lead {
  color: rgba(255,255,255,.85);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 32px;
}
.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: white;
  margin-bottom: 24px;
}
.hero .pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Visual a la derecha del hero */
.hero-visual {
  position: relative;
  perspective: 1200px;
}
.hero-card {
  position: relative;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
}
.hero-card .stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  color: white;
}
.hero-card .stat strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  display: block;
  background: linear-gradient(90deg, #ffd23f, #ff3b6b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-card .stat span { font-size: .82rem; color: rgba(255,255,255,.75); }

.hero-card .stat-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gradient-hero);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-floating {
  position: absolute;
  background: white;
  color: var(--color-text);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .9rem;
}
.hero-floating .badge {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
  display: grid; place-items: center;
  font-size: 1rem;
}
.hero-floating.top {
  top: -16px; right: -12px;
  transform: rotate(4deg);
}
.hero-floating.bottom {
  bottom: -18px; left: -16px;
  transform: rotate(-3deg);
}

/* ============== SECCIONES ============== */
.section {
  padding: 88px 0;
}
.section.alt { background: white; }
.section.dark {
  background: var(--color-bg);
  color: white;
}
.section.dark h2, .section.dark h3 { color: white; }
.section.dark p { color: rgba(255,255,255,.78); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(255,59,107,.1);
  border-radius: 999px;
}
.section-head p { font-size: 1.05rem; }

/* ============== GRID DE TARJETAS ============== */
.grid {
  display: grid;
  gap: 24px;
}
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 900px) {
  .grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid rgba(20,22,60,.04);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  color: white;
  margin-bottom: 18px;
}
.card .icon.c1 { background: linear-gradient(135deg, #ff3b6b, #ff8c4b); }
.card .icon.c2 { background: linear-gradient(135deg, #5b6cff, #2ee6c2); }
.card .icon.c3 { background: linear-gradient(135deg, #ffd23f, #ff3b6b); }

.card .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}

.card h3 { margin-bottom: 10px; }
.card p { margin: 0; }

.benefit-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: white;
  color: var(--color-text-soft);
  border-radius: var(--radius-md);
  border: 1px solid rgba(20,22,60,.05);
  box-shadow: var(--shadow-sm);
}
.benefit-list li .check {
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--gradient-hero);
  color: white;
  display: grid; place-items: center;
  border-radius: 50%;
  font-weight: 800;
}
.benefit-list li strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 4px;
  color: var(--color-text);
}
/* Aseguramos que los párrafos dentro de la lista no se vuelvan blancos en .section.dark */
.section.dark .benefit-list li,
.section.dark .benefit-list li p {
  color: var(--color-text-soft);
}

/* ============== ASOCIACIONES ============== */
.assoc-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
@media (max-width: 900px) { .assoc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .assoc-grid { grid-template-columns: repeat(2, 1fr); } }

.assoc-grid .logo-box {
  background: white;
  border: 1px solid rgba(20,22,60,.06);
  border-radius: var(--radius-md);
  padding: 18px;
  display: grid;
  place-items: center;
  height: 110px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.assoc-grid .logo-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.assoc-grid img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  filter: grayscale(.15);
}

/* ============== MODALIDADES ============== */
.modality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid rgba(20,22,60,.06);
}
.modality:last-child { border-bottom: 0; }
.modality.reverse { grid-template-columns: 1fr 1fr; }
.modality.reverse .modality-media { order: 2; }

@media (max-width: 860px) {
  .modality, .modality.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0;
  }
  .modality.reverse .modality-media { order: 0; }
}

.modality-media {
  position: relative;
}
.modality-media .frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gradient-soft);
  aspect-ratio: 4 / 5;
}
.modality-media .frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.modality-media .badge-pill {
  position: absolute;
  top: 18px; left: 18px;
  background: white;
  color: var(--color-text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 8px;
}
.modality-media .badge-pill .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 0 rgba(255, 59, 107, .6);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,59,107,.6); }
  70%  { box-shadow: 0 0 0 12px rgba(255,59,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,107,0); }
}

.modality-content .eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}
.modality-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.modality-content .tagline {
  font-style: italic;
  color: var(--color-primary);
  font-weight: 600;
  margin-top: 10px;
}

.tag-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 18px;
}
.tag {
  background: rgba(91,108,255,.08);
  color: var(--color-secondary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}

/* ============== GALERÍA DE CARTELES ============== */
.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.poster {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: zoom-in;
}
.poster:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.poster img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f2f3fa;
}
/* Para piezas apaisadas (marcapáginas, banners…) mostramos la imagen completa */
.poster.wide img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  padding: 18px;
  background: linear-gradient(135deg, #fff 0%, #f7f8ff 100%);
}
.poster .meta {
  padding: 18px 20px;
  border-top: 1px solid rgba(20,22,60,.05);
}
.poster .meta strong {
  font-family: var(--font-display);
  display: block;
  margin-bottom: 4px;
}
.poster .meta span {
  font-size: .85rem;
  color: var(--color-muted);
}

/* Lightbox simple */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(11,11,31,.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox .close-btn {
  position: absolute;
  top: 24px; right: 24px;
  background: white;
  color: var(--color-text);
  border: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid; place-items: center;
}

/* ============== CTA BANNER ============== */
.cta-banner {
  position: relative;
  background: var(--gradient-hero);
  border-radius: var(--radius-lg);
  padding: 56px;
  color: white;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 0% 0%, rgba(255,255,255,.2), transparent 70%),
              radial-gradient(400px 200px at 100% 100%, rgba(255,255,255,.18), transparent 70%);
}
.cta-banner h2 { color: white; margin-bottom: 14px; position: relative; }
.cta-banner p { color: rgba(255,255,255,.92); position: relative; max-width: 640px; margin: 0 auto 26px; }
.cta-banner .btn-secondary { position: relative; }

/* ============== FORMULARIO ============== */
.form-page-hero {
  background: var(--gradient-hero);
  color: white;
  padding: 84px 0 110px;
  position: relative;
  overflow: hidden;
}
.form-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 80% 0%, rgba(255,255,255,.18), transparent 60%);
}
.form-page-hero h1 { color: white; max-width: 720px; }
.form-page-hero p { color: rgba(255,255,255,.92); max-width: 620px; font-size: 1.1rem; }

.form-wrap {
  margin-top: -70px;
  position: relative;
  z-index: 2;
  padding-bottom: 80px;
}

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 700px) { .form-card { padding: 28px; } }

.form-section {
  padding: 28px 0;
  border-top: 1px solid rgba(20,22,60,.07);
}
.form-section:first-of-type { border-top: 0; padding-top: 0; }
.form-section h2 {
  font-size: 1.25rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-section .step {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--gradient-hero);
  color: white;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}
.form-section > p {
  font-size: .92rem;
  margin-bottom: 18px;
  color: var(--color-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.form-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .form-grid, .form-grid.cols-3 { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-weight: 600;
  font-size: .9rem;
  color: var(--color-text);
}
.field label .req { color: var(--color-primary); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(20,22,60,.12);
  background: var(--color-surface-soft);
  font-family: inherit;
  font-size: .96rem;
  color: var(--color-text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  background: white;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255,59,107,.12);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.checkbox-group.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) {
  .checkbox-group, .checkbox-group.cols-3 { grid-template-columns: 1fr; }
}
.check-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(20,22,60,.12);
  background: var(--color-surface-soft);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: .92rem;
  user-select: none;
  transition: border-color .2s ease, background .2s ease;
}
.check-pill:hover { border-color: var(--color-primary); }
.check-pill input { accent-color: var(--color-primary); transform: scale(1.1); }
.check-pill input:checked + span { color: var(--color-primary); font-weight: 600; }

.form-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form-foot .legal-note {
  font-size: .82rem;
  color: var(--color-muted);
  max-width: 480px;
}

/* ============== QR CARD ============== */
.qr-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20,22,60,.05);
}
.qr-card img {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  background: white;
  border-radius: 12px;
}
.qr-card .qr-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--color-text);
}
.qr-card .qr-text span {
  font-size: .88rem;
  color: var(--color-muted);
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--color-bg);
  color: rgba(255,255,255,.75);
  padding: 60px 0 30px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: white;
  font-size: .9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.site-footer a {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
}
.site-footer a:hover { color: white; }
.site-footer .brand small { color: rgba(255,255,255,.6); }
.site-footer .brand { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* ============== UTILIDADES ============== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-lg { margin-bottom: 40px; }

/* Pequeñas animaciones de entrada */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp .7s ease forwards;
}
.fade-in.delay-1 { animation-delay: .15s; }
.fade-in.delay-2 { animation-delay: .3s; }
.fade-in.delay-3 { animation-delay: .45s; }
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
