/* Formulario popup para cambiar correo/contraseña */
/* Barra de seguridad de contraseña */
.password-strength-container {
  width: 100%;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.password-strength-bar {
  height: 8px;
  width: 0%;
  background: #e5e7eb;
  border-radius: 6px;
  transition: width 0.3s, background 0.3s;
  margin-bottom: 2px;
}
.password-strength-label {
  font-size: 0.92rem;
  font-weight: 500;
  margin-left: 2px;
  transition: color 0.3s;
}

/* Formulario popup para cambiar correo/contraseña mejorado */
.form-popup-container {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(.68,-0.55,.27,1.55);
}
.form-popup-container.show {
  opacity: 1;
  pointer-events: auto;
}
.form-popup {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 2px 8px rgba(255,77,77,0.08);
  padding: 28px 18px 18px;
  min-width: 270px;
  max-width: 340px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  margin: 24px 0;
@media (max-width: 600px) {
  .form-popup {
    min-width: 0;
    max-width: 98vw;
    padding: 18px 6vw 18px 6vw;
    margin: 12px 0;
  }
  .form-popup-container {
    align-items: flex-start;
    padding-top: 10px;
  }
}
  animation: popupBounceIn 0.45s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  border: 1.5px solid var(--border);
}
@keyframes popupBounceIn {
  0% { transform: scale(0.7) translateY(60px); opacity: 0; }
  60% { transform: scale(1.05) translateY(-8px); opacity: 1; }
  80% { transform: scale(0.98) translateY(0); }
  100% { transform: scale(1) translateY(0); }
}
.form-popup h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--red);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
}
.form-popup label {
  font-weight: 500;
  color: var(--ink-2);
  margin-bottom: 2px;
  font-size: 0.97rem;
}
.form-popup input {
  padding: 8px 10px;
  border-radius: 7px;
  border: 1.5px solid var(--border);
  font-size: 0.98rem;
  margin-bottom: 6px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-popup input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px #ffd4d4;
}
.form-popup input.valid {
  border-color: #22c55e;
  box-shadow: 0 0 0 2px #d1fadf;
}
.form-popup input.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px #fee2e2;
}
.form-popup-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 8px;
}
.form-popup-actions .btn {
  min-width: 110px;
  font-size: 1rem;
  transition: transform 0.18s;
}
.form-popup-actions .btn:active {
  transform: scale(0.96);
}
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

  :root{
    --red:#ff4d4d;
    --red-dark:#d83a3a;
    --bg:#fff8f0;
    --ink:#1f2937;
    --ink-2:#4b5563;
    --white:#ffffff;
    --border:#e5e7eb;
  }

  *{box-sizing:border-box}
  body{
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    margin:0;
    background:var(--bg);
    color:var(--ink);
    line-height:1.5;
  }

  a{color:var(--red);text-decoration:none}
  a:hover{text-decoration:underline}

  .small{font-size:.875rem;color:var(--ink-2)}

  /* Barra de navegación */
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
  }

  .nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--red);
  }

  .nav-links {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 500;
  }

  .nav-links a:hover {
    color: var(--red);
  }

  .nav-center form {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 4px 8px;
  }

  .promo-title {
    color: #bf0f30;
    font-weight: 700; /* Opcional: para resaltar el texto */
  }

  .nav-center input {
    border: none;
    background: transparent;
    outline: none;
    padding: 6px;
    font-family: 'Poppins', sans-serif;
  }

  .nav-center button {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
  }

  .nav-right {
    display: flex;
    gap: 8px;
  }

  .btn-login, .btn-membership {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
  }

  .btn-login {
    background: #bf0f30;
    color: white;
  }

  .btn-login:hover {
    background: #a00c25;
  }

  .btn-membership {
    background: var(--white);
    border: 1px solid #bf0f30;
    color: #bf0f30;
  }

  .btn-membership:hover {
    background: #fff1f1;
  }

  /* Hero */
  .hero{
    padding:48px 16px 32px;
    text-align:center;
    background: radial-gradient(1200px 400px at 50% -10%, #ffd4d4, transparent), var(--white);
    border-bottom:1px solid var(--border);
  }
      .hero {
      min-height: 340px;
      width: 100vw;
      left: 50%;
      right: 50%;
      margin-left: -50vw;
      margin-right: -50vw;
      position: relative;
      background: url('img/fondoprincipal.png') center center/cover no-repeat;
      border: none;
      padding: 0;
      display: flex;
      align-items: center;
      justify-content: flex-end; /* mueve el contenido a la derecha */
    }

    .banner-content {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      width: 100%;
      max-width: 1200px;
      margin-right: 40px;
    }

    .banner-text {
      color: #fff;
      font-family: inherit;
      font-weight: 700;
      font-size: 2.2rem;
      line-height: 1.1;
      margin-right: 32px;
      text-align: left;
    }

    .banner-highlight {
      color: #f9d423;
      font-size: 2.2rem;
      font-weight: 700;
      letter-spacing: 1px;
    }

    .banner-img {
      flex: 0 0 420px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .telefono-cupo {
      width: 340px;
      max-width: 90vw;
      transform: rotate(-18deg);
    }

    .telefono-cupo {
    transition: transform 0.25s cubic-bezier(.4,2,.3,1), box-shadow 0.2s;
    cursor: pointer;
    } 
    .telefono-cupo:hover,
    .telefono-cupo:active {
      transform: rotate(-10deg) scale(1.08);
    }

    /* Responsive para móvil */
    @media (max-width: 900px) {
      .hero {
        background-position: center top !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        min-height: 100px;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        box-sizing: border-box;
        overflow-x: hidden;
      }
      .banner-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 12px;
        margin: 0;
      }
      .banner-text {
        font-size: 1.3rem;
        text-align: center;
        width: 100%;
        margin: 0 0 8px 0;
        padding: 0 10px;
      }
      .banner-img {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        margin: 0;
      }
    }
  .logo-hero{width:120px;height:auto;margin-bottom:12px}
  .hero h1{margin:8px 0 8px;font-size:clamp(24px, 3vw, 40px)}
  .hero p{margin:0 0 12px;color:var(--ink-2)}
  .cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:12px}

  /* Buttons */
  .btn{display:inline-block;border-radius:10px;padding:10px 16px;font-weight:700;border:1px solid transparent;cursor:pointer}
  .btn-light{background:var(--white);border-color:var(--border);color:var(--ink)}
  .btn-light:hover{border-color:#d1d5db}
  .btn-dark{background:var(--red);color:var(--white)}
  .btn-dark:hover{background:var(--red-dark)}
  .btn-outline{background:transparent;border-color:var(--red);color:var(--red)}
  .btn-outline:hover{background:#fff1f1}

  /* Sections */
  section{padding:40px 16px}
  h2{font-size:clamp(20px, 2.4vw, 28px);margin:0 0 16px}
  section p{margin:0 0 12px}

  /* Logos */
  .logo-grid{
    display:grid;
    grid-template-columns:repeat(5, minmax(0, 120px));
    gap:16px;
    justify-content:center;
    align-items:center;
  }
  .logo-grid img{width:100%;height:auto;object-fit:contain;filter:saturate(1.05)}
  /* Logo como imagen en la barra */
  .logo-link {
    display: flex;
    align-items: center;
  }

  .logo-img {
    height: 40px; /* ajusta el tamaño según necesites */
    width: auto;
  }


  /* Sección stickers tipo voraa.io */
  .stickers-section {
    background: #fffef9;
    padding: 80px 0 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
  }
  .stickers-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }
  .stickers-text {
    flex: 1 1 400px;
  }
.benefits-hamburguesa {
  display: flex;
  flex-direction: column;
  gap: 38px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.benefits-hamburguesa li {
  transition: color 0.3s;
}
.benefits-hamburguesa li.active .benefit-title {
    color: #bf0f30;
    text-shadow: 0 2px 12px #ffd4d4;
  }
  .benefits-hamburguesa li.active .benefit-desc {
  color: #bf0f30;
}
.benefit-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.benefit-desc {
  font-size: 1.1rem;
    color: #444;
      font-weight: 400;
  max-width: 340px;
}
  .stickers-visual {
    flex: 1 1 400px;
    display: flex;
      align-items: center;
    justify-content: center;
  min-width: 320px;
  }
  .sticker {
    width: 380px;
    max-width: 80vw;
    transition: opacity 0.6s cubic-bezier(.68,-0.55,.27,1.55), transform 0.6s cubic-bezier(.68,-0.55,.27,1.55);
    opacity: 1;
    transform: scale(1);
    will-change: opacity, transform;
  }
.sticker.fade-out {
  opacity: 0.25;
}
.sticker.fade-in {
  opacity: 1;
}
@media (max-width: 900px) {
  .stickers-content {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .stickers-visual {
    min-width: 0;
    margin-top: 24px;
  }
  .sticker {
    width: 220px;
    max-width: 90vw;
  }
  .benefit-title {
    font-size: 1.3rem;
  }
  .benefit-desc {
    font-size: 1rem;
  }
  }

  /* Animaciones */
  @keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
  }

  @keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
  }


  /* Search + Map layout */

  .search {
    background: linear-gradient(135deg, #fff5f5); padding: 60px 20px; 
    padding: 60px 20px;
  }

  .search .filters{
    display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-bottom:12px
  }
  .search input[type="search"], .search select{
    padding:10px;border:1px solid var(--border);border-radius:10px;min-width:220px;background:#fff
  }
  .layout{
    display:grid;grid-template-columns: minmax(280px, 620px) minmax(280px, 1fr);
    gap:16px;align-items:start;max-width:1200px;margin:0 auto
  }
  #map{height:420px;border-radius:12px;border:1px solid var(--border);overflow:hidden}
  #results{display:flex;flex-direction:column;gap:8px}
  .count{color:var(--ink-2)}
  .cards{display:grid;grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));gap:12px}
  .card{
    background:var(--white);border:1px solid var(--border);border-radius:12px;padding:12px;display:grid;gap:8px
  }
  .card .title{font-weight:800}
  .card .meta{color:var(--ink-2);font-size:.9rem}
  .pill{
    display:inline-block;background:#ffe8e8;color:#9b1c1c;border:1px solid #ffd1d1;border-radius:999px;padding:2px 8px;font-weight:700;font-size:.8rem
  }
  .card .actions{display:flex;gap:8px;flex-wrap:wrap}
  .card .btn{padding:8px 12px;border-radius:8px}

  .registro-restaurante {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f9f9f9;
  }

  .registro-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
  }

  .registro-box h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  .registro-box label {
    display: block;
    margin-bottom: 15px;
    font-weight: 500;
  }

  .registro-box input,
  .registro-box textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
  }

  .btn-dark {
    background-color: #000;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
  }

  .registro-mensaje {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
  }

  /* Footer */
  .footer{padding:24px 16px;text-align:center;color:var(--ink-2);border-top:1px solid var(--border)}

  /* Responsive */
  @media (max-width: 980px){
    .layout{grid-template-columns:1fr}
    .logo-grid{grid-template-columns:repeat(3, minmax(0, 120px))}
    .sticker-grid{grid-template-columns:repeat(2, minmax(0, 140px))}
  }

  /* Slider de logos */
  .logos-slider {
    padding: 40px 16px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff); padding: 60px 20px; 
  }

  .slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 40px auto
  }

  .slide-track {
    display: flex;
    gap: 40px;
    animation: scroll 12s linear infinite;
    width: calc(200px * 8); /* ancho = ancho slide * cantidad de slides */
  }

  .slide {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slide img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
    filter: saturate(1.05);
  }

  /* Animación de desplazamiento */
  @keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 8)); }
  }


  /* login page */
  .password-strength-container {
    width: 100%;
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .password-strength-bar {
    height: 8px;
    width: 0%;
    background: #e5e7eb;
    border-radius: 6px;
    transition: width 0.3s, background 0.3s;
    margin-bottom: 2px;
  }
  .password-strength-label {
    font-size: 0.92rem;
    font-weight: 500;
    margin-left: 2px;
    transition: color 0.3s;
  }
  .login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f9f9f9;
  }

  .login-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  .logo-login {
    display: block;
    margin: 0 auto 20px auto;
    width: 120px;
  }

  .login-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .login-box label {
    display: block;
    text-align: left;
    margin-bottom: 15px;
    font-weight: 500;
  }

  .login-box input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
  }

  .btn-dark {
    background-color: #000;
    color: white;
    padding: 12px;
    width: 100%;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
  }

  .login-message {
    margin-top: 15px;
    font-size: 14px;
  }


  /* Panel de administración */
  .admin-panel {
    padding: 40px 16px;
    max-width: 960px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
  }

  .admin-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }

  .logo-admin {
    width: 60px;
    height: auto;
  }

  .admin-header h1 {
    font-size: 1.8rem;
    color: var(--ink);
  }

  .admin-actions {
    margin-bottom: 16px;
  }

  .admin-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }

  .admin-table th, .admin-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
  }

  .admin-table th {
    background: #f9fafb;
    font-weight: 600;
  }

  .admin-table td button {
    margin-right: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
  }

  .btn-edit {
    background: #facc15;
    border: none;
    color: #78350f;
  }

  .btn-delete {
    background: #f87171;
    border: none;
    color: white;
  }

  .info-final {
    background-color: #bf0f30;
    color: white;
    padding: 60px 20px 30px;
  }

  .info-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
  }

  .info-column {
    flex: 1 1 300px;
  }

  .info-column h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .info-column p,
  .info-column a {
    font-size: 16px;
    color: white;
    text-decoration: none;
  }

  .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
  }

  .social-icons img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
  }

  .social-icons img:hover {
    transform: scale(1.1);
  }

  .footer-final {
    text-align: center;
    font-size: 14px;
    color: white;
    margin-top: 20px;
  }

  .footer-final a {
    color: white;
    text-decoration: underline;
  }

  .faq-page {
    display: flex;
    justify-content: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
  }

  .faq-box {
    max-width: 800px;
    width: 100%;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
  }

  .faq-box h2 {
    text-align: center;
    margin-bottom: 30px;
  }

  .faq-item {
    margin-bottom: 25px;
  }

  .faq-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #bf0f30;
  }

  .faq-item p {
    font-size: 16px;
    line-height: 1.5;
  }

  /* user */
  .user-name {
    font-weight: 600;
    color: #333;
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
  }

  .btn-logout {
    background: #bf0f30;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
  }

  .btn-logout:hover {
    background: #a00c25;
  }

  .perfil-page {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #fff5f5, #ffeaea);
  }

  .perfil-box {
    border: 2px solid #bf0f30;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(191, 15, 48, 0.08);
    padding: 32px 24px;
    background: #fff;
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    max-width: 600px; /* Más ancho */
    width: 100%;
  }

  .perfil-box:hover {
    box-shadow: 0 8px 32px rgba(191, 15, 48, 0.18), 0 0 16px rgba(0,0,0,0.08);
    transform: translateY(-6px) scale(1.04);
  }

  .perfil-box h2 {
    color: #bf0f30;
    font-size: 2rem;
    margin-bottom: 12px;
    transition: color 0.3s;
  }

  .perfil-info p {
    font-size: 1.1rem;
    color: #222; /* Negro más fuerte */
    margin-bottom: 8px;
    transition: color 0.3s, text-shadow 0.3s;
  }

  .perfil-box:hover .perfil-info p {
    color: #111; /* Negro aún más fuerte */
    text-shadow: 0 0 8px rgba(0,0,0,0.12); /* Brillo sutil */
  }

  .btn-dark {
    background: #bf0f30;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
  }

  .btn-dark:hover {
    background: #a00c25;
  }

  .user-name {
    font-weight: 600;
    color: #333;
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
  }

  .user-name:hover {
    background: #f0f0f0;
  }

  .btn-light {
    background: #eee;
    color: #333;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    margin-left: 10px;
  }

  .btn-light:hover {
    background: #ddd;
  }

  .aliados-title {
    color: #bf0f30;
    font-weight: 700;
  }

  .membership-box {
    margin-top: 32px;
    padding: 24px 16px;
    border: 1.5px solid #bf0f30;
    border-radius: 12px;
    background: #fff8f0;
    box-shadow: 0 2px 8px rgba(191, 15, 48, 0.07);
  }

  .membership-box h3 {
    color: #bf0f30;
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 700;
  }

  .membership-menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .membership-menu li {
    margin-bottom: 10px;
  }

  .membership-btn {
    width: 100%;
    background: #fff;
    border: 1px solid #bf0f30;
    color: #bf0f30;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  }

  .membership-btn:hover {
    background: #bf0f30;
    color: #fff;
    box-shadow: 0 2px 12px rgba(191, 15, 48, 0.12);
  }

  .membership-popup {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  .membership-popup-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(191, 15, 48, 0.18);
    padding: 32px 24px;
    min-width: 320px;
    max-width: 90vw;
    position: relative;
    text-align: center;
  }

  .close-popup-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #bf0f30;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background 0.2s;
  }

  .close-popup-btn:hover {
    background: #a00c25;
  }

  #popup-title {
    color: #bf0f30;
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: 700;
  }

  #popup-content {
    min-height: 60px;
    color: #222;
  }

  .bloqueo-promos {
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.btn-registrate {
  background-color: white;
  color: #ff4e50;
  border: none;
  padding: 0.8rem 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-registrate:hover {
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.leaflet-marker-icon.pin-rojo {
filter: invert(18%) sepia(92%) saturate(4080%) hue-rotate(340deg) brightness(80%) contrast(120%);
}


.card.grupo {
  border: 2px solid #eee;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
}

.subpromos {
  margin-top: 0.5rem;
}

.subpromo {
  background: #f9f9f9;
  padding: 0.8rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  box-shadow: 0 0 0.5px rgba(0,0,0,0.1);
}

/* --- Estilos para el botón hamburguesa --- */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
}

/* --- Responsive menú --- */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px; /* debajo del navbar */
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    width: 220px;
    padding: 16px;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);

    /* oculto por defecto */
    display: none;
  }

  .nav-links.show {
    display: flex; /* se muestra al dar clic */
  }

  .hamburger {
    display: block; /* visible en móvil */
  }
}

