/* ==========================================================================
   BiDeal - Bosque ElÃ©ctrico (Sistema de DiseÃ±o)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@600;700;800&display=swap');

:root {
  --bideal-primary: #16A34A;
  --bideal-forest: #14532D;
  --bideal-lime: #86EFAC;
  --bideal-text-dark: #064E3B;
  --bideal-background: #F8FAFC;
  --bideal-white: #FFFFFF;
  --bideal-slate-600: #475569;
  --bideal-slate-100: #F1F5F9;
  --bideal-error-bg: #FEE2E2;
  --bideal-error: #DC2626;
  --bideal-info: #0369A1;
  --bideal-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --bideal-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --bideal-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  --bideal-radius: 20px;
  --bideal-radius-sm: 12px;
  --bideal-radius-lg: 28px;
}

/* ==========================================================================
   1. Reset Global y Base
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bideal-background);
  color: var(--bideal-slate-600);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

.section {
  padding: 80px 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bideal-text-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--bideal-slate-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Botones */
.btn-primary {
  background: var(--bideal-primary);
  color: var(--bideal-white);
  padding: 14px 32px;
  border-radius: var(--bideal-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--bideal-shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--bideal-shadow-lg);
  background: #15803d; /* Ligeramente mÃ¡s oscuro */
}

.btn-secondary {
  background: transparent;
  color: var(--bideal-primary);
  padding: 14px 32px;
  border-radius: var(--bideal-radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--bideal-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(22, 163, 74, 0.08); /* Primario con alfa */
}

/* ==========================================================================
   2. Barra de NavegaciÃ³n (Navbar)
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: var(--bideal-shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 20px;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--bideal-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bideal-white);
}

.nav-logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  font-style: italic;
  color: var(--bideal-primary);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--bideal-slate-600);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bideal-primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--bideal-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--bideal-primary);
  color: var(--bideal-white);
  padding: 10px 24px;
  border-radius: var(--bideal-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--bideal-shadow);
  text-decoration: none;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--bideal-shadow-lg);
  background: #15803d;
}

/* MenÃº MÃ³vil */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--bideal-text-dark);
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

.mobile-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bideal-white);
  padding: 24px;
  box-shadow: var(--bideal-shadow-lg);
  border-radius: 0 0 var(--bideal-radius) var(--bideal-radius);
}

/* ==========================================================================
   3. SecciÃ³n Hero
   ========================================================================== */

#hero, .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  background: var(--bideal-background);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(134, 239, 172, 0.2); /* lime con alfa */
  color: var(--bideal-forest);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--bideal-text-dark);
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--bideal-primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--bideal-slate-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.kmcoin-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FACC15 0%, #CA8A04 100%);
  color: #713F12;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 2px 4px rgba(202, 138, 4, 0.25);
  border: 1.5px solid #FEF08A;
  vertical-align: middle;
  line-height: 1;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Smartphone Mockup UI */
.app-phone {
  width: 100%;
  max-width: 320px;
  background: #0F172A;
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 25px 60px -15px rgba(22, 163, 74, 0.25), 0 20px 30px -10px rgba(15, 23, 42, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  position: relative;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.app-phone:hover {
  transform: translateY(-6px);
}

.phone-screen {
  background: #FFFFFF;
  border-radius: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #E2E8F0;
}

.phone-island {
  width: 85px;
  height: 18px;
  background: #0F172A;
  border-radius: 12px;
  margin: 8px auto 6px auto;
}

.phone-app-header {
  padding: 10px 16px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #F1F5F9;
}

.phone-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--bideal-text-dark);
}

.phone-brand img {
  width: 22px;
  height: 22px;
  border-radius: 5px;
}

.phone-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}

.phone-live-dot {
  width: 6px;
  height: 6px;
  background: #16A34A;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.phone-map-view {
  background: #F0FDF4;
  padding: 12px 14px;
  border-bottom: 1px solid #E2E8F0;
}

.phone-route-info {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--bideal-forest);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-map-svg {
  width: 100%;
  height: 95px;
  border-radius: 12px;
  display: block;
}

.phone-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 12px 14px;
  background: #FFFFFF;
}

.phone-stat-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 8px 4px;
  text-align: center;
}

.phone-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: #0F172A;
  display: block;
}

.phone-stat-lbl {
  font-size: 0.62rem;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 600;
}

