@media (min-width: 768px) {
  .about-hero {
    padding: 6rem 0 6rem;
  }
}

@media (min-width: 1024px) {
  .about-hero {
    padding: 6rem 0 6rem;
  }
}

.about-hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0;
  color: black;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .about-hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .about-hero-title {
    font-size: 3.75rem;
  }
}

/* Content Section */
.about-content {
  padding: 1rem 0;
}

@media (min-width: 768px) {
  .about-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* Text Content */
.about-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1.5rem;
}

.about-paragraph {
  font-size: 1.125rem;
  color: black;
  line-height: 1.7;
  margin: 0;
}

.brand-name {
  font-weight: 600;
  color: black;
}

/* Image Container */
.about-image-container {
  position: relative;
  display: flex;
  flex: 1;
}

.about-image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: scale(1.02);
}

/* CTA Section */
.about-cta {
  background-color: rgba(241, 245, 249, 0.3);
  padding: 4rem 0 5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .about-cta {
    padding: 5rem 0 5rem;
  }
}

.cta-text {
  font-size: 1.25rem;
  color: black;
  margin-bottom: 2rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .cta-text {
    font-size: 1.5rem;
  }
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  background-color: #1ec79f;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  height: auto;
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
}

.cta-button:hover {
  background-color: #00c79fe6!important;
  color: #fff!important;
}

.cta-button:active {
  transform: translateY(0);
}

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

.about-text {
  animation: fadeInUp 0.6s ease-out;
}

.about-image-container {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.about-cta {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .about-hero-title {
    font-size: 2rem;
  }

  .about-paragraph {
    font-size: 1rem;
  }

  .about-grid {
    gap: 2rem;
  }

  .about-cta {
    padding: 0;
  }

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

  .cta-button {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
}

/* Print Styles */
@media print {
  .about-hero {
    padding: 1rem 0;
  }

  .about-content {
    padding: 1rem 0;
  }

  .about-cta {
    padding: 1rem 0;
  }

  .about-image-wrapper {
    box-shadow: none;
  }

  .cta-button {
    background-color: transparent;
    color: #fff;
    border: 1px solid #1ec79f;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .about-image {
    transition: none;
  }

  .about-image:hover {
    transform: none;
  }

  .cta-button:hover {
    transform: none;
  }

  .about-text,
  .about-image-container,
  .about-cta {
    animation: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .about-paragraph {
    color: #fff;
  }

  .about-image-wrapper {
    border: 2px solid #1ec79f;
  }
}

/* Focus Styles */
.cta-button:focus {
  outline: 2px solid #1ec79f;
  outline-offset: 2px;
}

/* Loading States */
.about-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-image.loaded {
  opacity: 1;
}

/* Error States */
.about-image.error {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.875rem;
}

.about-image.error::after {
  content: "Imagen no disponible";
}