/* --- Botón hamburguesa --- */
.menu-btn {
  display: none; /* solo en móvil */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  margin-right: auto;
  z-index: 1100;
}
.menu-btn span {
  height: 3px;
  width: 100%;
  background: var(--ink);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Animación hamburguesa a "X" */
.menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Sidebar lateral --- */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px; /* oculto */
  width: 260px;
  height: 100%;
  background: #fff;
  padding: 20px;
  transition: left 0.3s ease;
  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
  z-index: 1000;
}
.sidebar.open {
  left: 0;
}
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar ul li {
  border-bottom: 1px solid #eee;
}
.sidebar ul li a {
  display: block;
  padding: 14px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.sidebar ul li a:hover {
  background: #f4f4f4;
}

/* Botón cerrar dentro del sidebar */
.close-btn {
  display: block;
  margin-left: auto;
  margin-bottom: 20px;
  font-size: 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .menu-btn {
    display: flex; /* hamburguesa en móvil */
  }
  .nav-right {
    display: none; /* ocultar botones login/anunciate en sidebar si prefieres */
  }
}


.benefits-hamburguesa {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: 8px;
}

.benefits-hamburguesa li {
  text-align: center;
}

.benefit-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
}

.rojo-cupo {
  color: #bf0f30;
}

.benefit-desc {
  font-size: 1rem;
  color: #222;
  font-weight: 400;
}