.phone-wallet-card {
  margin: 0 14px 10px;
  background: linear-gradient(135deg, #14532D 0%, #16A34A 100%);
  color: white;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-wallet-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.phone-wallet-balance {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
}

.phone-wallet-sub {
  font-size: 0.7rem;
  color: #86EFAC;
  font-weight: 500;
}

.phone-action-btn {
  margin: 0 14px 14px;
  background: #16A34A;
  color: white;
  border: none;
  padding: 11px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.hero-blob {
  position: absolute;
  background: rgba(134, 239, 172, 0.15); /* lime alfa */
  filter: blur(80px);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  z-index: 1;
}

.hero-blob.top {
  top: -100px;
  right: -50px;
}

.hero-blob.bottom {
  bottom: -50px;
  left: -100px;
}

/* ==========================================================================
   4. CaracterÃ­sticas (Features)
   ========================================================================== */

#features, .features {
  background: var(--bideal-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bideal-background);
  padding: 36px 28px;
  border-radius: var(--bideal-radius);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--bideal-shadow-lg);
  border-color: var(--bideal-lime);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  background: rgba(22, 163, 74, 0.1);
  color: var(--bideal-primary);
}

.feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bideal-text-dark);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.95rem;
  color: var(--bideal-slate-600);
  line-height: 1.6;
}

/* ==========================================================================
   5. CÃ³mo Funciona (How It Works)
   ========================================================================== */

#how-it-works, .how-it-works {
  background: var(--bideal-background);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 12.5%;
  width: 75%;
  height: 3px;
  background: linear-gradient(to right, var(--bideal-lime), var(--bideal-primary));
}

.step {
  text-align: center;
  position: relative;
  z-index: 2;
  background: var(--bideal-background);
  padding-top: 0;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--bideal-primary);
  color: var(--bideal-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.15); /* shadow alfa */
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--bideal-forest);
  border-radius: var(--bideal-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--bideal-lime);
}

.step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bideal-text-dark);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--bideal-slate-600);
}

/* ==========================================================================
   6. Recompensas (Rewards)
   ========================================================================== */

#rewards, .rewards {
  background: var(--bideal-white);
}

.rewards-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.rewards-filter .filter-btn {
  background: var(--bideal-background);
  color: var(--bideal-text-dark);
  border: 1px solid #E2E8F0;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.rewards-filter .filter-btn:hover {
  background: rgba(22, 163, 74, 0.08);
  border-color: var(--bideal-primary);
  color: var(--bideal-primary);
}

.rewards-filter .filter-btn.active {
  background: var(--bideal-primary);
  color: var(--bideal-white);
  border-color: var(--bideal-primary);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.reward-card.hidden {
  display: none !important;
}

.reward-card.fade-in {
  animation: fadeIn 0.35s ease forwards;
}

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

.rewards-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 12px 0 8px 0;
}

.rewards-grid {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
  gap: 20px !important;
  padding: 16px 8px 24px 8px !important;
  scroll-behavior: smooth !important;
  scrollbar-width: thin !important;
  scrollbar-color: #16A34A #E2E8F0 !important;
  width: 100% !important;
}

.rewards-grid::-webkit-scrollbar {
  height: 8px !important;
  display: block !important;
}

.rewards-grid::-webkit-scrollbar-track {
  background: #F1F5F9 !important;
  border-radius: 999px !important;
}

.rewards-grid::-webkit-scrollbar-thumb {
  background: #16A34A !important;
  border-radius: 999px !important;
}

.rewards-grid::-webkit-scrollbar-thumb:hover {
  background: #15803D !important;
}

.reward-card {
  flex: 0 0 280px !important;
  width: 280px !important;
  min-width: 280px !important;
  max-width: 280px !important;
  scroll-snap-align: start !important;
  background: var(--bideal-white);
  border-radius: var(--bideal-radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reward-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12) !important;
}

.rewards-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #15803D;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s ease;
}

.rewards-arrow:hover {
  background: #16A34A;
  color: #FFFFFF;
  border-color: #16A34A;
  transform: translateY(-50%) scale(1.08);
}

.rewards-arrow-prev {
  left: -20px;
}

.rewards-arrow-next {
  right: -20px;
}

.reward-image {
  height: 155px;
  background: linear-gradient(135deg, var(--bideal-primary), var(--bideal-forest));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 48px;
  overflow: hidden;
}

.reward-image img.reward-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.reward-card:hover .reward-image img.reward-img {
  transform: scale(1.06);
}

