/* ============================================
   PÍDEME - Estilo Moderno tipo Glovo/Rappi
   ============================================ */

:root {
  --pideme-orange: #FF6B35;
  --pideme-orange-dark: #E55A2B;
  --pideme-yellow: #FFC857;
  --pideme-dark: #2D3047;
  --pideme-light: #F7F7F7;
  --pideme-green: #00C853;
}

/* === HERO SECTION - Estilo Glovo === */
.banner-section {
  background: linear-gradient(135deg, var(--pideme-orange) 0%, var(--pideme-yellow) 100%) !important;
  min-height: 500px !important;
  padding: 60px 0 !important;
  position: relative;
  overflow: hidden;
}

.banner-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.banner-section .title {
  font-size: 3.5rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  line-height: 1.2 !important;
}

.banner-section .text {
  font-size: 1.4rem !important;
  color: rgba(255,255,255,0.95) !important;
  margin-top: 15px !important;
}

.banner-content {
  z-index: 10;
  position: relative;
}

/* === BARRA DE BÚSQUEDA DE DIRECCIÓN === */
.location-search-box {
  background: #fff;
  border-radius: 50px;
  padding: 8px 8px 8px 25px;
  display: flex;
  align-items: center;
  max-width: 500px;
  margin-top: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.location-search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 1rem;
  padding: 12px 0;
}

.location-search-box .btn-location {
  background: var(--pideme-orange);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-search-box .btn-location:hover {
  background: var(--pideme-orange-dark);
  transform: scale(1.02);
}

/* === MÓDULOS - Estilo Rappi === */
.ecommerce-venture-section {
  padding: 60px 0 !important;
  background: #fff !important;
}

.nav--tabs {
  display: flex !important;
  justify-content: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}

.nav--tabs .item {
  background: #fff !important;
  border-radius: 20px !important;
  padding: 20px 30px !important;
  text-align: center !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  border: 2px solid transparent !important;
  min-width: 140px !important;
}

.nav--tabs .item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
  border-color: var(--pideme-orange) !important;
}

.nav--tabs .item img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain !important;
  margin-bottom: 10px !important;
}

.nav--tabs .item .txt {
  font-weight: 600 !important;
  color: var(--pideme-dark) !important;
  font-size: 0.95rem !important;
}

/* === SECCIÓN DE MÓDULOS CARRUSEL === */
.owl-carousel .item {
  padding: 15px !important;
}

#sync1 .venture-content-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: 20px;
  padding: 40px;
}

/* === TIENDAS/RESTAURANTES DESTACADOS === */
.popular-stores-section {
  background: var(--pideme-light) !important;
  padding: 60px 0 !important;
}

.store-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.store-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.store-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.store-card .store-info {
  padding: 15px;
}

.store-card .store-name {
  font-weight: 700;
  color: var(--pideme-dark);
  margin-bottom: 5px;
}

.store-card .store-category {
  color: #666;
  font-size: 0.85rem;
}

/* === CATEGORÍAS CIRCULARES tipo Rappi === */
.category-circle {
  text-align: center;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-circle:hover {
  transform: scale(1.05);
}

.category-circle .icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pideme-orange) 0%, var(--pideme-yellow) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.category-circle .icon-wrapper img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.category-circle .name {
  font-weight: 600;
  color: var(--pideme-dark);
  font-size: 0.9rem;
}

/* === HEADER MODERNO === */
.navbar-bottom {
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
  padding: 15px 0 !important;
}

.navbar-bottom .logo img {
  max-height: 45px !important;
}

.navbar-bottom-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.navbar-bottom .nav-link {
  color: var(--pideme-dark) !important;
  font-weight: 500 !important;
  padding: 8px 16px !important;
  transition: all 0.3s ease !important;
}

.navbar-bottom .nav-link:hover {
  color: var(--pideme-orange) !important;
}