/* Efecto voraa.io en beneficios hamburguesa */
.benefits-hamburguesa li {
  opacity: 0.45;
  transform: scale(0.98); /* Menos zoom */
  transition:
    opacity 0.7s cubic-bezier(.68,-0.55,.27,1.55),
    transform 0.7s cubic-bezier(.68,-0.55,.27,1.55),
    color 0.7s cubic-bezier(.68,-0.55,.27,1.55),
    font-size 0.7s cubic-bezier(.68,-0.55,.27,1.55);
  filter: blur(0.5px);
  pointer-events: none;
}

.benefits-hamburguesa li.active {
  opacity: 1;
  transform: scale(1.08); /* Menos zoom */
  filter: none;
  z-index: 2;
  pointer-events: auto;
}

.benefits-hamburguesa li .benefit-title {
  font-size: 2rem; /* Más pequeño */
}

.benefits-hamburguesa li.active .benefit-title {
  font-size: 2.3rem; /* Más pequeño */
}

.benefits-hamburguesa li .benefit-desc {
  font-size: 1rem; /* Más pequeño */
}

.benefits-hamburguesa li.active .benefit-desc {
  font-size: 1.15rem; /* Más pequeño */
}

@media (max-width: 900px) {
  .benefits-hamburguesa li.active .benefit-title {
    font-size: 1.2rem;
  }
  .benefits-hamburguesa li .benefit-title {
    font-size: 1rem;
  }
  .benefits-hamburguesa li.active .benefit-desc {
    font-size: 0.9rem;
  }
  .benefits-hamburguesa li .benefit-desc {
    font-size: 0.8rem;
  }
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
  }
  .hero {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
}

