/* Estilos modernos para la página de inicio - D'Volada Contigo 
 * Diseño profesional y elegante con efectos visuales mejorados
 * Enfoque en experiencia de usuario y estética contemporánea
 * Versión 2.0 - Diseño Profesional
 */

:root {
  --primary-color: #005f34;
  --primary-light: #1a7049;
  --primary-dark: #004526;
  --secondary-color: #e0c2a8;
  --secondary-light: #f3e0b5;
  --secondary-dark: #b58463;
  --accent-color: #d2691e;
  --accent-light: #f3e0b5;
  --text-light: #ffffff;
  --text-dark: #2c3e50;
  --background-light: #f5f5f5;
  --background-dark: #343a40;
  --card-shadow: 0 8px 32px rgba(0, 95, 52, 0.12);
  --hover-transform: translateY(-8px);
  --transition-speed: 0.4s;
  --border-radius: 16px;
  --border-radius-large: 24px;
  --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-secondary: 'Playfair Display', Georgia, serif;
}

/* Estilos generales mejorados */
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  font-family: var(--font-primary);
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
  font-weight: 700;
  text-align: center;
  font-family: var(--font-secondary);
  color: var(--text-dark);
  font-size: 2.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  border-radius: 2px;
}

/* HERO MINIMALISTA MEJORADO */
.hero-minimal {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, 
              rgba(0, 95, 52, 0.85) 0%, 
              rgba(0, 69, 38, 0.9) 50%,
              rgba(0, 95, 52, 0.85) 100%), 
              url('../images/hero-cafe-steam.png') center/cover no-repeat;
  padding: 3rem 0;
  overflow: hidden;
  font-family: var(--font-primary);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 2rem;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out;
  font-family: var(--font-secondary);
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-cta {
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 1.25rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(210, 105, 30, 0.3);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(210, 105, 30, 0.4);
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
  color: white;
}

/* Efecto de partículas mejorado */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  opacity: 0.7;
}

.particle {
  position: absolute;
  background: rgba(224, 194, 168, 0.8);
  border-radius: 50%;
  animation: floatParticle 20s infinite linear;
}

/* Indicador de scroll mejorado */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 5;
  animation: fadeInUp 1s ease-out 0.9s forwards;
  opacity: 0;
}

.hero-scroll-indicator a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.hero-scroll-indicator a:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.hero-scroll-indicator span {
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.hero-scroll-indicator i {
  animation: bounceArrow 2.5s infinite;
  font-size: 1.3rem;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes bounceArrow {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-12px);
  }
  60% {
    transform: translateY(-6px);
  }
}

/* Responsive para hero */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .btn-hero {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }
}

/* SECCIONES MEJORADAS */

/* Sección de categorías con diseño moderno */
.categories-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--background-light) 0%, #F0EBE5 100%);
}

.category-card {
  position: relative;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  height: 350px;
}

.category-card:hover {
  transform: var(--hover-transform);
  box-shadow: 0 20px 40px rgba(0, 95, 52, 0.2);
}

.category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.category-card:hover .category-img {
  transform: scale(1.1);
}

.category-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 95, 52, 0.9));
  color: white;
  padding: 2.5rem 2rem 2rem;
  transform: translateY(20px);
  transition: all var(--transition-speed) ease;
}

.category-card:hover .category-overlay {
  transform: translateY(0);
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-secondary);
}

.category-description {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.category-card:hover .category-description {
  opacity: 1;
}

.category-button {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.category-card:hover .category-button {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(210, 105, 30, 0.3);
}

.category-button:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
  color: white;
}

/* Sección de productos mejorada */
.products-section {
  padding: 5rem 0;
  background: white;
}

.product-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  height: 100%;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 95, 52, 0.15);
}

.product-img-container {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(210, 105, 30, 0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: calc(100% - 220px);
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-family: var(--font-secondary);
  line-height: 1.3;
}

.product-category {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 95, 52, 0.1) 0%, rgba(26, 112, 73, 0.1) 100%);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.product-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-sizes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 8px;
  margin-bottom: 1.5rem;
}

.size-badge {
  background: linear-gradient(135deg, rgba(224, 194, 168, 0.1) 0%, rgba(243, 224, 181, 0.1) 100%);
  border: 1px solid rgba(224, 194, 168, 0.3);
  border-radius: var(--border-radius);
  padding: 0.5rem 0.75rem;
  text-align: center;
  transition: all 0.3s ease;
}

