/* Moto Enlaces Aragón — estilos de la web pública (sin build step de CSS). */

/* ── Fuentes (alojadas en el propio servidor) ───────────────── */
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('/fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 800; font-display: swap; src: url('/fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --navy: #0f172a;
  --navy-2: #1e3a5f;
  --orange: #f97316;
  --orange-dark: #c2410c;
  --orange-text: #c2410c; /* naranja con contraste AA sobre blanco */
  --text: #1e293b;
  --muted: #475569;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --success: #15803d;
  --danger: #b91c1c;

  --font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(15, 23, 42, .08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, .14);
  --header-h: 72px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* ── Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-text); text-underline-offset: .2em; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--navy); line-height: 1.08; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3, .h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }
.accent { color: var(--orange); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

.icon { flex: none; }

.eyebrow {
  font-family: var(--font-heading); font-weight: 700; font-size: .95rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange-text); margin: 0 0 .5rem;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.2rem); }
.lead-dark { font-size: 1.15rem; color: var(--navy); }

/* ── Botones ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
  letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: .85rem 1.8rem; border-radius: var(--radius-sm); border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 4px 14px rgba(249, 115, 22, .35); }
.btn-primary:hover { background: #fb8a3c; color: var(--navy); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-outline { color: var(--navy); border-color: var(--border); background: #fff; }
.btn-outline:hover { color: var(--navy); border-color: var(--navy); }
.btn-light { background: #fff; color: var(--orange-dark); box-shadow: 0 4px 16px rgba(0, 0, 0, .15); }
.btn-light:hover { color: var(--navy); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn.is-loading .icon { animation: nudge .8s ease-in-out infinite alternate; }
@keyframes nudge { to { transform: translateX(6px); } }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ── Cabecera ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
/* backdrop-filter convierte la cabecera en el contenedor del menú fijo: se quita al abrirlo. */
.site-header.nav-open { backdrop-filter: none; background: #fff; }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 2px 12px rgba(15, 23, 42, .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.brand { display: block; padding: .4rem 0; }
.brand-logo { width: 150px; height: auto; }

.site-nav ul { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; align-items: center; }
.site-nav a {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--navy); text-decoration: none; padding: .4rem 0; display: inline-flex; align-items: center; gap: .4rem;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--navy); border-bottom-color: var(--orange); }
.site-nav .nav-socios {
  background: var(--navy); color: #fff; padding: .45rem 1rem; border-radius: var(--radius-sm); border-bottom: 0;
}
.site-nav .nav-socios:hover { background: var(--navy-2); color: #fff; }

.nav-toggle { display: none; }

@media (max-width: 899px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--navy); cursor: pointer;
  }
  .nav-toggle-close { display: none; }
  .nav-open .nav-toggle-open { display: none; }
  .nav-open .nav-toggle-close { display: block; }

  /* Sin JS el menú se ve debajo del logo; con JS se despliega. */
  .header-inner { flex-wrap: wrap; }
  .site-nav { width: 100%; padding-bottom: .75rem; }
  .js .site-nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0; background: #fff;
    padding: 1.5rem var(--gutter) 2rem; overflow-y: auto; width: auto;
  }
  .js .nav-open .site-nav { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav li { border-bottom: 1px solid var(--border); }
  .js .site-nav a { display: flex; padding: 1rem 0; font-size: 1.5rem; border-bottom: 0; }
  .js .site-nav a[aria-current='page'] { color: var(--orange-text); }
  .js .site-nav li:last-child { border: 0; margin-top: 1.25rem; }
  .js .site-nav .nav-socios { justify-content: center; padding: .9rem 1rem; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  min-height: min(88vh, 760px); display: flex; align-items: center; background: var(--navy);
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { z-index: -2; }
.hero-bg img { object-fit: cover; object-position: center 30%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(15, 23, 42, .94) 0%, rgba(15, 23, 42, .82) 45%, rgba(30, 58, 95, .45) 100%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1; right: -120px; top: 50%; transform: translateY(-50%);
  width: 520px; height: 520px; border-radius: 50%; border: 64px solid rgba(249, 115, 22, .1); pointer-events: none;
}
.hero-content { padding-top: 4.5rem; padding-bottom: 4.5rem; max-width: 1200px; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 58ch; margin-bottom: 2rem; }
.badge {
  display: inline-block; font-family: var(--font-heading); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; font-size: .9rem; color: var(--orange); background: rgba(249, 115, 22, .12);
  border: 1px solid rgba(249, 115, 22, .35); padding: .35rem 1rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero-feme { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.hero-feme .feme-logo, .footer-feme .feme-logo { width: 96px; filter: brightness(0) invert(1); opacity: .8; }

/* Cabecera de páginas interiores */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff;
  padding: clamp(3rem, 8vw, 5.5rem) 0; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 48px solid rgba(249, 115, 22, .12);
}
.page-hero h1 { color: #fff; margin-bottom: .4em; }
.page-hero .eyebrow { color: var(--orange); }
.page-hero .lead { color: rgba(255, 255, 255, .85); max-width: 60ch; margin: 0; }

/* ── Secciones ──────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 2.5rem; }
.section-head.is-center { text-align: center; }
.section-head h2::after {
  content: ''; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--orange); margin-top: .9rem;
}
.section-head.is-center h2::after { margin-left: auto; margin-right: auto; }
.section-intro { text-align: center; max-width: 60ch; margin: -1rem auto 2rem; color: var(--muted); }
.section-note { text-align: center; margin-top: 2.5rem; }
.section-note a, .link-arrow {
  font-family: var(--font-heading); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 1fr; }
  .split-reverse > :first-child { order: 2; }
}
.photo-card { margin: 0; }
.photo-card img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-card figcaption { color: var(--muted); font-size: .9rem; margin-top: .75rem; }
.prose h2 { margin-top: 0; }
.prose ul { padding-left: 1.2rem; }
.prose.narrow h2 { font-size: 1.8rem; margin-top: 2rem; }

.motto {
  margin: 2rem 0 0; padding: 1.25rem 1.5rem; border-left: 5px solid var(--orange); background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-heading); font-size: 1.6rem;
  font-weight: 800; color: var(--navy); line-height: 1.15; text-transform: uppercase;
}
.motto cite {
  display: block; margin-top: .5rem; font-family: var(--font-body); font-size: .85rem; font-weight: 500;
  font-style: normal; text-transform: none; color: var(--muted);
}

/* Cifras */
.stats { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; margin: 0; text-align: center; }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column-reverse; }
.stat dd { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4rem); line-height: 1; color: var(--orange); }
.stat dt { margin-top: .4rem; font-family: var(--font-heading); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }

/* Tarjetas */
.cards { list-style: none; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards-4, .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin: 1rem 0 .4rem; }
.card p { margin: 0; color: var(--muted); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: 14px; background: rgba(249, 115, 22, .12); color: var(--orange-dark);
}

/* Galería */
.gallery { list-style: none; margin: 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery-link { display: block; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 3 / 2; background: var(--border); }
.gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-link:hover img, .gallery-link:focus-visible img { transform: scale(1.06); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 95vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 23, 42, .9); }
.lightbox img { max-width: 95vw; max-height: 92vh; width: auto; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute; top: -.75rem; right: -.75rem; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow);
}

/* Equipamiento */
.equip-figure { margin: 0 auto 2rem; max-width: 780px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.equip-figure img { margin: 0 auto; }
.vests { list-style: none; margin: 0 0 3rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .vests { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vests { grid-template-columns: repeat(3, 1fr); } }
.vest { background: #fff; border-radius: var(--radius-sm); padding: 1.1rem 1.25rem 1.1rem 1.5rem; border: 1px solid var(--border); border-left: 8px solid var(--vest); }
.vest h3 { font-size: 1.25rem; margin: 0 0 .25rem; }
.vest p { margin: 0; color: var(--muted); font-size: .95rem; }
.vest-orange { --vest: #f97316; }
.vest-yellow { --vest: #d9f20f; }
.vest-blue { --vest: #1d4ed8; }
.vest-red { --vest: #dc2626; }
.vest-navy { --vest: #1e293b; }
.vest-green { --vest: #22c55e; }
.equip-material { max-width: 780px; margin: 0 auto; text-align: center; }
.equip-material p { color: var(--muted); }

/* Logos de colaboradores */
.logo-wall { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 640px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .logo-wall { grid-template-columns: repeat(7, 1fr); } }
.logo-wall li > * {
  display: flex; align-items: center; justify-content: center; height: 110px; padding: 1rem;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: box-shadow .2s ease, transform .2s ease;
}
.logo-wall a:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.logo-wall img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; }

.sponsor-grid { list-style: none; margin: 0; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .sponsor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sponsor-grid { grid-template-columns: repeat(3, 1fr); } }
.sponsor-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sponsor-logo { display: flex; align-items: center; justify-content: center; height: 180px; padding: 1.5rem; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.sponsor-logo img { max-height: 130px; width: auto; max-width: 100%; object-fit: contain; }
.sponsor-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.sponsor-body h2 { font-size: 1.6rem; margin-bottom: .4rem; }
.sponsor-body p { color: var(--muted); flex: 1; }

/* Banda final */
.cta-band { background: var(--orange); color: var(--navy); text-align: center; padding: clamp(3.5rem, 8vw, 5rem) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255, 255, 255, .18) 0%, transparent 60%); }
.cta-inner { position: relative; max-width: 760px; }
.cta-band .eyebrow { color: var(--navy); opacity: .8; }
.cta-band h2 { color: var(--navy); }
.cta-band p { font-size: 1.1rem; margin-bottom: 1.75rem; }

/* ── Contacto ───────────────────────────────────────────────── */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.contact-steps { list-style: none; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.contact-steps li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-steps .icon { flex: none; margin-top: .2rem; color: var(--orange-dark); }
.contact-aside .tip { margin-bottom: 1rem; }
.tip { display: flex; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: rgba(249, 115, 22, .08); border: 1px solid rgba(249, 115, 22, .25); color: var(--text); }
.tip .icon { color: var(--orange-dark); margin-top: .2rem; }
.tip p { margin: 0; font-size: .95rem; }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.25rem); box-shadow: var(--shadow-lg); }
.contact-form { display: grid; gap: 1.1rem; }
.field-row { display: grid; gap: 1.1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: .35rem; }
.req { color: var(--danger); }
.optional { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input:not([type='checkbox']), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #fff;
  border: 1.5px solid #cbd5e1; border-radius: var(--radius-sm); padding: .75rem .9rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(249, 115, 22, .2); }
.field [aria-invalid='true'] { border-color: var(--danger) !important; }
.field-error { color: var(--danger); font-size: .9rem; margin: .35rem 0 0; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; align-items: start; }
.field-check input { width: 22px; height: 22px; margin-top: .15rem; accent-color: var(--orange-dark); }
.field-check label { font-weight: 400; font-size: .95rem; color: var(--text); margin: 0; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 500; }
.form-status.is-success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.form-status.is-error { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }

/* Páginas de mensaje (enviado, error, 404) */
.message-page { min-height: 55vh; display: flex; align-items: center; }
.message-icon { display: inline-flex; width: 84px; height: 84px; border-radius: 50%; align-items: center; justify-content: center; background: rgba(249, 115, 22, .12); color: var(--orange-dark); margin-bottom: 1.5rem; }
.message-page .container { display: flex; flex-direction: column; align-items: center; }

/* ── Pie ────────────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 4rem 0 0; font-size: .95rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-logo { width: 190px; margin-bottom: 1rem; }
.footer-feme { display: flex; align-items: center; gap: .9rem; }
.footer-title { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0; display: grid; gap: .6rem; }
.footer-list a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: .88rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .release-tag { color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .lightbox { display: none; }
}

/* ── Redes sociales ─────────────────────────────────────────── */
.social-links { list-style: none; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.social-links.is-center { justify-content: center; }
.social-link {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 44px; min-height: 44px; padding: .5rem; border-radius: 999px;
  border: 1.5px solid var(--border); color: var(--navy); background: #fff; text-decoration: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social-link:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.social-links.has-labels .social-link { padding: .55rem 1.1rem; font-weight: 600; }
.footer-social { margin-top: 1.5rem; }
.footer-social .social-link { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.footer-social .social-link:hover { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.social-title { margin-top: 2rem; }

.social-section { background: var(--bg-alt); }
.social-feed { list-style: none; margin: 2rem 0 0; display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .social-feed { grid-template-columns: repeat(4, 1fr); } }
.social-feed.is-compact { grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.social-post { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--border); color: #fff; text-decoration: none; }
.social-post img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.social-post:hover img, .social-post:focus-visible img { transform: scale(1.05); }
.social-post-badge {
  position: absolute; top: .5rem; left: .5rem; padding: .15rem .55rem; border-radius: 999px;
  background: rgba(15, 23, 42, .75); font-size: .78rem; font-weight: 600;
}
.social-post-caption {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem .75rem .6rem; font-size: .85rem; line-height: 1.35;
  background: linear-gradient(transparent, rgba(15, 23, 42, .9));
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  opacity: 0; transition: opacity .2s ease;
}
.social-post:hover .social-post-caption, .social-post:focus-visible .social-post-caption { opacity: 1; }
.is-compact .social-post-caption { display: none; }

/* Página /enlaces/ (bio de Instagram y TikTok) */
.links-page { background: linear-gradient(180deg, var(--bg-alt), #fff); padding-top: 2.5rem; }
.links-inner { max-width: 520px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.links-logo { width: 200px; margin-bottom: .75rem; }
.links-lema { font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; color: var(--navy); margin-bottom: 1.5rem; }
.links-list { list-style: none; margin: 0 0 1.5rem; width: 100%; display: grid; gap: .75rem; }
.links-button {
  display: flex; align-items: center; gap: .9rem; width: 100%; padding: 1rem 1.25rem;
  border-radius: var(--radius); border: 1.5px solid var(--border); background: #fff; color: var(--navy);
  font-weight: 600; text-decoration: none; text-align: left; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.links-button:hover { transform: translateY(-2px); border-color: var(--navy); color: var(--navy); }
.links-button .icon { color: var(--orange-dark); }
.links-button.is-primary { background: var(--orange); border-color: var(--orange); }
.links-button.is-primary .icon { color: var(--navy); }
.links-social { margin-bottom: 1.5rem; }
.links-feed-title { font-size: 1.4rem; margin: 1rem 0 0; }
.links-page .social-feed { width: 100%; margin-top: 1rem; }