.reward-icon-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(255, 255, 255, 0.3);
}

.reward-badge,
.reward-price {
  z-index: 2;
}

.reward-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--bideal-white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.reward-price {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--bideal-lime);
  color: var(--bideal-forest);
  padding: 6px 14px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.reward-body {
  padding: 20px;
}

.reward-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bideal-text-dark);
  margin-bottom: 8px;
}

.reward-shop {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--bideal-slate-600);
  margin-bottom: 4px;
}

.reward-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: gray;
  margin-bottom: 12px;
}

.reward-desc {
  font-size: 0.88rem;
  color: var(--bideal-slate-600);
  line-height: 1.5;
}

.rewards-mobile-hint {
  display: none;
}

/* ==========================================================================
   7. Impacto Ambiental (Impact)
   ========================================================================== */

#impact, .impact {
  background: var(--bideal-forest);
  color: var(--bideal-white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.impact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(22, 163, 74, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(134, 239, 172, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.impact .section-title {
  color: var(--bideal-white);
}

.impact .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.impact-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.impact-stat {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--bideal-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.impact-icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.impact-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--bideal-lime);
  display: block;
  margin-bottom: 8px;
}

.impact-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   8. Equipo (Team)
   ========================================================================== */

#team, .team {
  background: var(--bideal-background);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--bideal-white);
  border-radius: var(--bideal-radius);
  padding: 40px 24px;
  text-align: center;
  box-shadow: var(--bideal-shadow);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--bideal-shadow-lg);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--bideal-primary), var(--bideal-forest));
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: var(--bideal-white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

.team-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bideal-text-dark);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.9rem;
  color: var(--bideal-primary);
  font-weight: 500;
}

/* ==========================================================================
   9. Llamada a la AcciÃ³n (CTA)
   ========================================================================== */

#cta, .cta {
  background: linear-gradient(135deg, var(--bideal-primary), var(--bideal-forest));
  color: var(--bideal-white);
  padding: 100px 0;
  text-align: center;
}

.cta .container {
  max-width: 700px;
}

.cta-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.cta-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  padding: 8px 20px;
  backdrop-filter: blur(8px);
}

.cta-brand-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.cta-brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  font-style: italic;
  color: var(--bideal-lime);
  letter-spacing: -0.5px;
}

.cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--bideal-white);
  color: var(--bideal-forest);
  padding: 16px 32px;
  border-radius: var(--bideal-radius-sm);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--bideal-shadow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--bideal-shadow-lg);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--bideal-white);
  padding: 16px 32px;
  border-radius: var(--bideal-radius-sm);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   10. Pie de PÃ¡gina (Footer)
   ========================================================================== */

.footer {
  background: var(--bideal-text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  /* Primera columna */
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-logo .nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-brand-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--bideal-white);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bideal-white);
  transition: 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--bideal-primary);
}

.footer-section h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--bideal-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--bideal-lime);
}

/* Logo del footer en fondo oscuro */
.footer .nav-logo-text {
  color: var(--bideal-lime);
  font-style: italic;
}

.footer .nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 16px;
}

/* Estilos del menÃº mÃ³vil */
.mobile-menu .nav-link {
  padding: 12px 0;
  font-size: 1rem;
  display: block;
  border-bottom: 1px solid var(--bideal-slate-100);
}