/* Fondo animado GASTA MENOS para sección hamburguesa */

.stickers-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 100vw;         /* Asegura que la sección ocupe todo el viewport */
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding-left: 0;      /* Elimina padding lateral */
  padding-right: 0;
}

.gasta-menos-bg {
  position: absolute;
  inset: 0;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 100%;
  z-index: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  pointer-events: none;
  overflow: hidden;
}

.gasta-menos-line {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.05em;  /* ajusta para mejor spacing */
  color: #b8002e;
  z-index: 1; /* las letras */
  opacity: calc(1 - (var(--i) * 0.22));
  filter: blur(calc(var(--i) * 1.5px));
  transition: opacity 0.6s;
  animation: gastaAnim 4s cubic-bezier(.68,-0.55,.27,1.55) infinite;
  animation-delay: calc(var(--i) * 0.4s);
  user-select: none;

  /* 🔑 Cambios para que ocupe el ancho */
  display: block;
  width: 100%;
  text-align: justify;
  text-align-last: justify;
  white-space: normal;   /* deja que se adapte en móvil */
}


@keyframes gastaAnim {
  0%, 100% { transform: translateY(0); opacity: 1; }
  20% { transform: translateY(-10px); opacity: 0.85; }
  40% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(10px); opacity: 0.85; }
  80% { transform: translateY(0); opacity: 1; }
}

