/* Reset y base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  color: #111111;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Contenedor principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header / Hero */
header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;
  background-color: #f5f5f5;
  color: #111;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

header p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #555;
}

header .cta-btn {
  padding: 0.8rem 2rem;
  background-color: #111;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

header .cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sección Sobre mí */
section {
  padding: 5rem 0;
}

.about {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.about img {
  max-width: 400px;
  border-radius: 12px;
  flex: 1;
}

.about-text {
  flex: 2;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #111;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #444;
}

/* Sección Servicios */
.services {
  background-color: #f9f9f9;
  text-align: center;
  padding: 5rem 0;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #111;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  flex: 1 1 300px;
  max-width: 350px;
  border: 1px solid #ddd;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #111;
}

.card p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.card ul {
  list-style: disc inside;
  color: #555;
  padding-left: 0;
  margin: 0;
}

.card ul li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .service-cards {
    flex-direction: column;
    align-items: center;
  }
}

/* Sección Contacto */
.contact {
  text-align: center;
  padding: 5rem 2rem;
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  color: #111;
}

.contact a {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.8rem 2rem;
  background-color: #111;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sección Productos Digitales */
.digital-products {
  background-color: #f5f5f5;
  text-align: center;
  padding: 4rem 0;
}

.digital-products h2 {
  font-size: 2rem;
  color: #111;
  margin-bottom: 1rem;
}

.digital-products p {
  color: #555;
  margin-bottom: 2rem;
}

.product-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.product-cards .card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  flex: 1 1 300px;
  max-width: 350px;
  border: 1px solid #ddd;
  position: relative;
  text-align: left;
}

.product-cards .card h3 {
  margin-bottom: 1rem;
  color: #111;
}

.product-cards .card p {
  color: #444;
  margin-bottom: 1rem;
}

.coming-soon {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  background-color: #111;
  color: #fff;
  font-size: 0.85rem;
  border-radius: 6px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .product-cards {
    flex-direction: column;
    align-items: center;
  }
}

.coming-soon-banner {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #111;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 0;
  background-color: #111;
  color: #fff;
}

/* Responsivo */
@media (max-width: 768px) {
  .about {
    flex-direction: column;
  }

  header h1 {
    font-size: 2.2rem;
  }

  header p {
    font-size: 1.2rem;
  }
}

/* Imagen de perfil responsiva */
.profile {
  width: 150px;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  display: block;
  margin: 0 auto 1rem;
  padding-top: 2rem;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
  .profile {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .profile {
    width: 200px;
  }
}

/* Responsive: botones ocupan más ancho en móviles */
@media (max-width: 768px) {
  .contact .links a {
    flex: 1 1 100%; /* ocupar todo el ancho disponible */
    justify-content: center; /* icono y texto centrados */
    padding: 0.8rem;
  }
  .contact .links {
    gap: 0.8rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .cta-btn {
    padding: 0.6rem 1.5rem;
  }
  header {
    padding: 2rem;
  }
}
