
/*eco Page Styles */



.eco-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
 
}

/* Overlay oscuro elegante */
.eco-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.75) 40%,
    rgba(0,0,0,0.6) 100%
  );
}

/* Contenido */
.eco-hero-content {
  position: relative;
  max-width: 900px;
  z-index: 2;
  animation: fadeUp 1.2s ease forwards;
}

/* Headline */
.eco-hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; /* más elegante */
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

/* Palabra acento */
.eco-hero h1 span {
  color: #ff7a00;
  font-weight: 400;
}

/* Subheadline */
.eco-hero p {
  font-size: 1.1rem;
  font-weight: 300;
  color: #cfcfcf;
  max-width: 500px;
}



/* Animación */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Waiting text */
.eco-waiting {
  margin-top: 3rem;
  font-size: 0.8rem;
  letter-spacing: 6px;
  font-weight: 400;
  color: #888;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  animation: fadeIn 2s ease forwards;
}

/* Línea animada debajo */
.eco-waiting::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff7a00, transparent);
  animation: pulseLine 2.5s infinite ease-in-out;
}

/* Animación breathing texto */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseLine {
  0%, 100% {
    opacity: 0.2;
    transform: scaleX(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}


/* ============================= */
/* RESPONSIVE HERO */
/* ============================= */

/* Laptop grande */
@media (max-width: 1400px){

.eco-hero h1{
font-size: clamp(2.8rem,5vw,4.8rem);
}

}

/* Laptop */
@media (max-width: 1200px){

.eco-hero{
padding: 0 6%;
}

.eco-hero-content{
max-width:700px;
}

.eco-hero h1{
font-size: clamp(2.6rem,5vw,4rem);
}

.eco-hero p{
font-size:1rem;
}

}

/* Tablet */
@media (max-width: 992px){

.eco-hero{
height:90vh;
padding:0 6%;
}

.eco-hero-content{
max-width:600px;
}

.eco-hero h1{
font-size: clamp(2.4rem,6vw,3.5rem);
line-height:1.1;
}

.eco-hero p{
font-size:0.95rem;
}

.eco-waiting{
margin-top:2.5rem;
letter-spacing:5px;
}

}

/* Mobile */
@media (max-width: 768px){

.eco-hero{
height:85vh;
padding:0 5%;
align-items:center;
}

.eco-hero-content{
max-width:100%;
}

.eco-hero h1{
font-size: clamp(2rem,7vw,2.8rem);
line-height:1.15;
margin-bottom:1rem;
}

.eco-hero p{
font-size:0.9rem;
max-width:90%;
}



.eco-waiting{
margin-top:2rem;
letter-spacing:4px;
font-size:0.7rem;
}

}

/* Mobile pequeño */
@media (max-width:480px){

.eco-hero{
height:80vh;
padding:0 6%;
}

.eco-hero h1{
font-size:1.9rem;
}

.eco-hero p{
font-size:0.85rem;
}

.eco-waiting{
letter-spacing:3px;
}

}