/* Ocultar botÃ³n CTA de nav en mÃ³vil */
@media (max-width: 768px) {
  .nav-cta {
    display: none;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   11. Animaciones (Animations)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ==========================================================================
   12. Puntos de Ruptura (Responsive Breakpoints)
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-links {
    gap: 16px;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps::before {
    display: none;
  }
  .impact-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .nav-links, .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  .app-phone {
    max-width: 290px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .rewards-arrow {
    display: none !important;
  }
  .rewards-grid {
    gap: 14px !important;
    padding: 12px 16px 20px !important;
    margin-left: -16px !important;
    margin-right: -16px !important;
    scroll-padding: 0 16px !important;
  }
  .reward-card {
    flex: 0 0 260px !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    scroll-snap-align: center !important;
  }
  .rewards-mobile-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--bideal-primary);
    background: rgba(22, 163, 74, 0.08);
    padding: 7px 16px;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(22, 163, 74, 0.15);
  }
  .rewards-mobile-hint .hint-arrow {
    font-size: 1rem;
    color: var(--bideal-primary);
    display: inline-block;
  }
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .reward-card {
    flex: 0 0 250px !important;
    width: 250px !important;
    min-width: 250px !important;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .impact-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .app-phone {
    max-width: 275px;
    padding: 8px;
    border-radius: 36px;
  }
  .phone-screen {
    border-radius: 28px;
  }
  .phone-stats-grid {
    gap: 4px;
    padding: 10px 8px;
  }
  .phone-stat-val {
    font-size: 0.9rem;
  }
  .phone-wallet-card {
    margin: 0 8px 10px;
    padding: 10px 12px;
  }
  .phone-action-btn {
    margin: 0 8px 12px;
    font-size: 0.78rem;
    padding: 10px;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-secondary, .btn-white, .btn-outline-white {
    width: 100%;
    text-align: center;
  }
  .rewards-filter .filter-btn {
    font-size: 0.82rem;
    padding: 7px 14px;
  }
  .calc-slider-display {
    font-size: 1.7rem;
  }
}

/* ==========================================================================
   13. Testimonios (Testimonials)
   ========================================================================== */

.testimonials {
  background: var(--bideal-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--bideal-background);
  border-radius: var(--bideal-radius);
  padding: 32px 28px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bideal-shadow-lg);
  border-color: var(--bideal-lime);
}

.testimonial-stars {
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--bideal-slate-600);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bideal-primary), var(--bideal-forest));
  color: var(--bideal-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.testimonial-name {
  display: block;
  font-weight: 600;
  color: var(--bideal-text-dark);
  font-size: 0.95rem;
}

.testimonial-meta {
  display: block;
  font-size: 0.8rem;
  color: gray;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   14. FAQ AcordeÃ³n (en la pÃ¡gina principal)
   ========================================================================== */

.faq-home {
  background: var(--bideal-white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bideal-background);
  border-radius: var(--bideal-radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  border: 1px solid var(--bideal-slate-100);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: #CBD5E1;
  box-shadow: var(--bideal-shadow);
}

.faq-item.active,
.faq-item.open {
  border-color: rgba(22, 163, 74, 0.35);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.08);
}

.faq-question {
  width: 100%;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--bideal-text-dark);
  text-align: left;
  transition: color 0.25s ease;
  gap: 16px;
}

.faq-question:hover {
  color: var(--bideal-primary);
}

.faq-chevron {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: var(--bideal-slate-600);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-chevron,
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--bideal-primary);
}

.faq-toggle {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bideal-slate-600);
  transition: transform 0.3s ease, color 0.3s ease;
  display: inline-block;
  line-height: 1;
}

.faq-item.active .faq-toggle,
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  color: var(--bideal-primary);
}

