body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* ================= Título principal ================= */
  h1 {
    font-size: 5rem;
    color: #333;
    margin: 0;
    line-height: 1;
    position: absolute;
    top: 20rem;
    left: 29rem;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
  
  /* ================= Subtítulo ================= */
  .p {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    line-height: 1;
    position: absolute;
    top: 28rem;
    left: 8rem;
    z-index: 10;
  }
  
  /* ================= Botón ================= */
  button {
    background-color: #ebd65e;
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 16rem;
    left: -47rem;
    position: relative;
  }
  
  button:hover {
    background-color: #e6c200;
  }
  
  /* ================= Imagen principal ================= */
  .main-image {
    position: absolute;
    top: 2rem;
    left: 65rem;
    max-width: 100%;
    height: auto;
    z-index: 5;
  }
  
  /* ================= Contenedor de estadísticas ================= */
  .stats-container {
    display: flex;
    justify-content: space-between;
    width: 400px;
    background-color: #2b2114;
    padding: 23px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 8rem;
    top: 45rem;
  }
  
  .stat {
    color: #fff;
    text-align: center;
    flex: 1;
    padding: 5px;
  }
  
  .stat span {
    font-size: 0.7em;
    color: #ccc;
    display: block;
  }
  
  /* =================== RESPONSIVE =================== */
  
  /* Tablets */
  @media (max-width: 1024px) {
    h1 {
      font-size: 3rem;
      top: 15rem;
      left: 50%;
      transform: translateX(-50%);
    }
  
    .p {
      font-size: 1.2rem;
      top: 22rem;
      left: 50%;
      transform: translateX(-50%);
      text-align: center;
    }
  
    button {
      margin-top: 2rem;
      position: relative;
      left: 0;
    }
  
    .main-image {
      position: relative;
      top: auto;
      left: auto;
      width: 60%;
      max-width: 350px;
      margin: 2rem auto;
      display: block;
    }
  
    .stats-container {
      position: relative;
      top: auto;
      left: auto;
      margin: 2rem auto;
      width: 80%;
      max-width: 350px;
    }
  }
  
  /* Móviles */
  @media (max-width: 768px) {
    body {
      height: auto;
      flex-direction: column;
      align-items: center;
      padding: 2rem 1rem;
    }
  
    h1 {
      position: relative;
      font-size: 2rem;
      top: auto;
      left: auto;
      transform: none;
      margin-bottom: 1rem;
      text-align: center;
    }
  
    .p {
      position: relative;
      font-size: 1rem;
      top: auto;
      left: auto;
      transform: none;
      margin-bottom: 1.5rem;
      text-align: center;
    }
  
    button {
      position: relative;
      margin: 1.5rem 0;
      left: auto;
    }
  
    .main-image {
      position: relative;
      top: auto;
      left: auto;
      width: 80%;
      max-width: 250px;
      margin: 1.5rem auto;
      display: block;
    }
  
    .stats-container {
      position: relative;
      width: 100%;
      max-width: 300px;
      margin: 1.5rem auto;
      flex-direction: column;
      gap: 1rem;
    }
  
    .stat {
      font-size: 0.9rem;
    }
  }
  