/* ============================================
   QUINIELA YA DE LA CIUDAD — quinielaya.css
   Paleta oficial + layout + animaciones
   Los colores se reinyectan desde config/theme.php en <head>.
   ============================================ */

:root {
  --qy-red: #e94a39;
  --qy-red-dark: #c53b2c;
  --qy-yellow: #f3bd04;
  --qy-orange: #f7ad61;
  --qy-black: #000;
  --qy-warm-dark: #1f1410;
  --qy-white: #fff;
  --background: #f7ad61;
  --foreground: #1f1410;

  --font-display: 'Anton', 'Anton Fallback', Impact, 'Arial Narrow', sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;

  --container-max: 1180px;
  --section-gap: 88px;
  --radius: 16px;
  --transition: .25s ease;

  --card-shadow: 0 15px 40px -20px rgba(233, 74, 57, .35);
  --card-shadow-hover: 0 20px 50px -15px rgba(233, 74, 57, .5);
}

/* Fallback métrico de Anton: evita salto de layout mientras carga la fuente */
@font-face {
  font-family: 'Anton Fallback';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Arial Black'), local('Impact');
  ascent-override: 109.38%;
  descent-override: 27.34%;
  line-gap-override: 0%;
  size-adjust: 90.91%;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

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

section[id] { scroll-margin-top: 80px; }

/* ============================================
   FONDO: rayas + manitos chasqueando
   ============================================ */
.qy-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--background);
}
.qy-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: .7;
  background-image: url('../images/background.png');
  background-size: 520px auto;
  background-repeat: repeat;
}
.qy-bg-snaps { position: absolute; inset: 0; }
.snap-drift {
  position: absolute;
  top: 0;
  will-change: transform;
  animation-name: chasquido-drift;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.snap-drift img { width: 100%; height: 100%; user-select: none; }

@keyframes chasquido-drift {
  0%   { transform: translate(-30px, 110vh) rotate(0deg); }
  100% { transform: translate3d(18vw, -20vh, 0) rotate(var(--drift-rot, 4deg)); }
}

/* ============================================
   TÍTULOS DE SECCIÓN
   ============================================ */
.section { padding: var(--section-gap) 0; position: relative; }
.section-header { text-align: center; max-width: 820px; margin: 0 auto 48px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--qy-warm-dark);
  text-shadow: 2px 2px 0 var(--qy-white);
}
.section-title span { color: var(--qy-red); }
.section-sub {
  margin-top: 14px;
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--qy-warm-dark);
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  color: var(--qy-red);
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn-lg { padding: 18px 48px; font-size: 1.25rem; }
.btn-primary {
  background: var(--qy-red);
  color: var(--qy-white);
  box-shadow: 0 10px 30px -10px rgba(233, 74, 57, .6);
}
.btn-primary:hover { background: var(--qy-red-dark); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255, 255, 255, .9);
  color: var(--qy-red-dark);
  border: 2px solid var(--qy-red);
}
.btn-ghost:hover { background: var(--qy-red); color: var(--qy-white); transform: translateY(-2px); }

.btn-pulse { animation: pulse-cta 1.8s ease-in-out infinite; }
.btn-pulse:hover { animation-play-state: paused; }
@keyframes pulse-cta {
  0%, 100% { transform: scale(1);    box-shadow: 0 10px 30px -10px rgba(233, 74, 57, .6); }
  50%      { transform: scale(1.03); box-shadow: 0 15px 40px -10px rgba(233, 74, 57, .85); }
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: var(--qy-red);
  box-shadow: 0 2px 12px rgba(31, 20, 16, .25);
  transition: padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled { padding: 8px 0; box-shadow: 0 4px 20px rgba(31, 20, 16, .35); }
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img { height: 40px; width: auto; max-width: 160px; object-fit: contain; }

.nav-links-desktop { display: none; align-items: center; gap: 28px; }
.nav-link {
  position: relative;
  padding-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--qy-white);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--qy-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-link:hover::after { transform: scaleX(1); }

.hamburger { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--qy-white);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav-links-desktop { display: flex; }
  .hamburger { display: none; }
}
@media (max-width: 767px) {
  .nav-logo-img { height: 32px; }
}

