html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #f7fbfc;
  color: #1e293b;
}

/* ==========================
   NAVBAR
========================== */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 60px;
}

nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #1e293b;
  font-weight: 500;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #14b8a6, #8b5cf6);

  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
}

/* ==========================
   HERO
========================== */

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 8%;
  min-height: 700px;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(0, 200, 255, 0.12) 0%,
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 15%,
      rgba(139, 92, 246, 0.12) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(0, 200, 255, 0.08) 0%,
      transparent 25%
    ),
    linear-gradient(135deg, #f7fbfd 0%, #eef5f8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(0, 188, 212, 0.08);
  border-radius: 50%;
  top: -150px;
  right: -150px;
  filter: blur(40px);
}

.hero::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(147, 51, 234, 0.08);
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
  filter: blur(40px);
}

.hero-text {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-block;
  padding: 10px 18px;
  background: #dff7fa;
  border-radius: 30px;
  color: #0891b2;
  font-weight: 600;
}

.hero h1 {
  font-size: 4rem;
  margin: 25px 0;
  color: #1e2a44;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.8;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  gap: 20px;
}

.btn-primary {
  background: #0891b2;
  color: white;
  padding: 15px 25px;
  border-radius: 30px;
  text-decoration: none;
}

.btn-secondary {
  border: 2px solid #0891b2;
  color: #0891b2;
  padding: 15px 25px;
  border-radius: 30px;
  text-decoration: none;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: linear-gradient(
    135deg,
    rgba(0, 188, 212, 0.15),
    rgba(139, 92, 246, 0.15)
  );
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(15px);
}

.hero-image img {
  max-width: 550px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* ==========================
   SERVICIOS
========================== */

.servicios {
  padding: 100px 8%;
  background: linear-gradient(135deg, #f8fbff 0%, #eef7fb 50%, #f4f1ff 100%);
  position: relative;
}

.servicios h2 {
  text-align: center;
  font-size: 2.8rem;
  color: #1e2a44;
  margin-bottom: 60px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center;
  gap: 30px;
}

.card {
  background: white;
  border-radius: 25px;
  padding: 35px 20px;
  min-height: 300px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto 20px auto;
}

.card h3 {
  color: #1f2a44;
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 20px;
}

.linea {
  display: block;
  width: 40px;
  height: 4px;
  background: #16b5d8;
  border-radius: 20px;
  margin: 0 auto;
}

/* ==========================
   NOSOTROS
========================== */

.nosotros {
  padding: 100px 8%;

  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 50%, #f4f8fc 100%);

  text-align: center;
}

.nosotros h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.nosotros p {
  max-width: 900px;
  margin: auto;
  line-height: 1.8;
}

/* ==========================
   AGENDA
========================== */

.agenda {
  padding: 100px 8%;
  text-align: center;
}

.agenda h2 {
  font-size: 2.5rem;
  color: #1e2a44;
  margin-bottom: 40px;
}

.agenda form {
  max-width: 700px;
  margin: 0 auto;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea,
select {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
}

button {
  background: linear-gradient(135deg, #14b8a6, #8b5cf6);

  color: white;
  border: none;
  padding: 15px;
  border-radius: 12px;
  cursor: pointer;
}

/* ==========================
   FOOTER
========================== */

footer {
  background: #082f49;
  color: white;
  text-align: center;
  padding: 25px;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    gap: 20px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image img {
    max-width: 350px;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
.floating-whatsapp {
  position: fixed;

  bottom: 25px;

  right: 25px;

  width: 65px;

  height: 65px;

  border-radius: 50%;

  background: #25d366;

  display: flex;

  justify-content: center;

  align-items: center;

  font-size: 30px;

  text-decoration: none;

  color: white;

  z-index: 9999;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

  transition: 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.hero-text,
.card,
.agenda,
.nosotros {
  animation: fadeUp 0.8s ease;
}

.stats {
  display: flex;

  justify-content: center;

  gap: 80px;

  padding: 80px 20px;

  text-align: center;
}

.stats h2 {
  color: #14b8a6;

  font-size: 3rem;
}

.nosotros h3 {
  margin-top: 15px;
  color: #14b8a6;
  font-size: 1.4rem;
}
.resumen {
  max-width: 900px;
  margin: 50px auto 0;
  background: white;
  padding: 40px;
  border-radius: 25px;
  border-left: 6px solid #14b8a6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: left;
}
.resumen h4 {
  font-size: 2rem;

  margin-bottom: 25px;

  color: #1e2a44;
}
.resumen p {
  margin-bottom: 25px;

  line-height: 1.9;

  font-size: 1.05rem;
}

/* ==========================
   BENEFICIOS
========================== */

.beneficios {
  padding: 100px 8%;
  background: linear-gradient(135deg, #f8fbff 0%, #eef7fb 50%, #f4f1ff 100%);
  text-align: center;
}

.beneficios h2 {
  font-size: 2.8rem;
  color: #1e2a44;
  margin-bottom: 60px;
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.beneficio {
  background: white;
  padding: 35px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.beneficio:hover {
  transform: translateY(-10px);
}

.beneficio h3 {
  color: #14b8a6;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.beneficio p {
  line-height: 1.8;
  color: #475569;
}

/* ==========================
   TESTIMONIOS
========================== */

.testimonios {
  padding: 100px 8%;
  text-align: center;
}

.testimonios h2 {
  font-size: 2.8rem;
  color: #1e2a44;
  margin-bottom: 60px;
}

.cards-testimonios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonio {
  background: white;
  padding: 40px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.testimonio p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonio strong {
  color: #14b8a6;
  font-size: 1rem;
}

nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ==========================
   MÉTODO DE PAGO
========================== */

.metodo-pago {
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 25px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 15px;
  text-align: left;
}

.metodo-pago h3 {
  margin-bottom: 15px;
  color: #1e2a44;
  font-size: 1.2rem;
}

.metodo-pago label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1rem;
}

.metodo-pago input[type="radio"] {
  transform: scale(1.2);
  cursor: pointer;
}
