* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* BODY */
body {
  background: #fff;
  color: #333;
  line-height: 1.6;
}

/* NAVBAR */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
  background: transparent;
  z-index: 1000;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

header nav a {
  color: #333;
  margin-left: 20px;
  text-decoration: none;
  transition: 0.3s;
}

header nav a:hover {
  color: #ffffff;
}

/* SECCIONES */
section {
  min-height: 100vh;
  padding: 100px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* HERO */
#inicio {
  text-align: center;
  font-size: 20px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(90deg, #ffffff, #d6d6d6);
}

/* ANIMACIONES */
.fade-in {
  animation: fadeIn 2s ease-in-out;
  background: linear-gradient(90deg, #ffcc80, #ffa726, #f57c00);
}

.slide-up {
  animation: slideUp 1.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* HOVER SUAVE EN TEXTOS */
h2 {
  transition: 0.3s;
  font-size: 90px;
}

h2:hover {
  transform: scale(1.05);
  color: #ffffff;
}

.tarjetas-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 20px;
}

.tarjeta {
  background: #ffffff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 03s ease;
  animation: flotar 3s ease-in-out infinite;
  padding: 25px;
}

.tarjeta:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tarjeta h3 {
  margin-bottom: 10px;
  color: #222;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.tarjeta p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 5px;
}

@keyframes flotar {
  0% { 
    transform: translateY(0px);
  }
  50% { 
    transform: translateY(-5px);
  }
  100% { 
    transform: translateY(0px);
  }
}



#info h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 35px;
  position: relative;
}

#info h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 5px;
  background: linear-gradient(90deg, #fff176, #ffca28, #ffa726);
}

.tarjeta {
  background: #ffffff;
  padding: 22px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border: 2px solid transparent;
  background: 
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #ffe082, #ffb74d, #fb8c00) border-box;
}


.tarjeta h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
}


.tarjeta p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}


#info {
  padding: 40px 20px;
  background: linear-gradient(90deg, #ffffff, #d6d6d6);
}
