body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0a0f2c;
}

/* 🔹 HEADER */
.header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  color: white;
  font-weight: bold;
}

.cta-btn {
  background: #1e88e5;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
}

/* 🔹 HERO */
.hero {
  position: relative;
  height: 60vh;
  background: linear-gradient(135deg, #0a1a5e, #0d47a1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  color: white;
  overflow: hidden;
}
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}
/* CONTENIDO */
.hero-content {
  max-width: 500px;
  transform: translateY(-40px); /* 👈 ajusta este valor */
}
.hero h1 {
  font-size: 50px;
  margin-bottom: 10px;
}

/* BOTONES */
.buttons .btn {
  display: inline-block;
  padding: 10px 20px;
  margin-right: 10px;
  background: #1e88e5;
  color: white;
  text-decoration: none;
  border-radius: 20px;
}

/* 🔹 IMAGEN (LA CAMBIAS AQUÍ) */
.hero-image {
  width: 350px;
  height: 350px;
  background-image: url("img/hero.png"); /* CAMBIA ESTA IMAGEN */
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}

/* 🔥 CORTE TRIANGULAR */
.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 45%;
  height: 130px;
  background: #121858;

  clip-path: polygon(0 0, 100% 100%, 0 100%);
}

/* 🔹 BOTÓN WHATSAPP */
.whatsapp-btn {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: #25D366;
  color: white;
  font-size: 24px;
  padding: 12px 16px;
  border-radius: 50%;
  text-decoration: none;
  z-index: 5;
}

/* 🔹 SIGUIENTE SECCIÓN */
.next-section {
  height: 400px;
  background: #121858;
}

/* ============================= */
/* 📱 RESPONSIVE MOBILE */
/* ============================= */

@media (max-width: 768px) {

  /* 🔹 ESTRUCTURA GENERAL */
  .hero {
    padding: 20px;
    height: auto;
  }

  .hero-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* 🔹 OCULTAR TEXTO */
  .hero-content h1,
  .hero-content p {
    display: none;
  }

  /* 🔹 ORDEN (IMAGEN ARRIBA) */
  .hero-image {
    order: 1;
    width: 220px;
    height: 220px;
    margin-bottom: 20px;
  }

  .hero-content {
    order: 2;
    transform: none; /* elimina desplazamientos si tenías */
  }

  /* 🔹 BOTONES EN FILA */
  .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 23px;
    flex-wrap: wrap;
    width: 51%;
  }

  .buttons .btn {
    flex: 1;
    min-width: 90px;
    max-width: 120px;
    padding: 10px;
    font-size: 13px;
    text-align: center;
    border-radius: 25px;
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
  }

  /* 🔹 AJUSTE HEADER */
  .header {
    padding: 15px 20px;
  }

  .cta-btn {
    padding: 8px 15px;
    font-size: 12px;
  }

  /* 🔹 BOTÓN WHATSAPP */
  .whatsapp-btn {
    bottom: 40px;
    font-size: 20px;
    padding: 10px 14px;
  }

  /* 🔹 CORTE TRIANGULAR MÁS PEQUEÑO */
  .hero::after {
    height: 100px;
  }
}