.faq-item.active .faq-question,
.faq-item.open .faq-question {
  color: var(--bideal-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer,
.faq-item.open .faq-answer {
  max-height: 600px;
}

.faq-answer p,
.faq-answer-inner {
  padding: 0 20px 16px;
  color: var(--bideal-slate-600);
  line-height: 1.6;
  font-size: 0.92rem;
  margin: 0;
}

.faq-more {
  text-align: center;
  margin-top: 32px;
}

.faq-more p {
  color: var(--bideal-slate-600);
}

.faq-link {
  color: var(--bideal-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.faq-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   15. Banner de Cookies
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bideal-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 20px 0;
  transform: translateY(0);
  transition: transform 0.5s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.cookie-icon {
  font-size: 1.5rem;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--bideal-slate-600);
  margin: 0;
}

.cookie-text a {
  color: var(--bideal-primary);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.cookie-btn-secondary {
  padding: 10px 24px;
  background: transparent;
  border: 2px solid var(--bideal-slate-100);
  border-radius: var(--bideal-radius-sm);
  color: var(--bideal-slate-600);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
}

.cookie-btn-secondary:hover {
  border-color: var(--bideal-primary);
  color: var(--bideal-primary);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  .cookie-text {
    flex-direction: column;
  }
}

/* ==========================================================================
   16. BotÃ³n Volver Arriba (Back to Top)
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bideal-primary);
  color: var(--bideal-white);
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--bideal-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--bideal-forest);
  transform: translateY(-4px);
}

/* ==========================================================================
   17. Nav Link Activo
   ========================================================================== */

.nav-link.active {
  color: var(--bideal-primary);
}

.nav-link.active::after {
  width: 100%;
}


.nav-logo-img { height: 40px; width: auto; object-fit: contain; border-radius: 6px; }


/* ========================================== */
/* 19. SELECTOR DE IDIOMA EN PÍLDORA (SEGMENTED) */
/* ========================================== */
.lang-pill {
  display: inline-flex;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 50px;
  padding: 3px;
  gap: 2px;
  margin: 0 8px;
}
.lang-pill-btn {
  border: none;
  background: transparent;
  padding: 5px 12px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  text-decoration: none;
  outline: none;
}
.lang-pill-btn:hover:not(.active) {
  color: var(--bideal-primary);
  background: rgba(22, 163, 74, 0.08);
}
.lang-pill-btn.active {
  background: var(--bideal-primary);
  color: white;
  box-shadow: 0 2px 6px rgba(22, 163, 74, 0.35);
  cursor: default;
}

/* Fallback para menú desplegable sin huecos molestos */
.lang-switch { position: relative; display: inline-flex; align-items: center; margin-left: 12px; margin-right: 12px; padding: 4px 0; }
.lang-switch::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.lang-btn { background: white; border: 1px solid var(--bideal-slate-100); border-radius: 8px; padding: 6px 12px; cursor: pointer; display: flex; align-items: center; gap: 6px; font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--bideal-text-dark); transition: all 0.2s; }
.lang-btn:hover { border-color: var(--bideal-primary); color: var(--bideal-primary); }
.lang-dropdown { position: absolute; top: calc(100% + 2px); right: 0; background: white; border: 1px solid #E2E8F0; border-radius: 12px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15); display: none; flex-direction: column; min-width: 130px; z-index: 1000; overflow: hidden; }
.lang-switch:hover .lang-dropdown, .lang-switch:focus-within .lang-dropdown { display: flex; }
.lang-dropdown a { padding: 10px 14px; color: var(--bideal-slate-600); text-decoration: none; font-size: 0.88rem; transition: all 0.2s; display: flex; align-items: center; gap: 8px; font-family: 'Inter', sans-serif; font-weight: 500; }
.lang-dropdown a:hover { background: #F8FAFC; color: var(--bideal-primary); font-weight: 600; }



/* ========================================== */
/* 20. MOBILE NAVBAR OPTIMIZATION             */
/* ========================================== */
@media (max-width: 768px) {
  #navbar .container, .navbar .container {
    padding: 0 16px;
    gap: 12px;
  }
  
  /* Show logo text cleanly */
  .nav-logo-text {
    font-size: 1.3rem;
  }
  
  .lang-pill {
    margin-left: auto !important;
    margin-right: 4px !important;
    padding: 2px !important;
  }
  .lang-pill-btn {
    padding: 4px 9px !important;
    font-size: 0.78rem !important;
  }
  .lang-switch {
    margin-left: auto !important;
    margin-right: 4px !important;
  }
  
  .lang-btn {
    padding: 6px 10px;
    font-size: 0.85rem;
  }
  
  /* Ensure the language dropdown doesn't overflow the right edge */
  .lang-dropdown {
    right: 0;
  }
}

/* ========================================== */
/* 21. CALCULADORA INTERACTIVA                */
/* ========================================== */
.calculator-section {
  background: linear-gradient(180deg, var(--bideal-white) 0%, var(--bideal-background) 100%);
  position: relative;
  overflow: hidden;
}

.calc-box {
  background: var(--bideal-white);
  border-radius: var(--bideal-radius-lg);
  box-shadow: var(--bideal-shadow-xl);
  border: 1px solid rgba(22, 163, 74, 0.15);
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
}

.calc-slider-group {
  margin-bottom: 40px;
  text-align: center;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.calc-slider-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bideal-text-dark);
}

.calc-slider-display {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bideal-primary);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.calc-slider-display span {
  font-size: 1rem;
  color: var(--bideal-slate-600);
  font-weight: 500;
}

.calc-slider {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  accent-color: var(--bideal-primary);
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bideal-primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.4);
  transition: transform 0.15s ease;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 500;
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.calc-result-card {
  background: var(--bideal-background);
  border-radius: var(--bideal-radius-sm);
  padding: 24px;
  text-align: center;
  border: 1px solid #E2E8F0;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.calc-result-card:hover {
  transform: translateY(-4px);
  border-color: var(--bideal-lime);
}

.calc-result-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.calc-result-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--bideal-text-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}

.calc-result-label {
  font-size: 0.85rem;
  color: var(--bideal-slate-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-reward-banner {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.1) 0%, rgba(134, 239, 172, 0.2) 100%);
  border-radius: var(--bideal-radius-sm);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.calc-reward-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.calc-reward-text {
  flex: 1;
}

.calc-reward-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--bideal-text-dark);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.calc-reward-desc {
  font-size: 0.9rem;
  color: var(--bideal-slate-600);
  margin: 0;
}

@media (max-width: 768px) {
  .calc-box {
    padding: 24px 20px;
  }
  .calc-results-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .calc-reward-banner {
    flex-direction: column;
    text-align: center;
  }
}


/* ==========================================================================
   Mapa Interactivo de Comercios BiDeal Pamplona (Leaflet)
   ========================================================================== */

.map-section {
  background: #F1F5F9;
  position: relative;
}

.map-controls-card {
  background: var(--bideal-white);
  border-radius: var(--bideal-radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: var(--bideal-shadow);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.map-filter-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: var(--bideal-slate-600);
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-filter-btn:hover {
  background: #EDF2F7;
  color: var(--bideal-text-dark);
  border-color: #CBD5E1;
}

.map-filter-btn.active {
  background: var(--bideal-forest);
  color: var(--bideal-white);
  border-color: var(--bideal-forest);
  box-shadow: 0 2px 4px rgba(20, 83, 45, 0.2);
}

.map-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 280px;
  flex: 1;
  max-width: 380px;
}

.map-search-icon {
  position: absolute;
  left: 12px;
  font-size: 0.95rem;
  color: #94A3B8;
  pointer-events: none;
}

.map-search-input {
  width: 100%;
  padding: 9px 36px 9px 36px;
  border-radius: 9999px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  font-size: 0.88rem;
  color: #0F172A;
  outline: none;
  transition: all 0.2s ease;
}

.map-search-input:focus {
  background: #FFFFFF;
  border-color: var(--bideal-primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.map-search-clear {
  display: none;
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px 6px;
}

.map-search-clear:hover {
  color: #0F172A;
}

.map-wrapper {
  position: relative;
  border-radius: var(--bideal-radius);
  overflow: hidden;
  box-shadow: var(--bideal-shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #E2E8F0;
}

.bideal-map-frame {
  width: 100%;
  height: 520px;
  z-index: 10;
}

/* Panel flotante de detalle de comercio sobre el mapa */
.map-shop-detail {
  display: none;
  position: absolute;
  bottom: 24px;
  left: 24px;
  max-width: 340px;
  width: calc(100% - 48px);
  background: var(--bideal-white);
  border-radius: var(--bideal-radius-sm);
  padding: 20px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(226, 232, 240, 0.9);
  z-index: 1000;
  animation: slideUpFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.detail-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #F1F5F9;
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748B;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}

.detail-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.detail-category-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #DCFCE7;
  color: var(--bideal-forest);
  margin-bottom: 6px;
}

.detail-shop-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.detail-shop-logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  background: #FFFFFF;
}

.detail-shop-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bideal-text-dark);
  margin-bottom: 2px;
  line-height: 1.25;
}

.detail-shop-address {
  font-size: 0.85rem;
  color: var(--bideal-slate-600);
  margin-bottom: 12px;
}

.detail-offer-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.detail-offer-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 2px;
}

.detail-offer-desc {
  font-size: 0.85rem;
  font-weight: 600;
  color: #14532D;
  margin: 0;
}

.btn-detail-gmaps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--bideal-forest);
  color: var(--bideal-white);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-detail-gmaps:hover {
  background: #0f3d21;
}

