/* ====================================================================
   LIBERATI · TOKENS, RESET & SHARED HELPERS
   Mobile-first base. Variables, tipografía, utilidades.
   ==================================================================== */

:root {
  /* Brand */
  --brand-500: #656ee0;
  /* primary purple */
  --brand-400: #7c7be8;
  --brand-300: #a8a7f0;
  --brand-200: #bdc2ff;
  --brand-100: #c8ccff;
  --brand-50: #eef0ff;
  --brand-700: #3d3b8e;
  /* dark purple */
  --brand-900: #1d2261;
  /* nav text dark */
  --ink-900: #14142b;
  --ink-800: #21244c;

  /* Accents */
  --coral: #f9564f;
  --coral-2: #ff5757;
  --orange: #f9a216;
  --orange-2: #ee8900;
  --yellow: #ffbe67;
  --mint: #6ec9a8;
  --green: #82cc5b;
  --green-2: #4d9e00;

  /* Neutrals */
  --bg: #ededf5;
  --bg-2: #f2f2f6;
  --white: #ffffff;
  --off-white: #fafafc;
  --line: #e5e6ee;
  --muted: #80809a;
  --muted-2: #b8b8c8;
  --text: #2b2b2b;
  --text-2: #313131;
  --text-3: #666669;

  /* Category palette */
  --cat-hogar: #f9a216;
  --cat-alim: #004be2;
  --cat-salud: #0d9488;
  --cat-vest: #a21caf;
  --cat-turismo: #d97706;
  --cat-edu: #8e00d5;
  --cat-varios: #be123c;

  /* Type */
  --f-display: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-jakarta: "Plus Jakarta Sans", var(--f-display);
  --f-manrope: "Manrope", var(--f-display);
  --f-poppins: "Poppins", var(--f-display);

  /* Layout */
  --container: 1248px;
  --shadow-card: 0 10px 30px rgba(20, 20, 43, .08), 0 2px 6px rgba(20, 20, 43, .04);
  --shadow-lift: 0 24px 60px rgba(20, 20, 43, .18), 0 4px 14px rgba(20, 20, 43, .08);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth
}

body {
  font-family: var(--f-display);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.45;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0
}

/* ---------- Shared helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  position: relative;
  overflow: hidden
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted-2);
  background: rgba(20, 20, 43, .30);
  padding: 6px 14px;
  border-radius: 999px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500)
}

.eyebrow.on-dark {
  background: rgba(255, 255, 255, .08);
  color: #dadaec
}

.h-display {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
  margin: 0;
}

.italic-em {
  font-family: var(--f-jakarta);
  font-style: italic;
  font-weight: 700
}

.lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-3);
  margin: 0;
}

.lead.on-dark {
  color: #dadaec
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn:active {
  transform: translateY(1px)
}

.btn-primary {
  background: var(--brand-500);
  color: #fff;
  box-shadow: 0 6px 18px rgba(101, 110, 224, .32)
}

.btn-primary:hover {
  background: #5a64d6
}

/* App badges */
.app-badges {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  border-radius: 14px;
  min-width: 0;
  transition: transform .15s ease, box-shadow .15s ease;
}

.app-badge img {
  width: 100%;
  height: auto;
}

.app-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22)
}

.app-badge .ab-svg {
  width: 26px;
  height: 26px;
  flex: 0 0 26px
}

.app-badge .ab-meta {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left
}

.app-badge .ab-meta small {
  font-size: 10px;
  font-weight: 500;
  opacity: .85;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .06em
}

.app-badge .ab-meta strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.01em
}

/* Fila de footer (compartida) */
.foot-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.foot-row .links {
  display: flex;
  gap: 18px;
  color: #b8b8c8
}

.foot-row .links a:hover {
  color: #fff
}

.foot-row .copy {
  display: flex;
  align-items: center;
  gap: 8px
}

.foot-row .copy svg {
  width: 18px;
  height: 18px
}

/* ---------- Desktop overrides compartidos ---------- */
@media (min-width:1000px) {
  .container {
    padding-inline: 32px
  }

  .foot-row {
    flex-direction: row;
    gap: 14px
  }

  .foot-row .links {
    gap: 32px
  }
}