*{box-sizing:border-box;margin:0;padding:0}
:root{
  --green-950:#004f46;
  --green-900:#00685c;
  --green-800:#087a68;
  --green-700:#0b8f75;
  --green-500:#19bf68;
  --mint:#dff7e8;
  --mint-2:#eefaf3;
  --line:#dbe9e2;
  --text:#18332d;
  --muted:#70807a;
  --white:#fff;
}
html{scroll-behavior:smooth}
body{
  font-family:Arial,Helvetica,sans-serif;
  background:#fff;
  color:var(--text);
}
button{font:inherit}
.container{
  width:min(1180px,calc(100% - 32px));
  margin:auto;
}

/* CABECERA */
.site-header{
  background:linear-gradient(135deg,var(--green-950),var(--green-800));
  border-bottom:3px solid #20cc70;
  color:#fff;
}
.header-inner{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand-mark{
  width:46px;
  height:46px;
  border:3px solid #29d675;
  border-radius:11px;
  display:grid;
  place-items:center;
  color:#29d675;
  font-size:28px;
  font-weight:900;
}
.brand-name{
  font-size:30px;
  line-height:1;
  font-weight:800;
}
.brand-name b{color:#27ce6e}
.brand small{
  display:block;
  font-size:12px;
  margin-top:5px;
  font-weight:700;
  color:#e5fff1;
}
.login-btn{
  min-width:112px;
  padding:11px 18px;
  border:1px solid #fff;
  border-radius:9px;
  background:transparent;
  color:#fff;
  font-weight:700;
}

/* HERO */
.hero{
  background:
    radial-gradient(circle at 18px 18px,rgba(255,255,255,.10) 2px,transparent 2px),
    linear-gradient(135deg,var(--green-900),var(--green-800));
  background-size:38px 38px,auto;
  color:#fff;
  padding:34px 0 26px;
}
.hero-title{
  text-align:left;
  margin-bottom:16px;
}
.hero-title h1{
  font-size:50px;
  line-height:1;
  margin-bottom:10px;
}
.hero-title h1 b{color:#2bd06e}
.hero-title h2{
  font-size:28px;
  line-height:1.2;
}

/* CARRUSEL DESTACADO */
.featured-carousel{
  position:relative;
  width:calc(100% - 32px);
  margin:0 auto;
  background:#fff;
  color:var(--text);
  border-radius:14px;
  padding:14px 46px 30px;
  box-shadow:0 6px 20px rgba(0,0,0,.12);
}
.featured-viewport{overflow:hidden}
.featured-track{position:relative;min-height:112px}
.featured-slide{
  display:none;
  align-items:center;
  gap:18px;
  min-height:112px;
  animation:fade .3s ease;
}
.featured-slide.active{display:flex}
@keyframes fade{from{opacity:.35}to{opacity:1}}
.featured-avatar{
  flex:0 0 82px;
  width:82px;
  height:82px;
  border-radius:50%;
  background:linear-gradient(145deg,#dcf8e9,#9edfc1);
  border:3px solid #fff;
  box-shadow:0 3px 12px rgba(0,0,0,.12);
  display:grid;
  place-items:center;
  font-size:36px;
  font-weight:800;
  color:#08715f;
}
.featured-copy{min-width:0}
.featured-badge{
  display:inline-block;
  background:#1fbe68;
  color:#fff;
  border-radius:16px;
  padding:4px 8px;
  font-size:11px;
  font-weight:700;
  margin-bottom:4px;
}
.featured-copy strong{
  display:block;
  font-size:22px;
  margin-bottom:2px;
}
.featured-copy small{
  display:block;
  font-size:13px;
  color:var(--muted);
  margin-bottom:7px;
}
.featured-copy p{
  font-size:14px;
  color:#52645f;
  line-height:1.4;
}
.carousel-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-58%);
  z-index:3;
  width:34px;
  height:34px;
  border-radius:50%;
  border:0;
  background:var(--green-800);
  color:#fff;
  font-size:20px;
  cursor:pointer;
}
.featured-prev{left:9px}
.featured-next{right:9px}
.carousel-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:9px;
  display:flex;
  justify-content:center;
  gap:7px;
}
.carousel-dots button{
  width:8px;
  height:8px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#c9d9d2;
  cursor:pointer;
}
.carousel-dots button.active{background:#1cbd67}

/* SECCIONES */
.section{
  padding:30px 0;
}
.section.soft{background:#f8fbf9}
.section-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:15px;
  margin-bottom:18px;
}
.section-title h2{
  font-size:27px;
  color:#153f36;
}
.section-title p{
  color:var(--muted);
  font-size:14px;
}

/* NUEVOS CREADORES */
.new-creators-wrap{
  position:relative;
}
.new-creators-viewport{
  overflow:hidden;
}
.new-creators-track{
  display:flex;
  transition:transform .35s ease;
}
.creator-page{
  flex:0 0 100%;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.creator-card{
  min-height:122px;
  padding:16px;
  border:1px solid var(--line);
  background:#fff;
  border-radius:13px;
  box-shadow:0 3px 12px rgba(0,0,0,.05);
  display:flex;
  align-items:center;
  gap:13px;
  position:relative;
}
.creator-avatar{
  flex:0 0 70px;
  width:70px;
  height:70px;
  border-radius:50%;
  background:linear-gradient(145deg,#dff8e9,#a9e0c7);
  display:grid;
  place-items:center;
  font-size:30px;
  font-weight:800;
  color:#08715f;
  border:3px solid #fff;
  box-shadow:0 2px 8px rgba(0,0,0,.10);
}
.new-tag{
  position:absolute;
  top:9px;
  left:10px;
  background:#20bf68;
  color:#fff;
  font-size:10px;
  font-weight:700;
  border-radius:12px;
  padding:3px 7px;
}
.creator-card strong{
  display:block;
  font-size:16px;
  margin-bottom:4px;
}
.creator-card small{
  color:var(--muted);
  font-size:12px;
}
.creator-nav{
  margin-top:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
}
.creator-nav button{
  border:0;
  background:transparent;
  color:var(--green-800);
  font-size:20px;
  cursor:pointer;
}
.creator-nav .page-dots{
  display:flex;
  gap:7px;
}
.creator-nav .page-dots button{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#c9d9d2;
}
.creator-nav .page-dots button.active{background:#1cbd67}

/* CLASIFICADOS */
.classifieds-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.classified-card{
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 3px 12px rgba(0,0,0,.05);
}
.classified-img{
  height:140px;
  background:linear-gradient(145deg,#cdeedc,#8ac8ad);
  display:grid;
  place-items:center;
  font-size:34px;
  font-weight:800;
  color:#08715f;
  position:relative;
}
.classified-badge{
  position:absolute;
  left:10px;
  bottom:9px;
  background:#20bf68;
  color:#fff;
  border-radius:12px;
  padding:4px 7px;
  font-size:10px;
  font-weight:700;
}
.classified-body{
  padding:13px;
}
.classified-body strong{
  display:block;
  font-size:15px;
  line-height:1.25;
  margin-bottom:7px;
}
.classified-body p{
  color:#51655f;
  font-size:13px;
  line-height:1.4;
}

/* COMO FUNCIONA */
.how-title{
  text-align:center;
  margin-bottom:20px;
}
.how-title h2{font-size:28px}
.how-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.how-card{
  min-height:215px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff;
  padding:22px 16px;
  text-align:center;
  box-shadow:0 3px 12px rgba(0,0,0,.04);
}
.how-icon{
  width:68px;
  height:68px;
  border-radius:50%;
  background:#dcf5e6;
  display:grid;
  place-items:center;
  margin:0 auto 14px;
  font-size:30px;
  color:#08715f;
}
.how-card strong{
  display:block;
  font-size:17px;
  margin-bottom:9px;
}
.how-card p{
  color:#5f706b;
  font-size:13px;
  line-height:1.5;
}

/* PIE */
footer{
  background:linear-gradient(135deg,var(--green-950),var(--green-800));
  color:#fff;
  padding:32px 0 18px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr 1fr;
  gap:28px;
}
.footer-brand .brand-name{font-size:24px}
.footer-col h4{
  margin-bottom:10px;
  font-size:15px;
}
.footer-col ul{list-style:none}
.footer-col li{
  font-size:13px;
  line-height:1.8;
  color:#dcfff1;
}
.copyright{
  margin-top:25px;
  padding-top:15px;
  border-top:1px solid rgba(255,255,255,.18);
  text-align:center;
  font-size:12px;
  color:#d9fff0;
}

/* TABLET */
@media(max-width:900px){
  .creator-page{grid-template-columns:repeat(2,1fr)}
  .classifieds-grid{grid-template-columns:repeat(2,1fr)}
  .how-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}

/* MOVIL */
@media(max-width:600px){
  .container{width:min(100% - 24px,1180px)}

  .header-inner{
    min-height:auto;
    padding:10px 0;
  }
  .brand{gap:9px}
  .brand-mark{
    width:44px;
    height:44px;
    font-size:26px;
  }
  .brand-name{font-size:25px}
  .brand small{font-size:11px}
  .login-btn{
    min-width:108px;
    padding:10px 14px;
    font-size:14px;
  }

  .hero{
    padding:20px 0 14px;
  }
  .hero-title{
    margin-bottom:9px;
  }
  .hero-title h1{
    font-size:36px;
    margin-bottom:5px;
  }
  .hero-title h2{
    font-size:21px;
  }

  .featured-carousel{
    width:calc(100% - 16px);
    margin:0 auto;
    padding:7px 34px 21px;
    border-radius:10px;
  }
  .featured-track{min-height:80px}
  .featured-slide{
    min-height:80px;
    gap:10px;
  }
  .featured-avatar{
    flex-basis:58px;
    width:58px;
    height:58px;
    font-size:24px;
  }
  .featured-badge{
    font-size:9px;
    padding:2px 6px;
    margin-bottom:2px;
  }
  .featured-copy strong{font-size:15px}
  .featured-copy small{
    font-size:10px;
    margin-bottom:3px;
  }
  .featured-copy p{
    font-size:11px;
    line-height:1.25;
  }
  .carousel-arrow{
    width:25px;
    height:25px;
    font-size:14px;
  }
  .featured-prev{left:5px}
  .featured-next{right:5px}
  .carousel-dots{bottom:5px}

  .section{padding:24px 0}
  .section-title{
    align-items:flex-start;
    flex-direction:column;
    gap:5px;
    margin-bottom:15px;
  }
  .section-title h2{font-size:25px}

  .creator-page{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }
  .creator-card{
    min-height:132px;
    padding:18px 10px 12px;
    flex-direction:column;
    justify-content:center;
    text-align:center;
    gap:7px;
  }
  .creator-avatar{
    flex-basis:64px;
    width:64px;
    height:64px;
    font-size:26px;
  }
  .creator-card strong{font-size:14px}
  .creator-card small{font-size:11px}
  .new-tag{
    top:7px;
    left:8px;
  }

  .classifieds-grid{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }
  .classified-img{
    height:105px;
    font-size:26px;
  }
  .classified-body{padding:10px}
  .classified-body strong{font-size:13px}
  .classified-body p{font-size:11px}

  .how-title{margin-bottom:14px}
  .how-title h2{font-size:25px}
  .how-grid{
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }
  .how-card{
    min-height:190px;
    padding:18px 10px;
  }
  .how-icon{
    width:58px;
    height:58px;
    font-size:25px;
    margin-bottom:12px;
  }
  .how-card strong{font-size:14px}
  .how-card p{font-size:11px}

  .footer-grid{grid-template-columns:1fr 1fr;gap:22px}
}

/* AJUSTES DE PROPORCIÓN PARA ESCRITORIO */
@media(min-width:901px){
  .container{
    width:min(1060px,calc(100% - 48px));
  }

  .header-inner{
    min-height:76px;
  }

  .hero{
    padding:28px 0 22px;
  }

  .hero-title{
    margin-bottom:14px;
  }

  .hero-title h1{
    font-size:46px;
  }

  .hero-title h2{
    font-size:25px;
  }

  .featured-carousel{
    width:92%;
    max-width:940px;
    padding:12px 48px 28px;
  }

  .featured-track,
  .featured-slide{
    min-height:102px;
  }

  .featured-avatar{
    flex-basis:76px;
    width:76px;
    height:76px;
    font-size:32px;
  }

  .section{
    padding:26px 0;
  }

  #newCreatorsCarousel{
    width:94%;
    max-width:980px;
    margin:0 auto;
  }

  .creator-page{
    gap:12px;
  }

  .creator-card{
    min-height:136px;
    padding:16px 14px;
  }

  .creator-avatar{
    flex-basis:76px;
    width:76px;
    height:76px;
    font-size:31px;
  }

  .classifieds-grid,
  .how-grid{
    gap:12px;
  }

  .classified-img{
    height:132px;
  }

  .how-card{
    min-height:205px;
    padding:20px 14px;
  }

  footer{
    padding-top:28px;
  }
}

/* CAMBIO 41 - enlaces y fotos reales */
.featured-slide{text-decoration:none;color:inherit}
.creator-card-link{text-decoration:none;color:inherit}
.featured-avatar.real-photo,.creator-avatar.real-photo{background-size:cover;background-position:center;background-repeat:no-repeat;color:transparent}
.creator-empty-home{font-size:11px;color:var(--muted);padding:15px 0}
