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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

.main-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.main-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #0d9488;
}

/* Estilos del popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  position: relative;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-overlay.show .popup-container {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: auto;
  height: 55px;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease;
      color: #0d9488;
}

.close-btn:hover {
  background: white;
}

.popup-content {
  display: flex;
  flex-direction: row;
}

.popup-image {
  flex: 1;
  min-height: 400px;
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popup-text {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #ffffffd6;
}

.popup-icon {
  margin-bottom: 24px;
}

.popup-icon img {
  width: 64px;
  height: 64px;
}

.popup-title {
  font-size: 2rem;
  font-weight: bold;
  color: #0d9488;
  margin-bottom: 24px;
  line-height: 1.2;
}

.popup-description {
  margin-bottom: 32px;
  color: #374151;
  line-height: 1.5;
}

.popup-description p {
  margin-bottom: 8px;
}

.popup-description .highlight {
  font-weight: 600;
}

.cta-button {
  background: #0d9488;
  color: white;
  border: none;
  padding: 12px 48px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: #0f766e;
}

/* Responsive */
@media (max-width: 768px) {
  .popup-container {
    width: 95%;
    margin: 20px;
  }

  .popup-content {
    flex-direction: column;
  }

  .popup-image {
    min-height: 1px;
    max-height: 1px;
  }

  .popup-text {
    padding: 32px 24px;
  }

  .popup-title {
    font-size: 1.5rem;
  }

  .popup-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .popup-text {
    padding: 24px 20px;
  }

  .popup-title {
    font-size: 1.3rem;
  }

  .cta-button {
    padding: 10px 32px;
    font-size: 1rem;
  }
}