:root {
  --yellow: #efc114;
  --blue: #0066e2;
  --white: #fff;
  --dark: #171717;
}
button{
  border: none;
}
/* RESET Y BASE */
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
}
h1, h2, h3 { font-weight: 700; font-family: Inter, system-ui, sans-serif; }
p { font-size: 1rem; line-height: 1.6; }

/* === NAVBAR === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  border-bottom: 2px solid var(--blue);
  position: sticky;
  top: 0;
  background: var(--dark);
  z-index: 100;
}
.logo img { height: 42px; }
.menu a {
  color: var(--white);
  text-decoration: none;
  margin-left: 1.5rem;
  transition: 0.3s;
}
.menu a:hover { color: var(--yellow); }

/* === LAYOUT === */
main { max-width: 1000px; margin: auto; padding: 1.5rem; }
section { padding: 2rem 0; }

/* === BOTONES GLOBALES === */
.btn-primary,
.btn-secondary {
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--blue);
  color: var(--white);
  opacity: 0.9;
}
.btn-secondary {
  background: var(--blue);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--yellow);
  color: var(--dark);
}

/* === HERO PRINCIPAL === */
.hero {
  text-align: center;
  padding: 6rem 1.5rem 5rem;
  background: linear-gradient(180deg, var(--blue) 0%, #0f2346 100%);
  color: var(--white);
}
.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.hero h1 span { color: var(--yellow); }
.hero p {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #e0e0e0;
}

/* === ABOUT SECTION === */
.about {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--dark);
  color: var(--white);
}
.about h2 {
  font-size: 1.8rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.about p {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #dcdcdc;
  font-size: 1.05rem;
}
.about-list {
  list-style: none;
  padding: 0;
  max-width: 700px;
  margin: 2rem auto;
  text-align: left;
}
.about-list li {
  background: #1f1f1f;
  border-left: 4px solid var(--yellow);
  padding: 0.8rem 1rem;
  margin-bottom: 0.8rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-list i { color: var(--yellow); }

/* === CTA SECTION === */
.cta {
  text-align: center;
  background: linear-gradient(180deg, #0f0f0f 0%, #171717 100%);
  color: var(--white);
  padding: 5rem 2rem;
}
.cta h2 {
  font-size: 1.8rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.cta p {
  max-width: 650px;
  margin: 0 auto 2rem;
  color: #ddd;
  font-size: 1.05rem;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-weight: 700;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-whatsapp:hover { background: #1ebe5d; }

/* === TRUST SECTION === */
.trust {
  text-align: center;
  padding: 5rem 2rem;
  background: #101010;
  color: var(--white);
}
.trust h3 {
  font-size: 1.6rem;
  color: var(--yellow);
  margin-bottom: 2rem;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.trust-item {
  background: #1c1c1c;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 2rem 1rem;
  transition: 0.3s;
}
.trust-item:hover {
  border-color: var(--yellow);
  transform: translateY(-5px);
}
.trust-item i {
  font-size: 2rem;
  color: var(--yellow);
  margin-bottom: 0.8rem;
}
.trust-item h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.trust-item p { color: #ccc; font-size: 0.95rem; }

/* === GRID Y CARD BASES === */
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.card {
  background: #1f1f1f;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: 0.2s;
}
.card:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}

/* === SOBRE MÍ HERO === */
.about-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background-color: #f9f9f9;
  color: #171717;
  padding: 5rem 2rem;
}
.about-text {
  flex: 1 1 480px;
  max-width: 600px;
}
.about-text .subtitle {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: #555;
  text-transform: uppercase;
}
.about-text h1 {
  font-size: 2.8rem;
  margin: 0.5rem 0 1.5rem;
  line-height: 1.2;
}
.about-text .bold { color: #171717; font-weight: 800; }
.about-text .highlight { color: #0066e2; font-weight: 800; }
.about-text p {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 2rem;
}
.about-photo {
  flex: 1 1 350px;
  text-align: center;
}
.about-photo img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* === SECCIÓN EXTRA (sobre mí) === */
.about-extra {
  background-color: #171717;
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
}
.about-extra h2 { font-size: 1.8rem; margin-bottom: 1rem; }
.about-extra .highlight { color: #efc114; }
.about-extra p {
  color: #ddd;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* === HERO SERVICIOS === */
.services-hero {
  background-color: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem 3rem;
}
.services-hero h1 {
  font-size: 2.3rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.services-hero p {
  max-width: 800px;
  margin: auto;
  color: #ccc;
  font-size: 1.1rem;
}

/* === PLANES / TARJETAS === */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, #0f0f0f 0%, #171717 100%);
}
.plan-card {
  background-color: #1e1e1e;
  border-radius: 12px;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 0 25px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.plan-card:hover { transform: translateY(-8px); }
.plan-card.basic:hover {
  border-color: var(--blue);
  box-shadow: 0 0 25px rgba(0,102,226,0.4);
}
.plan-card.pro:hover,
.plan-card.premium:hover {
  border-color: var(--yellow);
  box-shadow: 0 0 25px rgba(239,193,20,0.4);
}
.plan-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #bbb;
  margin-bottom: 0.1rem;
}
.plan-card h2 span { color: var(--yellow); }
.plan-card.basic h2 span { color: var(--blue); }
.plan-card h3 {
  font-size: 1.8rem;
  margin-top: 0.2rem;   /* Nuevo */
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
.plan-card .desc { color: #ccc; margin-bottom: 1rem; }

/* === LISTA === */
.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
}
.plan-list li {
  margin: 0.4rem 0;
  color: #ddd;
}
.plan-list i {
  color: var(--yellow);
  margin-right: 8px;
}
.plan-card.basic .plan-list i { color: var(--blue); }

/* === FOOTER DEL PLAN === */
.plan-footer {
  border-top: 1px solid #333;
  padding-top: 1rem;
}
.plan-footer .price span {
  font-size: 1.2rem;
  color: var(--yellow);
}
.plan-card.basic .price span { color: var(--blue); }
.note {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 1rem;
}

/* === FOOTER GENERAL === */
footer {
  margin-top: 2rem;
  padding: 1.5rem;
  text-align: center;
  border-top: 2px solid var(--blue);
  color: #c9c9c9;
  font-size: 0.95rem;
}

/* === ANIMACIÓN GENERAL === */
section {
  animation: fadeIn 0.6s ease forwards;
  opacity: 0;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .about-list { text-align: center; }
  .about-list li { justify-content: center; }
  .trust-grid { grid-template-columns: 1fr; }
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }

  .logo {
    order: 1;
    margin-bottom: 0.8rem;
  }

  .logo img {
    height: 50px;
  }

  .menu {
    order: 2;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .menu a {
    margin: 0;
    font-size: 1rem;
    color: var(--white);
    font-weight: 600;
  }

  .menu a:hover {
    color: var(--yellow);
  }


}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero p { font-size: 1rem; }
  .btn-primary, .btn-secondary, .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}