/* Marcadores personalizados SVG / Leaflet con Avatar y Logotipo */
.leaflet-div-icon,
.bideal-leaflet-div-icon {
  background: transparent !important;
  border: none !important;
}

.bideal-custom-pin {
  width: 44px;
  height: 54px;
  position: relative;
  cursor: pointer;
  filter: drop-shadow(0 4px 7px rgba(0, 0, 0, 0.28));
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bideal-custom-pin:hover {
  transform: scale(1.15) translateY(-4px);
  z-index: 9999 !important;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
}

.bideal-custom-pin.selected {
  transform: scale(1.22) translateY(-6px);
  z-index: 10000 !important;
  filter: drop-shadow(0 10px 18px rgba(245, 158, 11, 0.5));
}

.pin-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pin-disc-content {
  position: absolute;
  top: 5px;
  left: 7.5px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.pin-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pin-vector-fallback {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-vector-fallback svg {
  width: 100%;
  height: 100%;
}

.map-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.map-popup-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #E2E8F0;
  flex-shrink: 0;
  background: #FFFFFF;
}

.map-footer-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
  font-size: 0.84rem;
  color: #64748B;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.legend-dot.dot-bike { background: #059669; }
.legend-dot.dot-store { background: #2563EB; }
.legend-dot.dot-culture { background: #7C3AED; }
.legend-dot.dot-health { background: #0D9488; }

/* Popup estilizado de Leaflet */
.leaflet-popup-content-wrapper {
  border-radius: 12px !important;
  padding: 4px 6px !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
}

.leaflet-popup-content {
  margin: 10px 12px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.88rem !important;
  line-height: 1.4 !important;
  min-width: 200px !important;
}

.map-popup-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.map-popup-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: #064E3B;
  margin-bottom: 2px;
}

.map-popup-addr {
  font-size: 0.78rem;
  color: #64748B;
  margin-bottom: 6px;
}

.map-popup-offer {
  font-size: 0.8rem;
  font-weight: 600;
  color: #15803D;
  background: #F0FDF4;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #DCFCE7;
}

/* Estado vacío en Recompensas */
.rewards-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  background: var(--bideal-white);
  border-radius: var(--bideal-radius);
  border: 1px dashed #CBD5E1;
  color: var(--bideal-slate-600);
}

.rewards-empty-state p {
  font-size: 1rem;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .bideal-map-frame {
    height: 420px;
  }
  .map-controls-card {
    flex-direction: column;
    align-items: stretch;
  }
  .map-search-wrapper {
    max-width: 100%;
    min-width: 100%;
  }
  .map-shop-detail {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
    padding: 16px;
  }
}

/* ==========================================================================
   Hero Phone Container (Flagship 3D Staging & Single Widget)
   ========================================================================== */
.hero-visual-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  perspective: 1200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.ambient-halo-green {
  position: absolute;
  width: 340px;
  height: 520px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.18) 0%, rgba(34, 197, 94, 0.05) 50%, transparent 70%);
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
  animation: haloBreath 6s ease-in-out infinite alternate;
}
@keyframes haloBreath {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 1; }
}