.size-badge:hover {
  background: linear-gradient(135deg, rgba(224, 194, 168, 0.2) 0%, rgba(243, 224, 181, 0.2) 100%);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.size-name {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.size-price {
  display: block;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-secondary);
}

.size-badge:hover .size-price {
  color: var(--primary-dark);
}

.product-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-secondary);
}

.product-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

.product-button:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 95, 52, 0.3);
  color: white;
}

/* Sección de características mejorada */
.features-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--background-light) 0%, #F0EBE5 100%);
}

.feature-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 95, 52, 0.15);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, var(--secondary-color) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-family: var(--font-secondary);
}

.feature-text {
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Llamado a la acción mejorado */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/coffee-pattern.png') repeat;
  opacity: 0.1;
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: var(--font-secondary);
}

.cta-text {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  letter-spacing: 0.3px;
}

.cta-button-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: white;
}

.cta-button-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(210, 105, 30, 0.4);
  color: white;
}

.cta-button-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-button-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

/* Animaciones mejoradas */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes floatUpRotate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

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

@keyframes slideLine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Clases de animación */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease;
}

.fade-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

.fade-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive mejorado */
@media (max-width: 991px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .feature-card {
    margin-bottom: 2rem;
  }

  .cta-title {
    font-size: 2.5rem;
  }

  .cta-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 80vh;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-button {
    width: 100%;
    margin-bottom: 1rem;
  }

  .category-card {
    height: 300px;
  }

  .product-card {
    margin-bottom: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* ===== BANNER PROMOCIONAL TARJETASUMA MEJORADO ===== */
.tarjetasuma-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 25%, #fff5f0 75%, #ffffff 100%);
    padding: 4rem 0;
    border-bottom: 1px solid rgba(224, 194, 168, 0.15);
    position: relative;
    overflow: hidden;
}

.tarjetasuma-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 95, 52, 0.03) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.8" fill="%23005f34" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.tarjetasuma-banner .container {
    position: relative;
    z-index: 2;
}

.tarjetasuma-banner .row {
    align-items: center;
    min-height: 300px;
}

/* Contenido del banner mejorado */
.tarjetasuma-content-enhanced {
    padding: 2rem 0;
}