.btn-login {
  background: var(--pideme-orange) !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 10px 25px !important;
  font-weight: 600 !important;
  border: none !important;
  transition: all 0.3s ease !important;
}

.btn-login:hover {
  background: var(--pideme-orange-dark) !important;
  transform: scale(1.02) !important;
}

/* === SECCIÓN DE CONFIANZA === */
.counter-section {
  background: var(--pideme-dark) !important;
  padding: 50px 0 !important;
}

.counter-item {
  text-align: center;
  color: #fff;
}

.counter-item .number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--pideme-orange);
}

.counter-item .label {
  font-size: 1rem;
  opacity: 0.9;
}

/* === DESCARGA APP === */
.download-app-section {
  background: linear-gradient(135deg, var(--pideme-dark) 0%, #1a1b2e 100%) !important;
  padding: 80px 0 !important;
  position: relative;
  overflow: hidden;
}

.download-app-section .title {
  color: #fff !important;
  font-size: 2.5rem !important;
  font-weight: 700 !important;
}

.download-app-section .subtitle {
  color: rgba(255,255,255,0.8) !important;
  font-size: 1.1rem !important;
}

.app-buttons {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.app-buttons a img {
  height: 50px;
  transition: all 0.3s ease;
}

.app-buttons a:hover img {
  transform: scale(1.05);
}

/* === FOOTER === */
footer {
  background: var(--pideme-dark) !important;
  color: #fff !important;
  padding: 60px 0 30px !important;
}

footer a {
  color: rgba(255,255,255,0.8) !important;
  transition: all 0.3s ease !important;
}

footer a:hover {
  color: var(--pideme-orange) !important;
}

/* === ANIMACIONES === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .banner-section .title {
    font-size: 2rem !important;
  }
  
  .nav--tabs .item {
    min-width: 100px !important;
    padding: 15px 20px !important;
  }
  
  .nav--tabs .item img {
    width: 45px !important;
    height: 45px !important;
  }
}

/* === OCULTAR ELEMENTOS INNECESARIOS === */
.banner-svg-img {
  display: none !important;
}

/* === BOTONES GENERALES === */
.btn-primary, .cmn--btn {
  background: var(--pideme-orange) !important;
  border-color: var(--pideme-orange) !important;
  border-radius: 50px !important;
  padding: 12px 30px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.btn-primary:hover, .cmn--btn:hover {
  background: var(--pideme-orange-dark) !important;
  border-color: var(--pideme-orange-dark) !important;
  transform: translateY(-2px) !important;
}

/* === TARJETAS DE PRODUCTOS === */
.product-card {
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08) !important;
  transition: all 0.3s ease !important;
}

.product-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

/* === BADGES === */
.badge-discount {
  background: var(--pideme-green) !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding: 5px 12px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}

.badge-new {
  background: var(--pideme-orange) !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding: 5px 12px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}
/* ===== SECCIN MDULOS INTERACTIVOS PDEME ===== */
.modules-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdfa 100%);
    padding: 80px 20px;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
}
.modules-container { max-width: 1200px; margin: 0 auto; }
.modules-section .section-header { text-align: center; margin-bottom: 60px; }
.modules-section .section-header h2 { font-size: 2.5rem; font-weight: 700; color: #1f2937; margin-bottom: 15px; }
.modules-section .section-header h2 span { color: #FF6B00; }
.modules-section .section-header p { font-size: 1.1rem; color: #6b7280; max-width: 600px; margin: 0 auto; }
.modules-content { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.bubbles-left, .bubbles-right { display: flex; flex-direction: column; gap: 20px; width: 180px; max-width: 45%; }
.bubble { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 30px; font-weight: 500; font-size: 0.9rem; color: white; box-shadow: 0 4px 15px rgba(0,0,0,0.15); cursor: pointer; transition: all 0.3s ease; opacity: 0; transform: translateX(-30px); }
.bubbles-right .bubble { transform: translateX(30px); }
.bubble.active { opacity: 1; transform: translateX(0); }
.bubble:hover { transform: scale(1.05) !important; }
.bubble.mercado { background: linear-gradient(135deg, #22c55e, #16a34a); }
.bubble.restaurantes { background: linear-gradient(135deg, #f97316, #ea580c); }
.bubble.tecnologia { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.bubble.farmacia { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.bubble.belleza { background: linear-gradient(135deg, #ec4899, #db2777); }
.bubble.encomiendas { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.phone-mockup-container { position: relative; width: 280px; height: 560px; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone-frame { width: 100%; height: 100%; background: #1f2937; border-radius: 45px; padding: 12px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); position: relative; }
.phone-frame::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 80px; height: 25px; background: #000; border-radius: 20px; z-index: 10; }
.phone-screen { width: 100%; height: 100%; background: #fff; border-radius: 35px; overflow: hidden; position: relative; }
.screen-image { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity 0.4s ease; }
.screen-image.hidden { opacity: 0; position: absolute; top: 0; left: 0; }
.screen-image.visible { opacity: 1; }
.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; width: 100%; max-width: 280px; margin: 0 auto; box-sizing: border-box; }
.module-card { background: white; border-radius: 16px; padding: 20px 15px; text-align: center; cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.module-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.module-card.active { border-color: #FF6B00; background: linear-gradient(135deg, #FF6B00, #ff8533); color: white; }
.module-card.active .module-name { color: white; }
.module-icon { width: 45px; hei
/* RESPONSIVE MODULOS INTERACTIVOS */
@media (max-width: 1024px) {
    .modules-content { flex-direction: column; gap: 15px; }
    .bubbles-left, .bubbles-right { flex-direction: row; flex-wrap: wrap; justify-content: center; width: 100%; gap: 8px; max-width: 100%; }
    .modules-grid { width: 100%; max-width: 90%; margin: 20px auto 0; box-sizing: border-box; }
}

@media (max-width: 768px) {
    .modules-section { padding: 30px 10px; }
.modules-container { width: 100% !important; max-width: 100% !important; padding: 0 10px !important; box-sizing: border-box; }
.modules-content { width: 100% !important; max-width: 100% !important; }
    .modules-section .section-header { margin-bottom: 20px; }
    .modules-section .section-header h2 { font-size: 1.4rem; }
    .modules-section .section-header p { font-size: 0.85rem; }
    .phone-mockup-container { width: 180px; height: 360px; }
    .phone-frame { border-radius: 28px; padding: 5px; }
    .phone-frame::before { width: 45px; height: 15px; top: 8px; }
    .phone-screen { border-radius: 24px; }
    .bubble { padding: 6px 12px; font-size: 0.75rem; }
.modules-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; width: 80% !important; max-width: 250px !important; margin: 0 auto; padding: 0; box-sizing: border-box; }
    .module-card { padding: 8px 2px; border-radius: 8px; min-width: 0; }
    .module-icon { width: 26px; height: 26px; font-size: 1.1rem; margin-bottom: 5px; }
    .module-name { font-size: 0.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 480px) {
    .modules-section { padding: 20px 5px; }
    .modules-section .section-header h2 { font-size: 1.1rem; }
    .modules-section .section-header p { font-size: 0.75rem; }
    .phone-mockup-container { width: 150px; height: 300px; }
    .bubble { padding: 5px 10px; font-size: 0.7rem; }
 .modules-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; width: 70% !important; max-width: 200px !important; margin: 0 auto; padding: 0; }
    .module-card { padding: 5px 2px; border-radius: 6px; min-width: 0; }
    .module-icon { width: 22px; height: 22px; font-size: 1rem; }
    .module-name { font-size: 0.45rem; }
}
/* FORZAR 2 COLUMNAS EN MOVIL */
@media screen and (max-width: 800px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        width: 250px !important;
        max-width: 80% !important;
    }
    .module-card {
        padding: 10px 5px !important;
    }
    .module-name {
        font-size: 0.7rem !important;
    }
}
