/* Variables globales */
:root {
  --spacing-xs: clamp(0.5rem, 1vw, 1rem);
  --spacing-sm: clamp(1rem, 2vw, 2rem);
  --spacing-md: clamp(2rem, 4vw, 4rem);
  --spacing-lg: clamp(3rem, 6vw, 6rem);
  --font-size-base: clamp(16px, 1vw, 18px);
  --font-size-lg: clamp(24px, 3vw, 48px);
  --font-size-xl: clamp(36px, 5vw, 72px);
  --container-width: min(1200px, 90%);
  --border-radius: 10px;
}

/* Content Styles */
.content {
  width: var(--container-width);
  margin: 0 auto;
  padding: var(--spacing-md);
}

.content__text {
  margin: var(--spacing-lg) 0;
  text-align: center;
}

/* Typography */
.content h2 {
  font-size: var(--font-size-lg);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.content__text h2 .st-line {
  display: block;
  overflow: hidden;
}

.content__text h2 .st-line span {
  display: block;
  transform: translateY(100%);
  transition: transform 0.5s ease-out;
}

.content__text h2.is-visible {
  opacity: 1;
}

.content__text h2.is-visible .st-line span {
  transform: translateY(0);
}

.content p {
  font-size: var(--font-size-base);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
  opacity: 0;
  transition: opacity 2s ease-out;
}

.content__text p.is-visible {
  opacity: 1;
}

/* CTA Section */
.push {
  background: linear-gradient(135deg, #ffffff 0%, #f1f1f1 100%);
  border-radius: var(--border-radius);
  padding: 5rem 2rem;
  margin: var(--spacing-lg) auto;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1250px;
  box-sizing: border-box;
}

.push h2 {
  font-size: clamp(1.5rem, 5vw, var(--font-size-lg));
  margin-bottom: var(--spacing-sm);
  color: #000000;
}

.push p {
  font-size: clamp(1.25rem, 3vw, var(--font-size-base));
  max-width: 800px;
  margin: 0 auto var(--spacing-md);
  color: #000000;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8em 1.5em;
  border-radius: 7.5px;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, var(--font-size-base));
  text-decoration: none;
  transition: all 0.35s ease-out;
  min-width: clamp(150px, 80%, 300px);
  margin: 0.5rem;
}

.cta-btn i {
  margin-right: 8px;
  font-size: 1.1em;
}

/* Button Variants */
.cta-btn.primary {
  background-color: #000000;
  color: white;
}

.cta-btn.secondary {
  background-color: #86ff05;
  color: #000000;
  border: 2px solid #86ff05;
}

.cta-btn.tertiary {
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #000000;
}

/* Media Queries */
@media screen and (max-width: 1280px) {
  .push {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 768px) {
  .push {
    padding: 3rem 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-btn {
    width: 100%;
    max-width: 300px;
  }

  .push h2 {
    font-size: clamp(1.75rem, 5vw, var(--font-size-lg));
    margin-bottom: var(--spacing-sm);
    color: #000000;
  }
  
  .push p {
    font-size: clamp(1rem, 3vw, var(--font-size-base));
    max-width: 800px;
    margin: 0 auto var(--spacing-md);
    color: #000000;
  }
}

@media screen and (max-width: 480px) {
  .push {
    padding: 2rem 1rem;
  }
  
  .push p {
    padding: 0 0.5rem;
  }
}


/* Hover Effects */
@media (hover: hover) {
  .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  }

  .cta-btn.primary:hover {
    background-color: #86ff05;
  }

  .cta-btn.secondary:hover {
    background-color: #000000;
    color: #fff;
  }

  .cta-btn.tertiary:hover {
    background-color: rgba(35, 35, 35, 0.711);
  }
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  .hero__images {
    width: 300%;
  }

  .content {
    padding: var(--spacing-sm);
  }

  .push {
    padding: var(--spacing-md);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 strong {
    font-size: clamp(36px, 10vw, 48px);
  }

  .push {
    padding: var(--spacing-sm);
  }

  .content figure {
    margin: var(--spacing-md) 0;
  }
}

@media screen and (min-width: 1440px) {
  .content figure {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Optimizaciones de rendimiento */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
