/* Estilos generales */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #0d1117;
  color: #e6edf3;
  line-height: 1.6;
}

/* Header */
header {
  background: #161b22;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo img {
  height: 50px;
}

header nav a {
  color: #e6edf3;
  margin: 0 0.8rem;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

header nav a:hover {
  color: #00d4ff;
}

/* Hero */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  background: linear-gradient(135deg, #0d1117, #111a2b);
  padding: 2rem;
}

.hero-content {
  max-width: 700px;
}

.hero-logo {
  width: 150px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: #00d4ff;
}

.hero h2 {
  margin: 1rem 0;
  color: #f97316;
}

.hero p {
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #00d4ff;
  color: #111;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #f97316;
  color: white;
}

/* Secciones */
.section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #00d4ff;
}

.section.dark {
  background: #161b22;
  border-radius: 10px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #0d1117;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #2d333b;
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #00d4ff;
}

/* Contacto */
.redes {
  text-align: center;
  margin-top: 1.5rem;
}

.redes a {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.7rem 1.2rem;
  background: #00d4ff;
  color: #111;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
}

.redes a:hover {
  background: #f97316;
  color: white;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #161b22;
  margin-top: 2rem;
  font-size: 0.9rem;
}
