/* Páginas por giro (/programa-de-lealtad/<giro>, src/services/giroPages.js).
   Mismo sistema que /preguntas-frecuentes: una columna corta y fácil de leer. */
:root {
  --navy: #0e2533; --navy-soft: #35495a; --brand: #ff558a; --brand-deep: #d6246a; --brand-soft: #ffe1ec;
  --bg: #ffffff; --bg-alt: #f8f9fa; --text: #333333; --muted: #667085; --border: #e4e7ec;
  --font-title: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
::selection { background: var(--brand-soft); color: var(--navy); }
h1, h2, h3 { font-family: var(--font-title); color: var(--navy); margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

.bar { background: var(--navy); position: sticky; top: 0; z-index: 10; }
.bar-inner { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff; text-decoration: none; font-family: var(--font-title); font-weight: 800; font-size: 18px; }
.brand .iso { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 20px; border-radius: 12px;
  background: var(--brand-deep); color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 15px; text-decoration: none;
  -webkit-tap-highlight-color: transparent; transition: transform .12s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16px; border-radius: 13px; }
.btn-ghost {
  display: inline-flex; align-items: center; min-height: 52px; padding: 14px 22px; border: 1px solid var(--border); border-radius: 13px;
  color: var(--navy); font-family: var(--font-title); font-weight: 700; font-size: 16px; text-decoration: none;
  -webkit-tap-highlight-color: transparent; transition: border-color .15s ease, transform .12s ease;
}
.btn-ghost:hover { border-color: var(--navy); }
.btn-ghost:active { transform: scale(.97); }
:is(.btn, .btn-ghost, .brand, .more a, .foot a, .crumbs a):focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; border-radius: 6px; }

.hero { padding: 52px 0 12px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-underline-offset: 3px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 46px); line-height: 1.1; letter-spacing: -.02em; }
.hero .lead { margin-top: 16px; font-size: 18.5px; color: var(--navy-soft); text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ya-lo-usa { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.ya-lo-usa img { display: block; height: 48px; width: auto; }
.ya-lo-usa img.is-tile { border-radius: 10px; }
.ya-lo-usa b { color: var(--navy); font-family: var(--font-title); font-weight: 700; font-size: 15px; margin-left: -4px; }

section { padding-top: 48px; }
section > h2 { font-size: clamp(24px, 3.6vw, 30px); }
section > h3 { margin-top: 26px; font-size: 18px; line-height: 1.35; }
section > h3 + p { margin-top: 6px; text-wrap: pretty; }

/* Las 3 ideas: numeradas porque son una secuencia corta, no tarjetas. */
.ideas { list-style: none; counter-reset: idea; margin: 22px 0 0; padding: 0; display: grid; gap: 22px; }
.ideas li { counter-increment: idea; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.ideas li::before {
  content: counter(idea); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand-soft); color: #b81a59;
  font-family: var(--font-title); font-weight: 800; font-size: 15px;
}
.ideas h3 { font-size: 18px; line-height: 1.35; padding-top: 5px; }
.ideas p { margin-top: 4px; color: var(--text); text-wrap: pretty; }

.cta { margin: 56px 0 0; padding: 36px 24px; border-radius: 20px; background: var(--navy); color: #fff; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(22px, 3.4vw, 28px); }
.cta p { margin: 10px auto 22px; max-width: 46ch; color: rgba(255, 255, 255, .8); }
.more { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.more a { display: inline-block; padding: 10px 0; color: var(--brand-deep); font-weight: 700; text-underline-offset: 3px; }
.foot { margin-top: 40px; padding: 24px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.foot a { color: var(--muted); display: inline-block; padding: 8px 12px 8px 0; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn, .btn-ghost { transition: none; } }