/* Menú mobile */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--qy-red);
}
.mobile-menu.open { display: flex; }
.mobile-menu-links { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.mobile-menu .nav-link { font-size: 1.6rem; }
.nav-close-btn {
  position: absolute;
  top: 16px; right: 20px;
  padding: 6px 10px;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--qy-white);
  opacity: .85;
  transition: opacity .2s ease, transform .2s ease;
}
.nav-close-btn:hover { opacity: 1; transform: scale(1.15); }
body.menu-open { overflow: hidden; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 110px 0 80px;
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-title { display: flex; flex-direction: column; align-items: center; font-size: 0; }
.hero-logo {
  width: clamp(200px, 26vw, 280px);
  height: auto;
  filter: drop-shadow(0 6px 14px rgba(31, 20, 16, .2));
}
.hero-claim-wrap { display: inline-block; margin: 24px 0 8px; }
.hero-claim {
  height: clamp(200px, 34vw, 340px);
  width: auto;
  animation: claim-sway 4.5s ease-in-out infinite;
  will-change: transform;
}
/* Movimiento leve y continuo de derecha a izquierda */
@keyframes claim-sway {
  0%, 100% { transform: translateX(14px) rotate(-3deg); }
  50%      { transform: translateX(-14px) rotate(-3deg); }
}
.hero-subtitle {
  display: inline-block;
  max-width: min(92vw, 900px);
  margin-top: 24px;
  padding: 12px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .4);
  font-weight: 700;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--qy-warm-dark);
}
.hero-actions { margin-top: 32px; }

.hero-scroll-hint {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  color: var(--qy-red-dark);
  animation: hint-bounce 1.6s ease-in-out infinite;
}
@keyframes hint-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

/* ============================================
   GRILLA DE CARDS (3 columnas)
   ============================================ */
.cards-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* ¿Por qué elegir? */
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(247, 173, 97, .4);
  background: rgba(255, 255, 255, .9);
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 112px; height: 112px;
  border-radius: 50%;
  background: rgba(243, 189, 4, .3);
  filter: blur(24px);
  transition: transform .3s ease;
}
.feature-card:hover { border-color: rgba(233, 74, 57, .6); box-shadow: var(--card-shadow-hover); }
.feature-card:hover::before { transform: scale(1.25); }
.feature-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--qy-yellow), var(--qy-red));
  color: var(--qy-white);
  box-shadow: 0 6px 14px -4px rgba(233, 74, 57, .5);
  transition: transform .3s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(6deg); }
.feature-card h3 {
  position: relative;
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--qy-red-dark);
}
.feature-card p { position: relative; margin-top: 10px; color: rgba(31, 20, 16, .85); }

/* ¿Cómo jugar? */
.step-card {
  position: relative;
  overflow: hidden;
  padding: 36px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(0, 0, 0, .2);
  background: var(--qy-red);
  color: var(--qy-white);
  text-align: center;
  box-shadow: 0 18px 40px -18px rgba(233, 74, 57, .6);
  transition: border-color var(--transition);
}
.step-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(243, 189, 4, .25), transparent 50%, rgba(0, 0, 0, .2));
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.step-card:hover { border-color: var(--qy-yellow); }
.step-card:hover::after { opacity: 1; }
.step-snaps { display: flex; justify-content: center; gap: 22px; }
.step-snaps span {
  font-size: 2.6rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(243, 189, 4, .55));
}
.step-card:hover .step-snaps span { animation: wiggle 1.6s ease-in-out infinite; }
.step-card h3 {
  position: relative;
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.step-card p { position: relative; margin-top: 10px; color: rgba(255, 255, 255, .92); }

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25%      { transform: rotate(-6deg); }
  75%      { transform: rotate(6deg); }
}

/* Bloque destacado debajo de los pasos */
.ticket-banner {
  margin-top: 28px;
  padding: 24px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(0, 0, 0, .2);
  background: var(--qy-yellow);
  text-align: center;
  box-shadow: 0 18px 40px -18px rgba(233, 74, 57, .6);
}
.ticket-banner p {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--qy-warm-dark);
}