.partnership-announcement {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #000;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    animation: gentle-pulse 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partnership-announcement i {
    margin-right: 0.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

.tarjetasuma-title-enhanced {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #005f34 0%, #1a7049 50%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tarjetasuma-subtitle-enhanced {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-weight: 500;
    line-height: 1.5;
}

.tarjetasuma-description-enhanced {
    font-size: 1rem;
    color: #718096;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
}

.benefits-preview-enhanced {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.benefit-item-enhanced {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 95, 52, 0.08);
    border: 1px solid rgba(0, 95, 52, 0.1);
    transition: all 0.3s ease;
}

.benefit-item-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 95, 52, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.benefit-icon-enhanced {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.benefit-text-enhanced {
    font-weight: 600;
    color: #2d3748;
    font-size: 0.9rem;
}

.cta-buttons-enhanced {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-tarjeta-primary-enhanced {
    background: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-tarjeta-primary-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-tarjeta-primary-enhanced:hover::before {
    left: 100%;
}

.btn-tarjeta-primary-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-tarjeta-secondary-enhanced {
    background: transparent;
    color: #005f34;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid #005f34;
    transition: all 0.3s ease;
}

.btn-tarjeta-secondary-enhanced:hover {
    background: #005f34;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 95, 52, 0.2);
}

/* Tarjeta visual mejorada */
.tarjeta-visual-enhanced {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.tarjeta-mockup-enhanced {
    position: relative;
    perspective: 1000px;
}

.tarjeta-card-enhanced {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 25px 50px rgba(0, 95, 52, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    width: 320px;
    position: relative;
    transform: rotateY(-8deg) rotateX(5deg);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tarjeta-card-enhanced:hover {
    transform: rotateY(-5deg) rotateX(2deg) translateY(-5px);
    box-shadow: 
        0 35px 70px rgba(0, 95, 52, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

.tarjeta-header-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tarjeta-logo-enhanced {
    height: 28px;
}

.suma-brand-enhanced {
    text-align: right;
}

.suma-text-enhanced {
    color: #ff6b35;
    font-weight: 800;
    font-size: 1.1rem;
    display: block;
}

.suma-tagline-enhanced {
    color: #718096;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.puntos-section-enhanced {
    text-align: center;
    margin-bottom: 1.5rem;
}

.puntos-label-enhanced {
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.puntos-display-enhanced {
    font-size: 2.5rem;
    font-weight: 800;
    color: #005f34;
    margin-bottom: 0.75rem;
    position: relative;
}

.puntos-display-enhanced::after {
    content: 'pts';
    font-size: 0.8rem;
    color: #718096;
    margin-left: 0.5rem;
    font-weight: 500;
}

.progress-section-enhanced {
    margin-bottom: 1rem;
}

.progress-bar-enhanced {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill-enhanced {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    width: 68%;
    border-radius: 3px;
    animation: progress-fill 2s ease-out;
}

.progress-text-enhanced {
    font-size: 0.75rem;
    color: #718096;
    text-align: center;
}

.qr-section-enhanced {
    text-align: center;
    margin-bottom: 1rem;
}

.qr-placeholder-enhanced {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #f7fafc;
    border-radius: 8px;
    position: relative;
    margin-bottom: 0.5rem;
}

.qr-pattern-enhanced {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.qr-dot-enhanced {
    background: #2d3748;
    border-radius: 1px;
    animation: qr-blink 2s ease-in-out infinite;
}

.qr-dot-enhanced:nth-child(odd) {
    animation-delay: 0.3s;
}

.qr-text-enhanced {
    font-size: 0.75rem;
    color: #718096;
}

.member-info-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.member-since-enhanced {
    font-size: 0.75rem;
    color: #718096;
}

.member-level-enhanced {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    color: #005f34;
    font-weight: 600;
}

/* Elementos flotantes mejorados */
.floating-benefits-enhanced {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-benefit-enhanced {
    position: absolute;
    background: white;
    border-radius: 25px;
    padding: 0.6rem 1rem;
    box-shadow: 0 8px 25px rgba(0, 95, 52, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #2d3748;
    animation: float-gentle 4s ease-in-out infinite;
    border: 1px solid rgba(0, 95, 52, 0.1);
}

.floating-benefit-enhanced i {
    color: #10b981;
    font-size: 0.9rem;
}

.floating-1 {
    top: 15%;
    left: -10%;
    animation-delay: 0s;
}

.floating-2 {
    top: 35%;
    right: -15%;
    animation-delay: 1.5s;
}

.floating-3 {
    bottom: 25%;
    left: -5%;
    animation-delay: 3s;
}

.floating-4 {
    bottom: 10%;
    right: -10%;
    animation-delay: 4.5s;
}

/* Animaciones mejoradas */
@keyframes gentle-pulse {
    0%, 100% { 
        box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
        transform: scale(1.02);
    }
}

@keyframes sparkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(10deg) scale(1.1); }
}

@keyframes progress-fill {
    0% { width: 0%; }
    100% { width: 68%; }
}

@keyframes qr-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes float-gentle {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-8px) rotate(1deg);
        opacity: 1;
    }
}

/* Responsive mejorado */
@media (max-width: 768px) {
    .tarjetasuma-banner {
        padding: 3rem 0;
    }
    
    .tarjetasuma-title-enhanced {
        font-size: 2.2rem;
    }
    
    .tarjetasuma-subtitle-enhanced {
        font-size: 1.1rem;
    }
    
    .benefits-preview-enhanced {
        flex-direction: column;
        gap: 1rem;
    }
    
    .benefit-item-enhanced {
        justify-content: center;
    }
    
    .cta-buttons-enhanced {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-tarjeta-primary-enhanced,
    .btn-tarjeta-secondary-enhanced {
        justify-content: center;
        width: 100%;
    }
    
    .tarjeta-card-enhanced {
        width: 280px;
        padding: 1.5rem;
        transform: none;
    }
    
    .tarjeta-card-enhanced:hover {
        transform: translateY(-3px);
    }
    
    .floating-benefits-enhanced {
        display: none;
    }
    
    .puntos-display-enhanced {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .tarjetasuma-banner {
        padding: 2rem 0;
    }
    
    .tarjetasuma-title-enhanced {
        font-size: 1.8rem;
    }
    
    .tarjeta-card-enhanced {
        width: 260px;
        padding: 1.25rem;
    }
    
    .partnership-announcement {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}
