/* =====================================================
   DOMIPANCHO — HERO BANNER + CATEGORÍAS RÁPIDAS
   Mobile-first · En PC: hero izquierda + cats derecha
   ===================================================== */

/* ══════════════════════════════════════
   WRAPPER — transparente en móvil/tablet
   ══════════════════════════════════════ */
   .dp-hero-row {
    margin: 0;
    padding: 0;
  }
  
  
  /* ══════════════════════════════════════
     HERO BANNER — base móvil
     ══════════════════════════════════════ */
  .dp-hero-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 55%, #0f3460 100%);
    padding: 14px 16px 16px;
    margin: 0;
  }
  
  .dp-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
  
  .dp-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(44px);
    opacity: .2;
  }
  .dp-blob-1 {
    width: 180px; height: 180px;
    background: #ff6b35;
    top: -50px; left: -40px;
    animation: dpBlob 9s ease-in-out infinite;
  }
  .dp-blob-2 {
    width: 120px; height: 120px;
    background: #f39c12;
    bottom: -20px; right: 4%;
    animation: dpBlob 12s ease-in-out infinite reverse;
  }
  @keyframes dpBlob {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
  }
  
  .dp-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 22px 22px;
  }
  
  /* Layout interno del hero */
  .dp-hero-inner {
    position: relative; z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .dp-hero-text { flex: 1; min-width: 0; }
  
  .dp-hero-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1.25;
    color: #fff;
    margin: 0;
  }
  
  .dp-highlight {
    background: linear-gradient(90deg, #ff6b35, #f5a623);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* ── Ilustración (emojis animados) ── */
  .dp-hero-illus {
    position: relative;
    width: 64px; height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .dp-illus-ring {
    position: absolute;
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 1.5px dashed rgba(255,107,53,.3);
    animation: dpSpin 12s linear infinite;
  }
  @keyframes dpSpin { to { transform: rotate(360deg); } }
  
  .dp-illus-circle {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #ff6b35, #e55a2b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(255,107,53,.45);
    animation: dpPulse 3s ease-in-out infinite;
    z-index: 1;
  }
  .dp-illus-circle svg { width: 26px; height: 26px; }
  
  @keyframes dpPulse {
    0%,100% { box-shadow: 0 4px 18px rgba(255,107,53,.4); }
    50%      { box-shadow: 0 6px 26px rgba(255,107,53,.65); }
  }
  
  /* Emojis flotantes */
  .dp-f1, .dp-f2, .dp-f3 {
    position: absolute;
    font-size: .82rem;
    user-select: none;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.3));
  }
  .dp-f1 { top: 0;     left: 0;   animation: dpFl 3.5s ease-in-out infinite; }
  .dp-f2 { top: 2px;   right: 0;  animation: dpFl 4.2s ease-in-out infinite .7s; }
  .dp-f3 { bottom: 0;  left: 6px; animation: dpFl 3.8s ease-in-out infinite 1.4s; }
  
  @keyframes dpFl {
    0%,100% { transform: translateY(0) rotate(-4deg); }
    50%      { transform: translateY(-8px) rotate(4deg); }
  }
  
  
  /* ══════════════════════════════════════
     CATEGORÍAS RÁPIDAS — base móvil
     ══════════════════════════════════════ */
  .dp-quick-cats {
    background: #fff;
    border-bottom: 1px solid #efefef;
    padding: 8px 0 10px;
    margin: 0;
  }
  
  .dp-cats-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 14px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    justify-content: center;
    flex-wrap: wrap;
  }
  .dp-cats-scroll::-webkit-scrollbar { display: none; }
  
  .dp-cat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    scroll-snap-align: start;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: transform .14s ease;
  }
  .dp-cat-pill:active { transform: scale(.91); }
  
  .dp-cat-ic {
    width: 40px; height: 40px;
    border-radius: 11px;
    background: var(--bg, #fff3ee);
    color: var(--c, #ff6b35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .17s, color .17s, transform .17s;
    box-shadow: 0 2px 5px rgba(0,0,0,.07);
    border: 2px solid transparent;
  }
  .dp-cat-ic svg { width: 19px; height: 19px; }
  
  .dp-cat-active .dp-cat-ic {
    background: var(--c, #ff6b35) !important;
    color: #fff !important;
    border-color: var(--c, #ff6b35);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
  }
  .dp-cat-active span { color: var(--c, #ff6b35) !important; font-weight: 700 !important; }
  
  .dp-cat-pill:hover .dp-cat-ic {
    background: var(--c, #ff6b35);
    color: #fff;
    transform: scale(1.05);
  }
  .dp-cat-pill span {
    font-size: .62rem;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    transition: color .17s;
  }
  .dp-cat-pill:hover span { color: var(--c, #ff6b35); }
  
  
  /* ══════════════════════════════════════
     TABLET  ≥ 600px
     ══════════════════════════════════════ */
  @media (min-width: 600px) {
    .dp-hero-banner { padding: 16px 24px 18px; }
    .dp-hero-title  { font-size: 1.3rem; }
  
    .dp-hero-illus    { width: 72px; height: 72px; }
    .dp-illus-ring    { width: 68px; height: 68px; }
    .dp-illus-circle  { width: 50px; height: 50px; }
    .dp-illus-circle svg { width: 28px; height: 28px; }
    .dp-f1,.dp-f2,.dp-f3 { font-size: .9rem; }
  
    .dp-cats-scroll { padding: 4px 24px; gap: 10px; }
    .dp-cat-ic      { width: 42px; height: 42px; }
    .dp-cat-ic svg  { width: 20px; height: 20px; }
    .dp-cat-pill span { font-size: .64rem; }
  }
  
  
  /* ══════════════════════════════════════
     DESKTOP  ≥ 1024px
     ── HERO izquierda + CATS derecha ──
     Una sola franja oscura unificada
     ══════════════════════════════════════ */
  @media (min-width: 1024px) {
  
    /* El wrapper se convierte en la franja oscura */
    .dp-hero-row {
      display: flex;
      align-items: stretch;
      background: linear-gradient(135deg, #1a1a2e 0%, #16213e 55%, #0f3460 100%);
      border-bottom: 1px solid rgba(255,255,255,.06);
      position: relative;
      overflow: hidden;
      margin: 0;
    }
  
    /* Blobs decorativos sobre el wrapper */
    .dp-hero-row::before {
      content: '';
      position: absolute;
      width: 220px; height: 220px;
      background: #ff6b35;
      border-radius: 50%;
      filter: blur(55px);
      opacity: .12;
      top: -70px; left: -50px;
      pointer-events: none;
      z-index: 0;
      animation: dpBlob 9s ease-in-out infinite;
    }
    .dp-hero-row::after {
      content: '';
      position: absolute;
      width: 150px; height: 150px;
      background: #f39c12;
      border-radius: 50%;
      filter: blur(48px);
      opacity: .1;
      bottom: -40px; right: 3%;
      pointer-events: none;
      z-index: 0;
      animation: dpBlob 12s ease-in-out infinite reverse;
    }
  
    /* Dots del hero-bg se quedan en el hero (background ya es transparent) */
  
    /* ── Hero: ~38% izquierda, fondo transparente ── */
    .dp-hero-banner {
      background: transparent;
      flex: 0 0 38%;
      max-width: 38%;
      padding: 14px 20px 14px 32px;
      border-right: 1px solid rgba(255,255,255,.07);
      display: flex;
      align-items: center;
      overflow: visible;
    }
  
    /* Los blobs del hero ya no se necesitan (los maneja el wrapper) */
    .dp-blob-1, .dp-blob-2 { display: none; }
  
    /* Los dots siguen dentro del hero */
    .dp-dots {
      position: absolute; inset: 0;
      background-image: radial-gradient(circle, rgba(255,255,255,.03) 1px, transparent 1px);
      background-size: 22px 22px;
      z-index: 0;
    }
  
    .dp-hero-inner {
      width: 100%;
      max-width: 100%;
      gap: 14px;
      z-index: 1;
    }
  
    .dp-hero-title {
      font-size: 1.15rem;
      white-space: normal;
    }
    .dp-hero-title br { display: inline; }
  
    .dp-hero-illus    { width: 68px; height: 68px; }
    .dp-illus-ring    { width: 64px; height: 64px; }
    .dp-illus-circle  { width: 48px; height: 48px; }
    .dp-illus-circle svg { width: 27px; height: 27px; }
    .dp-f1,.dp-f2,.dp-f3 { font-size: .85rem; }
  
    /* ── Categorías: resto del espacio (derecha) ── */
    .dp-quick-cats {
      flex: 1;
      background: transparent;
      border-bottom: none;
      border-left: none;
      padding: 0;
      display: flex;
      align-items: center;
      margin: 0;
      min-width: 0;
    }
  
    /* Scroll horizontal dentro de la franja */
    .dp-cats-scroll {
      overflow-x: auto;
      overflow-y: visible;
      flex-wrap: nowrap;
      justify-content: flex-start;
      gap: 6px;
      padding: 12px 28px 12px 18px;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      width: 100%;
      margin: 0;
      align-items: center;
      position: relative;
      z-index: 1;
    }
    .dp-cats-scroll::-webkit-scrollbar { display: none; }
  
    /* Pills: estilo pill redondeado sobre fondo oscuro */
    .dp-cat-pill {
      flex-direction: row;
      gap: 6px;
      padding: 5px 12px;
      border-radius: 22px;
      background: rgba(255,255,255,.1);
      border: 1px solid rgba(255,255,255,.13);
      box-shadow: none;
      transition: all .18s ease;
      height: auto;
      flex-shrink: 0;
      scroll-snap-align: start;
    }
    .dp-cat-pill:hover {
      background: rgba(255,255,255,.18);
      border-color: rgba(255,255,255,.3);
      transform: translateY(-1px);
      box-shadow: 0 3px 12px rgba(0,0,0,.25);
    }
    .dp-cat-pill:active { transform: scale(.95); }
  
    .dp-cat-ic {
      width: 28px; height: 28px;
      border-radius: 8px;
      box-shadow: none;
      border: none;
      flex-shrink: 0;
      /* Forzar fondo semi-transparente claro sobre oscuro */
      background: rgba(255,255,255,.15) !important;
      color: #fff !important;
    }
    .dp-cat-ic svg { width: 15px; height: 15px; }
  
    .dp-cat-pill span {
      font-size: .72rem;
      font-weight: 600;
      color: rgba(255,255,255,.82);
      white-space: nowrap;
    }
    .dp-cat-pill:hover span { color: #fff; }
  
    /* Estado activo sobre fondo oscuro */
    .dp-cat-active {
      background: rgba(255,107,53,.28) !important;
      border-color: rgba(255,107,53,.65) !important;
      box-shadow: 0 2px 12px rgba(255,107,53,.3) !important;
    }
    .dp-cat-active .dp-cat-ic {
      background: #ff6b35 !important;
      color: #fff !important;
    }
    .dp-cat-active span {
      color: #fff !important;
      font-weight: 700 !important;
    }
  }
  
  
  /* ══════════════════════════════════════
     DESKTOP GRANDE  ≥ 1280px
     ══════════════════════════════════════ */
  @media (min-width: 1280px) {
    .dp-hero-banner {
      flex: 0 0 34%;
      max-width: 34%;
      padding: 16px 24px 16px 48px;
    }
    .dp-hero-title { font-size: 1.25rem; }
  
    .dp-hero-illus    { width: 76px; height: 76px; }
    .dp-illus-ring    { width: 72px; height: 72px; }
    .dp-illus-circle  { width: 52px; height: 52px; }
    .dp-illus-circle svg { width: 30px; height: 30px; }
    .dp-f1,.dp-f2,.dp-f3 { font-size: .95rem; }
  
    .dp-cats-scroll { padding: 14px 48px 14px 24px; gap: 7px; }
    .dp-cat-pill    { padding: 6px 13px; gap: 7px; border-radius: 24px; }
    .dp-cat-ic      { width: 30px; height: 30px; }
    .dp-cat-ic svg  { width: 16px; height: 16px; }
    .dp-cat-pill span { font-size: .74rem; }
  }
  
  
  /* ══════════════════════════════════════
     DESKTOP XL  ≥ 1440px
     ══════════════════════════════════════ */
  @media (min-width: 1440px) {
    .dp-hero-banner {
      flex: 0 0 30%;
      max-width: 30%;
      padding: 18px 28px 18px 56px;
    }
    .dp-hero-title { font-size: 1.35rem; }
    .dp-cats-scroll { padding: 14px 56px 14px 28px; gap: 8px; }
    .dp-cat-pill span { font-size: .77rem; }
  }