html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  background-color: #000;
  color: #fff;
}

.container {
  display: flex;
  height: 100vh;
}
.container h2 {

}

.sidebar {
  width: 220px;
  padding: 2rem 1rem;
  background-color: #000;
  border-right: 1px solid #222;
}

.logo img {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 2rem;
  image-rendering: auto; /* evita el pixelado */
  filter: drop-shadow(0 0 3px rgba(255,255,255,0.05));
}

.sidebar .logo {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar nav a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin: 0.5rem 0;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.sidebar nav a:hover {
  color: #fff;
}

.content {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
}

.topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.login-btn {
  background-color: #111;
  border: 1px solid #333;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100vh; /* pantalla completa */
  padding: 4rem 2rem;
  gap: 1rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  max-width: 800px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: #aaa;
  max-width: 600px;
}

.hero .cta-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.hero .cta-buttons button {
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero .cta-buttons .primary {
  background-color: #fff;
  color: #000;
}

.hero .cta-buttons .secondary {
  background-color: transparent;
  color: #fff;
  border: 1px solid #444;
}

.side-news {
  max-width: 300px;
}

.side-news img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.side-news .meta {
  color: #888;
  font-size: 0.85rem;
}

.news h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.news-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.news-item img {
  width: 80px;
  border-radius: 8px;
}

.news-item h3 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
}

.news-item .meta {
  font-size: 0.85rem;
  color: #aaa;
}
/* Contact form styling */
.contact {
  margin-top: 4rem;
  background-color: #111;
  padding: 2rem;
  border-radius: 12px;
}

.contact h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact input,
.contact textarea {
  padding: 0.75rem;
  border: 1px solid #333;
  background: #000;
  color: #fff;
  border-radius: 6px;
  font-size: 1rem;
}

.contact button {
  background: #fff;
  color: #000;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact button:hover {
  background: #ddd;
}

/* Smooth fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero,
.news,
.contact {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
  animation-fill-mode: forwards;
}

/* Each section fades in slightly later */
.news { animation-delay: 0.5s; }
.contact { animation-delay: 0.7s; }
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #222;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .content {
    padding: 1rem;
  }

  .hero {
    flex-direction: column;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .topbar {
    justify-content: center;
  }

  .contact {
    margin: 2rem 0;
  }
}
.sidebar nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  color: #ccc;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.sidebar nav a:hover {
  background-color: #1a1a1a;
  color: #fff;
}

.sidebar nav a::after {
  content: "›";
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sidebar nav a:hover::after {
  opacity: 1;
  transform: translateX(2px);
}
.feature-box {
  background-color: #111;
  padding: 2rem;
  border: 1px solid #222;
  border-radius: 12px;
  flex: 1 1 300px;
  max-width: 350px;
  color: #fff;
  transition: transform 0.3s ease, border 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  border-color: #333;
}

.feature-number {
  font-size: 1.5rem;
  font-weight: bold;
  color: #8b5cf6; /* violeta suave, puedes cambiarlo */
  margin-bottom: 1rem;
}
.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 3rem;
}

.about-text {
  flex: 1 1 300px;
  max-width: 400px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: #aaa;
  font-size: 1rem;
}

.about-features {
  flex: 2 1 600px;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.counter-section {
  background-color: #111;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 12px;
  margin: 4rem 0;
}

.counter-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.counters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.counter-box h3 {
  font-size: 3rem;
  color: #8b5cf6;
  margin: 0;
}

.counter-box p {
  margin-top: 0.5rem;
  color: #aaa;
  font-size: 1.1rem;
}
.package-grid, .price-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.package-card, .price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #111;
  padding: 2rem;
  border: 1px solid #333;
  border-radius: 12px;
  max-width: 300px;
  flex: 1 1 250px;
}

.package-card h3, .price-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.package-card p, .price-card p {
  color: #aaa;
  font-size: 1rem;
}
.cta-contratar {
  margin-top: 1rem;
  background-color: #fff;
  color: #000;
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta-contratar:hover {
  background-color: #ccc;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  color: #ccc;
}

.check-list li {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.check-list li span {
  color: #8b5cf6;
  font-weight: bold;
}

.price-tag {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 1rem 0;
}


.cta-contratar {
  background-color: #fff;
  color: #000;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cta-contratar:hover {
  background-color: #e2e2e2;
}
.price-footer {
  margin-top: auto;
  text-align: center;
}
.precios-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1rem 2rem;
}

.logo-precios {
  height: 50px;
  width: auto;
  cursor: pointer;
}

.precios-notas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  color: #aaa;
  text-align: center;
}
.precios-topbar {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 10;
}

.logo-precios {
  height: 120px;
  width: auto;
  cursor: pointer;
}