:root {
  --azul: #1F2F57;
  --naranja: #F58220;
  --gris: #F4F6F9;
  --texto: #2d2d2d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--texto);
  line-height: 1.6;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 8%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--azul);
}

.logo span {
  color: var(--naranja);
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--azul);
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: var(--naranja);
}

/* BOTÓN */

.btn {
  background: var(--naranja);
  color: white;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(245,130,32,0.4);
}

/* HERO */

.hero {
  background: var(--azul);
  color: white;
  padding: 140px 10% 60px 10%; /* 🔥 más espacio arriba */
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.hero p {
  max-width: 600px;
  margin-bottom: 20px;
}

/* SECCIONES */

.section {
  padding: 100px 10%;
}

.section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
}

/* CARDS */

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

.card {
  background: white;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
  transition: 0.3s;
}

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

/* FOOTER */

footer {
  background: var(--azul);
  color: white;
  text-align: center;
  padding: 40px;
  margin-top: 60px;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
}