* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fff;
  color: #222;
}

/* NAVBAR */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  position: absolute;
  width: 100%;
  z-index: 10;
}


.header nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #c40000; /* rojo marca */
  font-weight: 500;
  transition: 0.3s;
}

.header nav a:hover {
  color: #000; /* negro al pasar mouse */
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 204, 0, 0.7); /* amarillo marca */
  top: 0;
  left: 0;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #900;
}

.hero-content h1 {
  font-size: 3rem;
  max-width: 500px;
}

.hero-content p {
  margin: 20px 0;
}

.btn {
  display: inline-block;
  background: #c40000;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
}

/* SERVICIOS */
.services {
  padding: 80px 60px;
  text-align: center;
}

.services h2 {
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  padding: 30px;
  border: 1px solid #eee;
  transition: 0.3s;
}

.card:hover {
  background: #ffcc00;
  transform: translateY(-5px);
}

/* CTA */
.cta {
  background: #c40000;
  color: white;
  text-align: center;
  padding: 60px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: white;
}

.logo-grande {
  height: 120px;
}

.header.scrolled {
  background: rgba(255, 204, 0, 0.95); /* amarillo sólido */
  backdrop-filter: blur(5px);
  transition: 0.3s;
}
.hero-content {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}

.hero-content h1 {
  animation-delay: 0.2s;
}

.hero-content p {
  animation-delay: 0.4s;
}

.hero-content .btn {
  animation-delay: 0.6s;
}

/* Animación */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content h1,
.hero-content p,
.hero-content .btn {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}
.btn:hover {
  transform: scale(1.05);
  background: #900;
}