/* Asegura que el contenido esté por encima del fondo */
.stickers-content {
  position: relative;
  z-index: 1;
}

.gasta-menos-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5; /* 🔑 ahora sí encima de todo */
  width: 40vw;
  max-width: 600px;
  min-width: 220px;
  height: auto;
  max-height: 45vh;
  object-fit: contain;
  border-radius: 18px;
  pointer-events: none;
  background: transparent;
}

/* Banner secundario estilos responsivos */
.banner-secundario {
  width: 100%;
  max-width: 100%;
  margin: 0;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffef9;
  padding: 0;
  min-height: 220px;
  overflow: hidden;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.banner-secundario .info-image img {
  width: 100%;
  max-width: 100%;
  min-width: 100vw;
  height: 900px;
  max-height: 50vw;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  /* Elimina border-radius y box-shadow si quieres que llegue al borde exacto */
}

/* Responsive para móvil */
@media (max-width: 900px) {
  .banner-secundario {
    min-height: 120px;
    flex-direction: column;
    padding: 0;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .banner-secundario .info-image img {
    width: 100vw;
    height: 100%;
    max-width: 100vw;
    min-width: 100vw;
    max-height: none;
    border-radius: 0;
  }
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* bloquea el scroll lateral */
}

/* ...existing code... */
.btn-ahorro {
  display: flex;
  align-items: center;
  gap: 0.4em;
  border: 1.5px solid #bf0f30;
  background: #fff;
  color: #bf0f30;
  border-radius: 10px;
  padding: 0 0.9em 0 0.6em; /* Solo padding horizontal */
  font-family: inherit;
  font-size: 1em;
  cursor: pointer;
  transition: box-shadow 0.2s;
  margin-left: 1em;
  box-shadow: 0 1px 4px #0001;
  height: 38px;         /* Igual que los enlaces del menú */
  min-height: 0;
  line-height: 1;
}
.btn-ahorro .icon-cochinito svg {
  height: 18px;
  width: 18px;
}
.btn-ahorro strong {
  font-size: 1em;
  font-weight: 600;
}
.btn-ahorro small {
  display: none; /* Oculta el subtítulo para igualar altura */
}

/* Navbar: invierte orden de ahorro y logo en móvil */
@media (max-width: 700px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .nav-left {
    flex-direction: row-reverse;
    display: flex;
    align-items: center;
    gap: 0.5em;
    width: auto;
  }
  .logo-link {
    order: 2;
    margin-left: 0;
    margin-right: 0;
  }
  .btn-ahorro {
    order: 1;
    margin-left: 0;
    margin-right: 0.5em;
  }
}

/* ...existing code... */
.banner-slider {
  width: 100%;
  max-width: 100%;
  margin: 0;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffef9;
  padding: 0;
  min-height: 820px;
  overflow: hidden;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.slider-banner {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  min-width: 100vw;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-img {
  width: 100%;
  max-width: 100%;
  min-width: 100vw;
  height: 900px;
  max-height: 50vw;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  opacity: 0;           
  transition: opacity 0.7s;
  position: absolute; 
}

.slider-img.active {
  opacity: 1;
  z-index: 2;
}

@media (max-width: 900px) {
  .banner-slider {
    min-height: 180px !important;   /* <--- Mucho más bajo en móvil */
    height: 180px !important;
    left: 0;
    margin-left: 0;
    margin-right: 0;
  }
  .slider-banner, .slider-img {
    height: 180px !important;
    min-height: 120px;
  }
  .slider-img {
    max-width: 100vw;
    min-width: 100vw;
    width: 100vw;
    height: 180px !important;
  }
}