/* Tabla de premios */
.prize-table-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(247, 173, 97, .5);
  box-shadow: 0 20px 50px -20px rgba(233, 74, 57, .5);
}
.prize-table { width: 100%; border-collapse: collapse; text-align: left; }
.prize-table th {
  padding: 18px 24px;
  background: var(--qy-red);
  color: var(--qy-white);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.prize-table td { padding: 22px 24px; font-size: 1.05rem; color: var(--qy-warm-dark); }
.prize-table tbody tr:nth-child(odd)  { background: var(--qy-white); }
.prize-table tbody tr:nth-child(even) { background: #fce8b0; }
.prize-digits,
.prize-amount {
  font-family: var(--font-display);
  font-size: 1.25rem !important;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.prize-digits { color: var(--qy-red-dark) !important; white-space: nowrap; }
.prize-example {
  margin-top: 28px;
  text-align: center;
  font-style: italic;
  font-weight: 600;
  color: var(--qy-warm-dark);
}
.prize-example strong { color: var(--qy-red); }
@media (max-width: 600px) {
  .prize-table th, .prize-table td { padding: 14px 12px; }
  .prize-table td { font-size: .9rem; }
  .prize-digits, .prize-amount { font-size: 1rem !important; }
}

/* Aciertos indirectos */
.bonus-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(247, 173, 97, .5);
  background: rgba(255, 255, 255, .95);
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition);
}
.bonus-card:hover { border-color: rgba(233, 74, 57, .7); }
.bonus-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--qy-red-dark);
}
.bonus-title svg { color: var(--qy-red); flex-shrink: 0; }
.bonus-card:hover .bonus-title svg { animation: wiggle 1.6s ease-in-out infinite; }
.bonus-card > p { color: rgba(31, 20, 16, .85); }
.bonus-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bonus-chips span {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(243, 189, 4, .3);
  color: var(--qy-red-dark);
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bonus-example {
  margin-top: auto;
  padding: 10px 14px;
  border-left: 3px solid var(--qy-red);
  border-radius: 8px;
  background: rgba(247, 173, 97, .3);
  font-size: .92rem;
  font-style: italic;
  color: var(--qy-warm-dark);
}
.bonus-example strong { font-style: normal; color: var(--qy-red-dark); }

/* ¿Dónde jugar? */
.donde-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(247, 173, 97, .4);
  background: rgba(255, 255, 255, .9);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item.open { border-color: rgba(233, 74, 57, .7); box-shadow: var(--card-shadow); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--qy-warm-dark);
  transition: background var(--transition);
}
.faq-question:hover { background: rgba(243, 189, 4, .2); }
.faq-icon { display: flex; color: var(--qy-red); transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.faq-item.open .faq-answer { grid-template-rows: 1fr; }
.faq-answer-inner { overflow: hidden; }
.faq-answer p { padding: 0 24px 20px; color: rgba(31, 20, 16, .85); }

/* ============================================
   MODAL AGENCIAS
   ============================================ */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  background: rgba(31, 20, 16, .75);
}
.modal-content {
  position: relative;
  width: 90%;
  max-width: 1100px;
  height: 70vh;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--qy-white);
  color: var(--qy-warm-dark);
}
.modal-content h2 {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--qy-red-dark);
}
.cerrar {
  position: absolute;
  top: 10px; right: 18px;
  z-index: 2;
  font-size: 2rem;
  line-height: 1;
  color: var(--qy-warm-dark);
}
#mapContainer { width: 100%; height: calc(100% - 40px); }

/* ============================================
   BOTÓN FLOTANTE
   ============================================ */
.floating-btn-jugada {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 900;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid var(--qy-white);
  background: var(--qy-red);
  color: var(--qy-white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: .04em;
  box-shadow: 0 10px 30px -8px rgba(31, 20, 16, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background var(--transition);
}
.floating-btn-jugada.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-btn-jugada:hover { background: var(--qy-red-dark); }
@media (max-width: 767px) {
  .floating-btn-jugada { left: 50%; right: auto; bottom: 16px; transform: translate(-50%, 20px); }
  .floating-btn-jugada.visible { transform: translate(-50%, 0); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 64px 0 32px;
  background: var(--qy-warm-dark);
  color: rgba(255, 255, 255, .8);
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-logo { width: 180px; height: auto; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--qy-yellow);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .95rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--qy-orange); }
.footer-legal-row { width: 100%; }
.footer-legal { width: 100%; max-width: 640px; height: auto; }
.linkLegal:hover { opacity: .6; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
}

/* ============================================
   PANEL DE JUEGOS
   ============================================ */
.games-panel-container {
  position: fixed;
  left: 0; bottom: 0;
  z-index: 10001;
  width: 100%;
  height: 120px;
  background: var(--qy-warm-dark);
  border-top: 2px solid var(--qy-red);
  box-shadow: 0 -10px 20px rgba(0, 0, 0, .4);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s ease, opacity .4s ease, visibility .4s ease;
}
.games-panel-container.active { transform: translateY(0); opacity: 1; visibility: visible; }
.btn-close {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--qy-white);
  background: var(--qy-red);
  color: var(--qy-white);
  font-size: 12px;
}
.panel-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  height: 100%;
  padding: 20px;
}
.game-logo-item a img {
  height: 60px;
  width: auto;
  filter: grayscale(1) brightness(1.8) drop-shadow(0 0 6px rgba(255, 255, 255, .35));
  opacity: .9;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
}
.game-logo-item a:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.15) translateY(-5px); }
@media (max-width: 768px) {
  .games-panel-container { height: auto; min-height: 250px; padding: 40px 0 30px; }
  .panel-content { flex-wrap: wrap; justify-content: space-evenly; gap: 20px; }
  .game-logo-item { flex: 0 1 25%; display: flex; justify-content: center; }
  .game-logo-item a img { height: 70px; max-width: 100px; filter: none; opacity: 1; }
}
@media (max-width: 480px) {
  .game-logo-item { flex: 0 1 40%; }
}

/* ============================================
   ANIMACIONES DE ENTRADA (scroll)
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
  :root { --section-gap: 64px; }
  .hero { padding: 96px 0 72px; }
  .hero-claim { height: auto; width: min(88vw, 420px); }
  .btn-lg { padding: 16px 36px; font-size: 1.1rem; }
  .donde-actions .btn { width: 100%; max-width: 360px; }
}

/* Accesibilidad: sin movimiento si el usuario lo pide */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-up { opacity: 1; transform: none; }
  .qy-bg-snaps { display: none; }
}
