:root {
  --primary: #6c63ff;
  --secondary: #8f6fff;
  --bg-gradient: linear-gradient(135deg, #2b3fa9, #7b5cff);
  --light: #ffffff;
  --gray: #f4f6fb;
  --text: #2d2d2d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: var(--gray);
  color: var(--text);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* NAVBAR */
.logo{
  width: 75px;
}
.navbar {
  background: var(--bg-gradient);
  padding: 20px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* HERO */
.hero {
  background: var(--bg-gradient);
  color: white;
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
}

.hero p {
  margin: 20px 0;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image img {
  width: 100%;
  border-radius: 30px;

  /* Difuminado suave en los bordes */
  mask-image: radial-gradient(
    ellipse at center,
    black 80%,
    transparent 100%
  );

  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 80%,
    transparent 100%
  );
}

/* BUTTONS */
.btn {
  background: var(--secondary);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
}

/* SERVICES */
.services {
  padding: 80px 0;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.card img {
  width: 64px;          /* tamaño ideal */
  height: auto;
  margin-bottom: 20px;

  /* suaviza visualmente */
  opacity: 0.9;
}

/* BENEFITS */
.benefits {
  background: white;
  padding: 80px 0;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}


/* CONTACT */
.contact {
  padding: 80px 0;
  text-align: center;
}

.button-contact{
  margin-top: 30px;
}

/* FOOTER */
footer {
  background: #1f1f3d;
  color: white;
  padding: 50px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

footer a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
}

.copy {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}



@media (max-width: 1024px) {
  .hero h1 {
    font-size: 40px;
  }
}


@media (max-width: 768px) {

  /* CONTENEDOR */
  .container {
    width: 92%;
  }

  /* NAVBAR */
  .nav-content {
    flex-direction: column;
    gap: 15px;
  }

  .navbar nav a {
    margin-left: 0;
    margin-right: 15px;
  }

  /* HERO */
  .hero {
    padding: 60px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image img {
    margin-top: 40px;
  }

  /* SERVICES */
  .services {
    padding: 60px 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 25px;
  }

  /* BENEFITS */
  .benefits {
    padding: 60px 0;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* CONTACT */
  .contact {
    padding: 60px 0;
  }

  .contact form {
    width: 100%;
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
}


@media (max-width: 480px) {

  .hero h1 {
    font-size: 28px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .logo {
    width: 65px;
  }
}


@media (max-width: 768px) {
  .hero-image img {
    border-radius: 20px;
    mask-image: none;
    -webkit-mask-image: none;
  }
}