.phone-3d-wrapper {
  position: relative;
  z-index: 3;
  transform-style: preserve-3d;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-hardware {
  position: relative;
  width: 320px;
  height: 650px;
  background: #0B0F19;
  border-radius: 48px;
  box-shadow: 
    0 35px 70px -15px rgba(15, 23, 42, 0.35),
    0 15px 30px -10px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 0 0 2px #1E293B;
  padding: 10px;
  transform-style: preserve-3d;
}

.side-btn {
  position: absolute;
  background: #1E293B;
  border-radius: 3px;
  box-shadow: -1px 0 2px rgba(0, 0, 0, 0.5);
}
.vol-up { left: -3px; top: 125px; width: 3px; height: 44px; }
.vol-down { left: -3px; top: 180px; width: 3px; height: 44px; }
.pwr-btn { right: -3px; top: 145px; width: 3px; height: 65px; }

.phone-screen-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: #FFFFFF;
}

.real-app-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}
.camera-lens { width: 9px; height: 9px; border-radius: 50%; background: #0B1120; border: 1px solid #1E293B; }
.sensor-dot { width: 6px; height: 6px; border-radius: 50%; background: #0F172A; }

.map-live-radar {
  position: absolute;
  top: 310px;
  left: 175px;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}
.radar-center-dot {
  width: 10px;
  height: 10px;
  background: #16A34A;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 0 8px #16A34A;
}
.radar-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border: 2px solid #22C55E;
  border-radius: 50%;
  animation: radarPulse 2s ease-out infinite;
}
@keyframes radarPulse {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

.glass-glare-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.03) 40%, transparent 60%);
  border-radius: 38px;
  z-index: 15;
}

/* 1 ÚNICO WIDGET FLOTANTE */
.single-flagship-widget {
  position: absolute;
  bottom: 24px;
  right: -32px;
  z-index: 25;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(22, 163, 74, 0.35);
  border-radius: 18px;
  padding: 12px 18px;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floatSubtle 4s ease-in-out infinite alternate;
}
@keyframes floatSubtle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.widget-coin-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FDE047 0%, #F59E0B 100%);
  border: 1px solid #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.35);
}

.widget-meta-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

.widget-meta-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #15803D;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.phone-bottom-verified {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #64748B;
  background: #F1F5F9;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid #CBD5E1;
}

