*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --primary-green:    #008f68;
      --dark-green:       #005a38;
      --secondary-orange: #ff9800;
      --bg-light:         #f4f7f6;
      --white:            #ffffff;
      --text:             #2d3436;
      --muted:            #636e72;
      --shadow:           0 10px 30px rgba(0,0,0,0.08);
      --glass:            rgba(255,255,255,0.92);
      --radius:           20px;
    }

    body {
      font-family: 'Outfit', 'Segoe UI', sans-serif;
      background: var(--bg-light);
      background-image: radial-gradient(circle at top right, #e0f2f1, transparent);
      color: var(--text);
      overflow-x: hidden;
      min-height: 100vh;
    }

    /* ── SPLASH ── */
    #splash {
      position: fixed; inset: 0;
      background: linear-gradient(135deg, #ff9800 0%, #008f68 60%, #005a38 100%);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      z-index: 9999;
      transition: opacity 0.6s ease, visibility 0.6s ease;
    }
    #splash.ocultar { opacity: 0; visibility: hidden; }
    .splash-logo-wrap {
      display: flex; flex-direction: column; align-items: center; gap: 18px;
      animation: splashEntrada 0.7s cubic-bezier(0.175,0.885,0.32,1.275) both;
    }
    .splash-icono {
      width: 110px; height: 110px; background: white; border-radius: 28px;
      display: flex; align-items: center; justify-content: center; font-size: 56px;
      box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    }
    .splash-titulo { font-size: 32px; font-weight: 900; color: white; letter-spacing: -0.5px; }
    .splash-subtitulo { font-size: 14px; color: rgba(255,255,255,0.75); letter-spacing: 2px; text-transform: uppercase; margin-top: -10px; }
    .splash-loader { margin-top: 48px; display: flex; gap: 8px; }
    .splash-dot { width: 10px; height: 10px; background: rgba(255,255,255,0.5); border-radius: 50%; animation: pulseDot 1.2s ease-in-out infinite; }
    .splash-dot:nth-child(2) { animation-delay: 0.2s; }
    .splash-dot:nth-child(3) { animation-delay: 0.4s; }
    @keyframes splashEntrada { from { opacity:0; transform:scale(0.7) translateY(30px); } to { opacity:1; transform:scale(1) translateY(0); } }
    @keyframes pulseDot { 0%,80%,100% { background:rgba(255,255,255,0.3); transform:scale(0.8); } 40% { background:rgba(255,255,255,1); transform:scale(1.2); } }

    /* ── HEADER ── */
    header {
      background: var(--glass);
      backdrop-filter: blur(10px);
      box-shadow: var(--shadow);
      position: sticky; top: 0; z-index: 1000;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .top-bar {
      display: flex; align-items: center; gap: 16px;
      padding: 10px 5%; max-width: 1600px; margin: 0 auto;
    }
    .logo { flex-shrink: 0; display: flex; align-items: center; height: 56px; }
    .logo img { height: 100%; width: auto; max-height: 52px; max-width: 160px; object-fit: contain; display: block; }
    .logo-fallback { font-weight: 900; font-size: 1.1rem; line-height: 1.2; color: var(--primary-green); }
    .logo-fallback span { color: var(--secondary-orange); }

    .search-container { flex: 1; min-width: 0; }
    .search-container input {
      width: 100%; padding: 10px 18px; border-radius: 50px;
      border: 1px solid #e0e0e0; background: #fff; font-size: 0.92rem;
      outline: none; font-family: inherit; transition: border-color 0.2s;
    }
    .search-container input:focus { border-color: var(--primary-green); }

    .nav-icons { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

    .btn-home {
      background: #f5f5f5; border: 1px solid #e0e0e0;
      padding: 9px 14px; border-radius: 12px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      color: var(--text); transition: background 0.2s, transform 0.2s;
    }
    .btn-home:hover { background: rgba(230,138,0,0.15); transform: translateY(-1px); }

    .cart-icon {
      background: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 50%;
      width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
      cursor: pointer; position: relative; transition: background 0.2s; color: var(--text);
    }
    .cart-icon:hover { background: #e8e8e8; }
    #cart-count {
      position: absolute; top: -4px; right: -4px;
      background: var(--secondary-orange); color: white;
      border-radius: 50%; padding: 2px 5px; font-size: 10px; font-weight: 700;
      min-width: 18px; text-align: center; line-height: 1.4;
    }

    .btn-perfil {
      display: flex; align-items: center; gap: 8px;
      background: linear-gradient(135deg, #005a38, #008f68);
      color: white; border: none; padding: 9px 16px; border-radius: 50px;
      font-size: 14px; font-weight: 600; cursor: pointer;
      box-shadow: 0 4px 15px rgba(0,112,75,0.2);
      transition: background 0.3s, transform 0.2s;
      white-space: nowrap; font-family: inherit;
    }
    .btn-perfil:hover { background: linear-gradient(135deg, #ff9800, #e67e00); transform: translateY(-2px); }

    /* Promo Ticker */
    .promo-ticker {
      overflow: hidden; padding: 8px 0; margin: 8px 5% 10px; border-radius: 50px;
      background: linear-gradient(90deg, var(--primary-green), #008f68, #ff9800);
    }
    .ticker-track { display: inline-flex; animation: scroll-left 30s linear infinite; white-space: nowrap; }
    .ticker-item { padding: 0 3rem; white-space: nowrap; font-weight: 600; font-size: 0.85rem; color: white; }
    @keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

    #usernameBox { text-align: right; padding: 4px 5%; font-size: 0.88rem; color: var(--primary-green); font-weight: bold; }

    /* ── MAIN GRID ── */
    .main-grid {
      display: grid;
      grid-template-columns: 240px 1fr 280px;
      grid-template-areas: "sidebar main right";
      gap: 24px; padding: 20px 5%;
      max-width: 1600px; margin: 0 auto; align-items: start;
    }

    /* ── SIDEBAR ── */
    .sidebar {
      grid-area: sidebar; background: var(--white); border-radius: 24px;
      padding: 16px; box-shadow: var(--shadow);
      position: sticky; top: 110px;
      display: flex; flex-direction: column; gap: 4px;
    }
    .sidebar-title {
      background: var(--secondary-orange); color: white;
      padding: 11px 14px; border-radius: 12px; margin-bottom: 8px;
      font-size: 0.95rem; font-weight: 700; text-align: center;
    }
    .category-btn {
      display: flex; align-items: center; gap: 10px;
      padding: 10px 12px; border-radius: 12px; border: none;
      background: transparent; font-size: 0.88rem; font-weight: 500;
      color: var(--muted); cursor: pointer; text-align: left;
      text-decoration: none; font-family: inherit; white-space: nowrap;
      transition: background 0.2s, color 0.2s, transform 0.2s;
    }
    .category-btn svg { flex-shrink: 0; }
    .category-btn:hover, 
    .category-btn.active { background: #e8f5e9; color: var(--primary-green); transform: translateX(4px); }
    .category-btn.active { font-weight: 700; }

    /* ── MAIN ── */
    main { grid-area: main; display: flex; flex-direction: column; gap: 28px; min-width: 0; }
    .section-title { font-size: 1.5rem; font-weight: 800; color: #2d3436; }

    /* Carrusel */
    .carrusel-contenedor { width: 100%; overflow: hidden; border-radius: var(--radius); }
    .slick-moderno { display: none; }
    .slick-initialized { display: block; }
    .slide-item img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); display: block; }
    .slick-dots { bottom: 14px; }
    .slick-dots li button:before { color: white !important; font-size: 10px; opacity: 0.6; }
    .slick-dots li.slick-active button:before { opacity: 1; }

    /* Cards restaurantes */
    .grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
    .card {
      background: white; border-radius: 20px; padding: 20px; text-align: center;
      box-shadow: var(--shadow); border: 2px solid transparent;
      display: flex; flex-direction: column; gap: 6px;
      transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    }
    .card:hover { transform: translateY(-8px); border-color: var(--primary-green); box-shadow: 0 16px 40px rgba(0,143,104,0.12); }
    .card-icon { font-size: 2.8rem; margin-bottom: 6px; display: block; }
    .card h4 { font-size: 1rem; font-weight: 700; }
    .card p { font-size: 0.78rem; color: var(--muted); }
    .card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
    .add-btn {
      background: var(--primary-green); color: white; border: none;
      width: 36px; height: 36px; border-radius: 10px; cursor: pointer; font-size: 1.3rem;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s, transform 0.2s;
    }
    .add-btn:hover { background: var(--dark-green); transform: scale(1.1); }

    /* Mega promo */
    .mega-promo {
      background: var(--white); padding: 20px; border-radius: var(--radius);
      box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px;
    }
    .mega-promo .icon {
      flex-shrink: 0;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #f97316;        /* naranja fuego */
    }
    .mega-promo .icon svg {
      width: 100%;
      height: 100%;
    }
    .mega-promo h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
    .mega-promo p { color: var(--muted); font-size: 0.87rem; }
    .mega-promo small { color: var(--secondary-orange); font-weight: bold; }

    
    /* Hero */
    .hero {
      background: url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1000&q=80') center/cover no-repeat;
      border-radius: 28px; height: 240px; position: relative; overflow: hidden;
      display: flex; align-items: center; box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }
    .hero-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to right, rgba(0,143,104,0.88), transparent);
      padding: 40px; display: flex; align-items: center; color: white;
    }
    .hero-content h2 { font-size: 2rem; font-weight: 900; line-height: 1.2; margin-bottom: 6px; }
    .hero-content p { opacity: 0.88; font-size: 0.95rem; }

    /* Ofertas */
    .ofertas-container { background: linear-gradient(160deg, #008f68, #ff9800); padding: 32px; border-radius: 28px; }
    .ofertas-header { text-align: center; color: #fff7f1; margin-bottom: 24px; }
    .ofertas-header h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 6px; }
    .sub-oferta { font-weight: 300; color: rgba(255,255,255,0.9); margin-bottom: 10px; font-size: 0.95rem; }
    .actualizarContador {
      background: rgb(255, 255, 255); color:rgb(0, 102, 54); display: inline-flex; align-items: center;
      gap: 8px; padding: 10px 20px; border-radius: 12px; font-size: 0.95rem;
    }
    .actualizarContador strong { font-size: 1.15rem; color: var(--secondary-orange); }

    .ofertas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; }

    .oferta-card {
      background: rgba(255,255,255,0.9); border-radius: 20px; padding: 18px;
      text-align: center; position: relative;
      box-shadow: 0 10px 24px rgba(0,0,0,0.12);
      display: flex; flex-direction: column; align-items: center; gap: 10px;
      transition: transform 0.25s;
    }
    .oferta-card:hover { transform: translateY(-8px); }
    .oferta-card img { width: 90px; height: 90px; object-fit: contain; margin-top: 8px; border-radius: 10px; background: #f9f9f9; }
    .oferta-card h3 { font-size: 0.92rem; font-weight: 700; color: #4a2b0f; text-align: center; }

    .tarj { position: absolute; top: 10px; left: 10px; background: #ff3b3b; color: white; padding: 4px 10px; font-size: 11px; border-radius: 20px; font-weight: 700; }

    .precio .nuevo { background: #ff4d6d; color: white; padding: 5px 14px; border-radius: 12px; font-size: 1.05rem; font-weight: 800; display: inline-block; }
    .precio .antes { display: block; margin-top: 3px; font-size: 12px; text-decoration: line-through; color: #888; }

    .btn-oferta {
      background: linear-gradient(45deg, #ff9800, #ffbf69); border: none;
      padding: 9px 14px; border-radius: 14px; font-weight: 700; cursor: pointer;
      color: #4a2b0f; width: 100%; font-family: inherit; font-size: 0.83rem;
      display: flex; align-items: center; justify-content: center; gap: 6px;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-oferta:hover { background: linear-gradient(45deg, #ffbf69, #ff9800); transform: translateY(-1px); }
    .btn-oferta.bump { animation: bump 0.35s ease; }
    @keyframes bump { 0%,100% { transform: scale(1); } 50% { transform: scale(1.1); } }

    .ultimas-unidades { text-align: center; margin-top: 18px; font-weight: 700; background: #fff3f3; color: #ff3b3b; padding: 10px; border-radius: 10px; font-size: 0.9rem; }

    /* ── PANEL DERECHO ── */
    .right-panel { grid-area: right; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 110px; }
    .right-panel .oferta-card { background: var(--white); box-shadow: var(--shadow); }
    .right-panel .oferta-card img { width: 80px; height: 80px; }

    /* ══════════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════════ */
    @media (max-width: 1280px) {
      .main-grid { grid-template-columns: 210px 1fr 240px; gap: 18px; padding: 18px 3%; }
    }

    @media (max-width: 1024px) {
      .main-grid {
        grid-template-columns: 200px 1fr;
        grid-template-areas: "sidebar main" "right right";
        gap: 16px; padding: 16px 3%;
      }
      .right-panel { position: static; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
    }

    @media (max-width: 768px) {
      /* Header */
      .top-bar { flex-wrap: wrap; gap: 8px; padding: 10px 4%; }
      .logo { flex: 1; height: 48px; }
      .logo img { max-height: 44px; max-width: 110px; }
      .nav-icons { flex-shrink: 0; }
      .search-container { order: 3; width: 100%; flex: none; min-width: 0; }
      .btn-perfil .perfil-texto { display: none; }
      .btn-perfil { padding: 9px 12px; }
      .promo-ticker { margin: 6px 4% 8px; }

      /* Grid */
      .main-grid {
        grid-template-columns: 1fr;
        grid-template-areas: "sidebar" "main" "right";
        gap: 12px; padding: 10px 4%;
      }

      /* Sidebar: pills scroll horizontal */
      .sidebar {
        position: static; height: auto;
        flex-direction: row; flex-wrap: nowrap;
        overflow-x: auto; overflow-y: hidden;
        -webkit-overflow-scrolling: touch; scrollbar-width: none;
        gap: 8px; padding: 10px 12px; border-radius: 16px;
      }
      .sidebar::-webkit-scrollbar { display: none; }
      .sidebar-title { display: none; }

      .category-btn {
        flex-shrink: 0; flex-direction: column; gap: 4px;
        padding: 10px 14px; font-size: 0.76rem; border-radius: 14px;
        background: #f0f4f0; text-align: center;
        transform: none !important; white-space: nowrap;
      }
      .category-btn svg { width: 18px; height: 18px; }
      .category-btn.active, .category-btn:hover { background: var(--primary-green); color: white; }

      /* Carrusel */
      .slide-item img { height: 200px; }

      /* Cards */
      .grid-products { grid-template-columns: repeat(2,1fr); gap: 12px; }
      .card { padding: 14px; }
      .card img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        border-radius: 12px;
        display: block;
        margin-bottom: 10px;
      }

        @media (max-width: 600px) {
            .card img {
                height: 130px;
            }
          }

      /* Hero */
      .hero { height: 250px; border-radius: 20px; }
      .hero-overlay { padding: 24px 28px; }
      .hero-content h2 { font-size: 1.5rem; }

      /* Ofertas */
      .ofertas-container { padding: 20px 16px; border-radius: 20px; }
      .ofertas-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
      .oferta-card { padding: 14px; }
      .oferta-card img { width: 70px; height: 70px; }

      /* Panel derecho */
      .right-panel { position: static; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
    }

    @media (max-width: 420px) {
      .top-bar { padding: 8px 3%; }
      .main-grid { padding: 8px 3%; }
      .grid-products { grid-template-columns: repeat(2,1fr); gap: 10px; }
      .ofertas-grid  { grid-template-columns: repeat(2,1fr); gap: 10px; }
      .right-panel   { grid-template-columns: repeat(2,1fr); gap: 10px; }
      .hero-content h2 { font-size: 1.2rem; }
    }

    
/* ════════════════════════════════════════════
   1. CÓMO FUNCIONA
════════════════════════════════════════════ */
.como-funciona {
  padding: 80px 20px;
  background: var(--light-bg);
  text-align: center;
}

.cf-titulo {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.cf-subtitulo {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 60px;
}

.cf-pasos {
  display: flex;
  flex-direction: row;        /* ← explícito para PC */
  align-items: stretch;       /* ← tarjetas misma altura */
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 0;
}

.cf-paso {
  background: #fff;
  border-radius: var(--card-radius, 16px);
  padding: 40px 20px;
  flex: 1 1 0;               /* ← crecen igual */
  min-width: 0;              /* ← evita desbordamiento */
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.cf-paso:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.step-icon, .step-icono {
  width: 64px;
  height: 64px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--primary-green);
  transition: transform 0.3s ease;
  flex-shrink: 0;            /* ← no se achica */
}

.cf-paso:hover .step-icon {
  transform: scale(1.1) rotate(5deg);
}

.cf-num {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(22, 163, 74, 0.3);
  white-space: nowrap;       /* ← evita que "01" se parta */
}

.cf-paso h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 10px 0 8px;
  color: #1a1a1a;
}

.cf-paso p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
}

/* Línea de conexión */
.cf-linea {
  flex: 0 0 40px;            /* ← ancho fijo, no crece ni encoge */
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--primary-green) 0 6px,
    transparent 6px 12px
  );
  opacity: 0.4;
  align-self: center;
  margin-top: -10px;         /* ← compensa el número flotante */
  z-index: 1;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .cf-pasos {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .cf-linea {
    width: 2px;
    height: 30px;
    flex: 0 0 30px;
    background: repeating-linear-gradient(
      180deg,
      var(--primary-green) 0 6px,
      transparent 6px 12px
    );
    margin: 0;
  }

  .cf-paso {
    width: 100%;
    max-width: 340px;
  }
}


/* ════════════════════════════════════════════
   2. CATEGORÍAS POPULARES
════════════════════════════════════════════ */
.categorias-pop {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.cp-titulo {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 36px;
}
.cp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.cp-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg, #eee);
  border-radius: var(--card-radius);
  padding: 22px 10px;
  text-decoration: none;
  transition: transform .25s, box-shadow .25s;
}
.cp-card:hover { transform: translateY(-5px) scale(1.04); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.cp-emoji { font-size: 2.2rem; }
.cp-nombre { font-size: .78rem; font-weight: 700; color: #fff; text-align: center; }


/* ════════════════════════════════════════════
   5. REPARTIDORES
════════════════════════════════════════════ */
.repartidores {
  padding: 60px 20px;
  background: #fff;
}
.rep-contenido {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.rep-texto { flex: 1; min-width: 260px; }
.rep-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  border-radius: 99px;
  padding: 4px 14px;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.rep-texto h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
}
.rep-texto p {
  color: #64748b;
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.rep-beneficios {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column; gap: 10px;
}
.rep-beneficios li { font-size: .9rem; color: #374151; }
.rep-btn {
  display: inline-block;
  background: var(--primary-green);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.rep-btn:hover { background: var(--dark-green); transform: translateY(-2px); }
.rep-stats-box {
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--primary-green), #15803d);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 200px;
}
.rep-stat { text-align: center; }
.rep-num  { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; }
.rep-lbl  { font-size: .78rem; color: #bbf7d0; margin-top: 2px; display: block; }

/* ════════════════════════════════════════════
   6. FOOTER
════════════════════════════════════════════ */
.footer-cd {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 20px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: .85rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.footer-redes { display: flex; gap: 10px; }
.red-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.red-btn:hover { background: var(--primary-green); color: #fff; }
.footer-col h4 {
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: .85rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: #a7f3d0; }
.footer-contacto li { font-size: .85rem; line-height: 1.6; }
.footer-contacto a  { color: #94a3b8; text-decoration: none; }
.footer-contacto a:hover { color: #a7f3d0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .8rem;
  max-width: 1100px;
  margin: 0 auto;
}

/* Responsive footer */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}
.cp-emoji svg {
  stroke: #ffffff; /* O el color que prefieras para el icono lineal */
  display: block;
  margin: 0 auto;
}

.rep-contenido {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .rep-beneficios {
    align-items: left; /* Centramos los iconos y texto */
    padding: 0;
  }

  .rep-stats-box {
    width: 100%;
    margin-top: 20px;
    grid-template-columns: 1fr; /* Una estadística por fila */
  }

  /* 4. Footer: Una columna tras otra */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-redes {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