/* ==========================================================================
   BIDEGORRI COMPACT & SPECTACULAR STORYTELLER (V10)
   ========================================================================== */
.bidegorri-compact-section {
  scroll-margin-top: 110px;
  padding: 36px 0 20px;
  position: relative;
}

.bidegorri-compact-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 22px 28px 16px;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(16, 185, 129, 0.12);
  position: relative;
  overflow: hidden;
}

.compact-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}

.brand-heading-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
}

.brand-heading span {
  color: #047857;
}

.brand-city-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #15803D;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.stage-pill-selector {
  display: flex;
  align-items: center;
  background: #F1F5F9;
  padding: 3px;
  border-radius: 999px;
  gap: 2px;
}

.stage-pill-btn {
  background: transparent;
  border: none;
  color: #64748B;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 5px;
}

.stage-pill-btn:hover {
  color: #0F172A;
}

.stage-pill-btn.active {
  background: #FFFFFF;
  color: #047857;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stage-pill-btn .dot-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #CBD5E1;
}

.stage-pill-btn.active .dot-indicator {
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

.stage-main-theater {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 20px;
  align-items: center;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 16px 20px;
  min-height: 140px;
  position: relative;
}

.theater-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.theater-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.stage-code-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  font-weight: 800;
  background: #DCFCE7;
  color: #047857;
  padding: 2px 7px;
  border-radius: 5px;
}

.stage-landmark-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748B;
}

.stage-headline-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
}

.stage-headline-text span {
  color: #047857;
}

.stage-copy-text {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.45;
  max-width: 540px;
}

.theater-visual-box {
  height: 110px;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.vignette-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.94);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.vignette-view.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.wheel-pedal-animation {
  position: relative;
  width: 56px;
  height: 56px;
}

.kinetic-ring {
  position: absolute;
  inset: 0;
  border: 2.5px dashed #047857;
  border-radius: 50%;
  animation: spinClockwise 3.5s linear infinite;
}

.kinetic-inner-spoke {
  position: absolute;
  inset: 6px;
  border: 1.5px dashed #10B981;
  border-radius: 50%;
  animation: spinCounter 2s linear infinite;
}

.kinetic-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #047857;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(4, 120, 87, 0.5);
}

.vignette-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  color: #047857;
  margin-top: 6px;
  background: #ECFDF5;
  padding: 2px 7px;
  border-radius: 999px;
}

.urban-network-visual {
  position: relative;
  width: 100px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.urban-wire {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #047857, #10B981, #059669);
  border-radius: 2px;
}

.urban-hub-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid #047857;
  position: relative;
  z-index: 2;
}

.urban-hub-dot.pulse {
  border-color: #10B981;
  box-shadow: 0 0 10px #10B981;
}

.deal-voucher-card {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 6px 12px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.12);
}

.deal-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #B45309;
  line-height: 1;
}

.deal-retail-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  color: #92400E;
  margin-top: 2px;
}

.civic-monument-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kiosko-icon {
  font-size: 1.8rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(4, 120, 87, 0.25));
}

.civic-name-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: #047857;
  margin-top: 4px;
}

.transit-track-strip {
  margin-top: 14px;
  position: relative;
  height: 42px;
  display: flex;
  align-items: center;
}

.track-strip-svg {
  width: 100%;
  height: 42px;
  display: block;
}

.compact-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #F1F5F9;
  font-size: 0.72rem;
  color: #64748B;
}

.quote-hemingway {
  font-family: 'Georgia', serif;
  font-style: italic;
  color: #64748B;
}

.quote-hemingway cite {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 600;
  color: #94A3B8;
  margin-left: 4px;
}

.ctrl-play-pause {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ctrl-play-pause:hover {
  background: #E2E8F0;
  color: #0F172A;
}

@keyframes spinClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinCounter {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@media (max-width: 768px) {
  .bidegorri-compact-card {
    padding: 18px 16px 12px;
    border-radius: 20px;
  }
  .compact-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .stage-pill-selector {
    width: 100%;
    justify-content: space-between;
  }
  .stage-pill-btn {
    padding: 5px 8px;
    font-size: 0.65rem;
  }
  .stage-main-theater {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }
  .theater-visual-box {
    height: 85px;
  }
  .stage-headline-text {
    font-size: 1.15rem;
  }
  .stage-copy-text {
    font-size: 0.8rem;
  }
  .compact-footer-row {
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
  }
}
