/* Carteluz UGC · Editorial V2 · isolated from main CSS */
.ugc{--ugc-cream:#FAF6EE;--ugc-cream2:#F1EAD9;--ugc-ink:#151A12;--ugc-green:#3B7A34;--ugc-lime:#74B84A;--ugc-line:#E4DCC8;font-family:'Montserrat',sans-serif;background:var(--ugc-cream);color:var(--ugc-ink);overflow:hidden;font-weight:400}
.ugc *, .ugc *::before,.ugc *::after{box-sizing:border-box}
.ugc img{display:block;width:100%;height:100%;object-fit:cover}
.ugc h1,.ugc h2,.ugc h3,.ugc p{margin:0;text-transform:none;letter-spacing:normal}
.ugc h1,.ugc h2{font-family:'Montserrat',sans-serif;text-transform:none}
.ugc a{text-decoration:none}
.ugc-container{width:min(1200px,calc(100% - 76px));margin-inline:auto}
.ugc-section{padding:110px 0}
.ugc-kicker,.ugc-index,.ugc-overline{font-size:11px;line-height:1.5;letter-spacing:.07em;font-weight:600;color:var(--ugc-green);text-transform:none}
.ugc-index{color:#75816f}
.ugc-section-header{display:flex;justify-content:space-between;gap:18px;align-items:center;padding-bottom:18px;border-bottom:1px solid var(--ugc-line);margin-bottom:48px}
.ugc-h2{font-weight:650;font-size:clamp(38px,4.75vw,66px);line-height:1.14;letter-spacing:-.058em!important;max-width:780px}
.ugc-h2 em{font-weight:400;font-style:italic;color:var(--ugc-green)}
.ugc p{font-size:15px;line-height:1.85;color:#596151}
.ugc-heading-row{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(260px,.72fr);gap:56px;align-items:end;margin-bottom:42px}
.ugc-heading-row p{max-width:385px}
.ugc-btn{min-height:49px;display:inline-flex;align-items:center;justify-content:space-between;gap:36px;padding:14px 20px;border-radius:5px;border:1px solid transparent;font:600 13px 'Montserrat',sans-serif;transition:background .25s,transform .25s,color .25s;cursor:pointer;text-align:left}
.ugc-btn:hover{transform:translateY(-2px)}
.ugc-btn-primary{background:var(--ugc-green);color:white!important}
.ugc-btn-primary:hover{background:#295a26}
.ugc-btn-outline{border-color:#a9b5a6;color:var(--ugc-ink)!important;background:transparent}
.ugc-btn-outline:hover{background:rgba(59,122,52,.06)}
.ugc-hero{position:relative;padding-top:84px;background:var(--ugc-cream);border-bottom:1px solid var(--ugc-line)}
.ugc-hero-inner{display:grid;grid-template-columns:1.08fr .92fr;gap:66px;align-items:center;padding-bottom:70px}
.ugc-overline{display:inline-flex;align-items:center;gap:9px}
.ugc-dot{width:6px;height:6px;background:var(--ugc-green);border-radius:50%}
.ugc-hero h1{max-width:730px;font-size:clamp(50px,6.3vw,90px);letter-spacing:-.073em;line-height:1.075;font-weight:650;margin:27px 0 30px}
.ugc-hero h1 .ugc-soft{font-weight:400}
.ugc-hero h1 em{font-weight:450;font-style:italic;color:var(--ugc-green)}
.ugc-lede{max-width:520px!important;font-size:16px!important;line-height:1.8!important}
.ugc-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:35px}
.ugc-hero-foot{display:flex;flex-wrap:wrap;gap:12px 25px;font-size:10px;color:#7a8073;margin-top:72px}
.ugc-hero-gallery{position:relative;min-height:560px;display:flex;align-items:center;justify-content:flex-end}
.ugc-photo{overflow:hidden;position:relative;background:#d7ddce;border-radius:4px}
.ugc-photo img{transition:transform .8s cubic-bezier(.2,.65,.2,1)}
.ugc-photo:hover img{transform:scale(1.04)}
.ugc-photo-main{width:82%;height:505px;box-shadow:0 27px 50px rgba(35,49,30,.12)}
.ugc-photo-main::after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.34));pointer-events:none}
.ugc-image-caption{position:absolute;bottom:18px;left:20px;color:#fff;font-size:11px;z-index:1}
.ugc-photo-small{position:absolute;width:42%;height:246px;bottom:-26px;left:0;border:8px solid var(--ugc-cream);z-index:2}
.ugc-float-note{position:absolute;top:18px;left:0;background:#e5ecd9;color:var(--ugc-ink);width:170px;padding:20px;display:flex;gap:15px;align-items:start;z-index:3;box-shadow:0 12px 35px rgba(0,0,0,.07);font-size:13px;line-height:1.55}
.ugc-float-symbol{font-size:23px;color:var(--ugc-green);line-height:1}
.ugc-hero-bottomline{border-top:1px solid var(--ugc-line);display:flex;justify-content:space-between;padding:15px max(38px,calc((100% - 1200px)/2));gap:20px;font-size:11px;color:#687564}
.ugc-intro{background:#fffdf8}
.ugc-intro-grid{display:grid;grid-template-columns:.36fr 1fr;gap:75px;align-items:start}
.ugc-intro-label{display:flex;flex-direction:column;gap:8px}
.ugc-intro .ugc-h2{max-width:820px}
.ugc-intro p{max-width:690px;margin-top:25px}
.ugc-brands{background:var(--ugc-cream)}
.ugc-offerings{display:grid;grid-template-columns:1.2fr .83fr .83fr;gap:17px}
.ugc-offer{min-width:0;background:#fffdf8;border:1px solid var(--ugc-line);border-radius:5px;overflow:hidden}
.ugc-offer-image{height:300px;overflow:hidden;background:#e0e5da}
.ugc-offer-feature .ugc-offer-image{height:367px}
.ugc-offer-image img{transition:transform .7s}
.ugc-offer:hover img{transform:scale(1.055)}
.ugc-offer-content{padding:23px 23px 28px}
.ugc-offer-content span{font-size:10px;font-weight:600;color:var(--ugc-green)}
.ugc-offer h3{font-size:21px;font-weight:650;letter-spacing:-.035em;margin:15px 0 9px}
.ugc-offer p{font-size:12px;line-height:1.7}
.ugc-how{background:#e8eddf}
.ugc-how-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}
.ugc-how .ugc-h2{font-size:clamp(36px,4.3vw,62px);margin:20px 0 35px}
.ugc-text-link{display:inline-flex;gap:38px;border-bottom:1px solid var(--ugc-green);padding-bottom:10px;font-size:13px;font-weight:650;color:var(--ugc-green)}
.ugc-how-list{border-top:1px solid #b8c8b1}
.ugc-how-list>div{display:grid;grid-template-columns:55px 1fr;padding:26px 0;gap:12px;border-bottom:1px solid #b8c8b1}
.ugc-how-list>div>span{font-size:12px;color:var(--ugc-green);font-weight:600}
.ugc-how-list h3{font-size:20px;font-weight:600;margin-bottom:8px;letter-spacing:-.02em}
.ugc-how-list p{font-size:13px}
.ugc-work{background:#162016;color:#f4f2ea}
.ugc-work .ugc-kicker,.ugc-work .ugc-index{color:#b5d6a6}
.ugc-work .ugc-section-header{border-color:#3c5039}
.ugc-work .ugc-h2 em{color:#9ace85}
.ugc-work p{color:#b9c3b2}
.ugc-work-stage{display:grid;grid-template-columns:1.32fr .68fr;margin-top:15px;border:1px solid #42503f;min-height:410px}
.ugc-work-stage-design{position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:410px;padding:32px;background:radial-gradient(circle at 58% 40%,#365e35 0%,#213d23 32%,#172819 72%);overflow:hidden}
.ugc-work-stage-design::before,.ugc-work-stage-design::after{content:"";position:absolute;width:270px;height:420px;border:1px solid #87b77a55;border-radius:150px;transform:rotate(-34deg);left:34%;top:0;pointer-events:none}
.ugc-work-stage-design::after{left:45%;top:20%;height:480px}
.ugc-stage-vertical,.ugc-stage-title{z-index:1;font-size:12px;color:#d4e0d0}
.ugc-stage-title{font-size:clamp(27px,3.3vw,46px);line-height:1.2;max-width:470px;font-weight:500;letter-spacing:-.045em}
.ugc-stage-play{z-index:1;align-self:center;display:grid;place-items:center;border:1px solid #cbdcca66;border-radius:100%;width:76px;height:76px;color:#d9e9d3;font-size:19px}
.ugc-work-aside{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:35px;background:#202d20}
.ugc-tag{border:1px solid #658261;padding:7px 10px;border-radius:3px;font-size:10px;color:#bfd5b7}
.ugc-work-aside h3{font-size:28px;line-height:1.3;font-weight:550;letter-spacing:-.04em;margin:26px 0 15px}
.ugc-fine{font-size:11px;color:#92a48b;margin-top:28px}
.ugc-plans{background:#fffdf8}
.ugc-plan-list{border-top:1px solid var(--ugc-line)}
.ugc-plan{display:grid;grid-template-columns:65px 1fr 115px 50px;gap:18px;align-items:center;padding:26px 8px;border-bottom:1px solid var(--ugc-line);transition:background .2s}
.ugc-plan:hover{background:#f5f6ee}
.ugc-plan-no{font-size:12px;color:var(--ugc-green)}
.ugc-plan h3{font-size:28px;font-weight:600;letter-spacing:-.035em;margin-bottom:4px}
.ugc-plan p{font-size:12px}
.ugc-plan-status{font-size:11px;color:#617258}
.ugc-plan>a{border:1px solid var(--ugc-line);height:40px;width:40px;display:grid;place-items:center;border-radius:50%;color:var(--ugc-green);font-size:20px;transition:.2s}
.ugc-plan>a:hover{background:var(--ugc-green);color:white}
.ugc-catalog{background:#f1ead9}
.ugc-catalog-grid{display:grid;grid-template-columns:1fr .9fr;gap:80px;align-items:center}
.ugc-catalog h2{margin:23px 0 20px}
.ugc-catalog p{margin-bottom:30px;max-width:510px}
.ugc-catalog-art{padding:35px;background:#dce3d2;aspect-ratio:1.12;border-radius:6px}
.ugc-catalog-frame{height:100%;border:1px solid #a9bca4;display:flex;flex-direction:column;justify-content:space-between;padding:24px;color:var(--ugc-green)}
.ugc-catalog-frame>span{font-size:11px}
.ugc-catalog-monogram{font-size:clamp(90px,13vw,170px);font-weight:700;letter-spacing:-.12em;line-height:1;text-align:center}
.ugc-catalog-monogram span{font-size:.28em;vertical-align:top;letter-spacing:0}
.ugc-join{background:#fffdf8}
.ugc-join-grid{display:grid;grid-template-columns:.83fr 1.17fr;gap:90px;align-items:center}
.ugc-join-visual{height:610px;position:relative;background:#d6dccf}
.ugc-join-visual img{filter:saturate(.75)}
.ugc-photo-note{position:absolute;bottom:24px;left:24px;color:white;background:#253924bd;padding:12px 16px;font-size:12px}
.ugc-join-copy .ugc-h2{margin-bottom:26px}
.ugc-join-copy p{margin-bottom:16px}
.ugc-join-steps{margin:28px 0 30px;border-top:1px solid var(--ugc-line)}
.ugc-join-steps div{display:flex;gap:24px;border-bottom:1px solid var(--ugc-line);padding:15px 0;font-size:13px}
.ugc-join-steps span{font-size:11px;color:var(--ugc-green)}
.ugc-join-copy small{display:block;font-size:11px;color:#65715e;margin-top:15px}
.ugc-contact{background:var(--ugc-cream2)}
.ugc-contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:75px;align-items:start}
.ugc-contact-intro .ugc-h2{margin:24px 0}
.ugc-contact-mark{display:block;margin-top:80px;font-size:13px;font-weight:600;color:var(--ugc-green)}
.ugc-form-card{background:#fffdf8;border:1px solid #ddd9c9;border-radius:7px;padding:34px;box-shadow:0 18px 54px rgba(32,50,29,.035)}
.ugc-form-switch{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#edf0e7;gap:4px;border-radius:5px;margin-bottom:28px}
.ugc-form-switch button{font:600 12px 'Montserrat',sans-serif;border:none;border-radius:4px;background:transparent;padding:14px 7px;color:#62725d;cursor:pointer}
.ugc-form-switch button.is-active{background:#fff;color:var(--ugc-green);box-shadow:0 2px 12px #1b3d1b15}
.ugc-form-pane[hidden]{display:none!important}
.ugc-form-pane h3{font-size:26px;font-weight:600;letter-spacing:-.04em;margin-bottom:8px}
.ugc-form-pane>p{font-size:13px;margin-bottom:28px}
.ugc-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.ugc-demo-form label{display:block;font-size:11px;font-weight:600;margin-bottom:19px;color:#465442}
.ugc-demo-form input,.ugc-demo-form select,.ugc-demo-form textarea{width:100%;display:block;margin-top:8px;padding:13px 12px;border-radius:4px;border:1px solid #d6dccc;background:#fff;color:var(--ugc-ink);font:400 12px 'Montserrat',sans-serif;min-width:0}
.ugc-demo-form input:focus,.ugc-demo-form select:focus,.ugc-demo-form textarea:focus{outline:2px solid #74b84a88;outline-offset:1px}
.ugc-demo-form textarea{resize:vertical}
.ugc-form-disclaimer{font-size:10px!important;line-height:1.6!important;margin-top:19px!important;color:#82907d!important}
.ugc-form-feedback{font-size:12px!important;color:var(--ugc-green)!important;min-height:19px}
.ugc-outro{background:#152015;color:white;padding:60px 0}
.ugc-outro .ugc-container{display:flex;justify-content:space-between;gap:24px;align-items:center}
.ugc-outro span,.ugc-outro a{color:#a7c89f;font-size:12px}
.ugc-outro p{color:#f6f2e9;font-size:clamp(20px,2.5vw,32px);font-weight:550;letter-spacing:-.05em!important;line-height:1.3}
.ugc-outro em{font-weight:400;color:#a7c89f}
@media(max-width:1000px){.ugc-hero-inner{gap:30px}.ugc-hero h1{font-size:clamp(46px,6vw,68px)}.ugc-photo-main{height:450px}.ugc-hero-gallery{min-height:490px}.ugc-how-grid,.ugc-catalog-grid,.ugc-contact-grid{gap:40px}.ugc-join-grid{gap:45px}.ugc-join-visual{height:540px}}
@media(max-width:760px){.ugc-container{width:calc(100% - 40px)}.ugc-section{padding:74px 0}.ugc-hero{padding-top:40px}.ugc-hero-inner,.ugc-intro-grid,.ugc-heading-row,.ugc-how-grid,.ugc-catalog-grid,.ugc-join-grid,.ugc-contact-grid{grid-template-columns:1fr;gap:28px}.ugc-hero-inner{padding-bottom:48px}.ugc-hero h1{font-size:clamp(45px,9vw,67px)}.ugc-hero-foot{margin-top:35px}.ugc-hero-gallery{min-height:410px;margin:15px 0 15px}.ugc-photo-main{height:390px;width:78%}.ugc-photo-small{height:185px}.ugc-float-note{top:2px}.ugc-hero-bottomline{padding:15px 20px}.ugc-h2{font-size:clamp(37px,7.6vw,53px)}.ugc-section-header{margin-bottom:30px}.ugc-offerings{grid-template-columns:1fr 1fr}.ugc-offer-feature{grid-column:span 2}.ugc-offer-feature .ugc-offer-image{height:310px}.ugc-offer-image{height:220px}.ugc-how-grid{gap:45px}.ugc-work-stage{grid-template-columns:1fr}.ugc-work-stage-design{min-height:350px}.ugc-work-aside{padding:32px}.ugc-catalog-art{max-width:520px;width:100%}.ugc-join-visual{height:400px;max-width:500px}.ugc-contact-mark{margin-top:28px}.ugc-outro .ugc-container{flex-wrap:wrap}}
@media(max-width:480px){.ugc-container{width:calc(100% - 34px)}.ugc-hero h1{font-size:44px;letter-spacing:-.065em}.ugc-hero-actions{flex-direction:column}.ugc-hero-actions .ugc-btn{width:100%}.ugc-hero-gallery{min-height:335px}.ugc-photo-main{height:330px}.ugc-photo-small{height:143px}.ugc-float-note{width:138px;font-size:10px;padding:13px}.ugc-hero-bottomline{font-size:9px}.ugc-h2{font-size:37px}.ugc-offerings{grid-template-columns:1fr}.ugc-offer-feature{grid-column:auto}.ugc-offer-image,.ugc-offer-feature .ugc-offer-image{height:270px}.ugc-plan{grid-template-columns:30px 1fr 40px;gap:11px}.ugc-plan-status{grid-column:2;grid-row:2}.ugc-plan a{grid-column:3;grid-row:1/span 2}.ugc-plan h3{font-size:23px}.ugc-fields{grid-template-columns:1fr}.ugc-form-card{padding:20px}.ugc-form-switch button{font-size:11px}.ugc-outro{padding:45px 0}}
@media(prefers-reduced-motion:reduce){.ugc *, .ugc *::before,.ugc *::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* =========================================================
   HERO V3 · Adaptado a referencia Carteluz UGC
   ========================================================= */
.ugc-hero-ref{
  position:relative;
  min-height:720px;
  display:flex;
  align-items:stretch;
  overflow:hidden;
  background:#111611;
  color:#fff;
}

.ugc-hero-ref__bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(8,12,8,.78) 0%, rgba(8,12,8,.52) 36%, rgba(8,12,8,.22) 62%, rgba(8,12,8,.28) 100%),
    url('/assets/img/ugc-hero-main.jpg') center center / cover no-repeat;
  transform:scale(1.02);
}

.ugc-hero-ref__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 30%, rgba(126,211,33,.10), transparent 28%),
    linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.18));
}

.ugc-hero-ref__inner{
  position:relative;
  z-index:2;
  width:min(1180px,90%);
  margin:auto;
  padding:120px 0 128px;
  display:flex;
  align-items:center;
  min-height:720px;
}

.ugc-hero-ref__content{
  max-width:560px;
}

.ugc-hero-ref__eyebrow{
  display:inline-block;
  margin-bottom:20px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.04em;
  color:#d8e6d3;
}

.ugc-hero-ref h1{
  margin:0 0 22px;
  font-family:'Montserrat',sans-serif;
  font-size:clamp(42px,5.2vw,72px);
  line-height:.98;
  letter-spacing:-.04em;
  font-weight:800;
  text-transform:none !important;
  color:#fff;
}

.ugc-hero-ref h1 span{
  color:#74B84A;
  font-style:normal;
}

.ugc-hero-ref__subtitle{
  margin:0 0 30px;
  max-width:470px;
  font-size:17px;
  line-height:1.58;
  font-weight:400;
  color:rgba(255,255,255,.88);
}

.ugc-hero-ref__actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.ugc-hero-ref .ugc-button{
  min-height:52px;
  padding:14px 22px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  letter-spacing:0;
  text-transform:none;
  box-shadow:none;
}

.ugc-hero-ref .ugc-button.primary{
  background:#74B84A;
  color:#0d140d;
  border:1px solid #74B84A;
}

.ugc-hero-ref .ugc-button.primary:hover{
  background:#86cb59;
  border-color:#86cb59;
}

.ugc-hero-ref .ugc-button.ghost{
  background:rgba(8,12,8,.22);
  color:#fff;
  border:1px solid rgba(255,255,255,.38);
  backdrop-filter:blur(8px);
}

.ugc-hero-ref .ugc-button.ghost:hover{
  background:rgba(8,12,8,.35);
}

.ugc-hero-ref__brands{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:3;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(24,40,22,.64);
  backdrop-filter:blur(10px);
}

.ugc-hero-ref__brands-track{
  display:flex;
  align-items:center;
  gap:42px;
  width:max-content;
  padding:18px 28px;
  animation:ugcHeroMarquee 24s linear infinite;
}

.ugc-brand-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  font-size:15px;
  font-weight:500;
  color:#fff;
  opacity:.96;
}

.ugc-brand-chip svg{
  width:22px;
  height:22px;
  flex:0 0 22px;
  color:#fff;
}

@keyframes ugcHeroMarquee{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

@media (max-width: 900px){
  .ugc-hero-ref{
    min-height:auto;
  }

  .ugc-hero-ref__inner{
    min-height:auto;
    padding:96px 0 110px;
  }

  .ugc-hero-ref__content{
    max-width:100%;
  }

  .ugc-hero-ref h1{
    font-size:clamp(34px,8vw,52px);
  }

  .ugc-hero-ref__subtitle{
    font-size:15px;
    max-width:100%;
  }

  .ugc-brand-chip{
    font-size:14px;
  }
}

@media (max-width: 640px){
  .ugc-hero-ref__bg{
    background:
      linear-gradient(180deg, rgba(8,12,8,.70) 0%, rgba(8,12,8,.52) 40%, rgba(8,12,8,.58) 100%),
      url('/assets/img/ugc-hero-main.jpg') 68% center / cover no-repeat;
  }

  .ugc-hero-ref__inner{
    padding:86px 0 100px;
  }

  .ugc-hero-ref__actions{
    flex-direction:column;
    align-items:stretch;
  }

  .ugc-hero-ref .ugc-button{
    width:100%;
  }

  .ugc-hero-ref__brands-track{
    gap:28px;
    padding:14px 20px;
    animation-duration:20s;
  }

  .ugc-brand-chip svg{
    width:20px;
    height:20px;
    flex-basis:20px;
  }

  .ugc-brand-chip{
    font-size:13px;
  }
}

@media (prefers-reduced-motion: reduce){
  .ugc-hero-ref__brands-track{
    animation:none !important;
  }
}

/* =========================================================
   HERO V4 · fix de alto, fondo e iconos
   ========================================================= */
:root{
  --ugc-nav-height: 72px;
  --ugc-brands-height: 62px;
}

.ugc-hero-ref{
  position: relative;
  min-height: calc(100svh - var(--ugc-nav-height));
  background: #111611;
  color: #fff;
  overflow: hidden;
}

.ugc-hero-ref__bg{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,12,8,.82) 0%, rgba(8,12,8,.58) 38%, rgba(8,12,8,.28) 60%, rgba(8,12,8,.18) 100%),
    url('/assets/img/ugc-hero-main.svg') center center / cover no-repeat;
  transform: scale(1.01);
}

.ugc-hero-ref__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 76% 28%, rgba(116,184,74,.12), transparent 24%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.12));
}

.ugc-hero-ref__inner{
  position: relative;
  z-index: 2;
  min-height: calc(100svh - var(--ugc-nav-height));
  display: flex;
  align-items: center;
  padding: 28px 0 calc(var(--ugc-brands-height) + 26px);
}

.ugc-hero-ref__content{
  max-width: 560px;
}

.ugc-hero-ref__eyebrow{
  display:inline-block;
  margin-bottom:16px;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  color:#F3EEE0;
}

.ugc-hero-ref h1{
  margin:0 0 18px;
  font-family:'Montserrat',sans-serif;
  font-size: clamp(42px, 5.3vw, 78px);
  line-height: .96;
  letter-spacing: -.045em;
  font-weight: 800;
  text-transform: none !important;
  color:#fff;
}

.ugc-hero-ref h1 span{
  color:#74B84A;
}

.ugc-hero-ref__subtitle{
  margin:0 0 26px;
  max-width:470px;
  font-size:17px;
  line-height:1.58;
  color:rgba(255,255,255,.9);
}

.ugc-hero-ref__actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.ugc-hero-ref .ugc-button{
  min-height:50px;
  padding:14px 22px;
  border-radius:10px;
  font-size:13px;
  font-weight:700;
  letter-spacing:0;
  text-transform:none;
  box-shadow:none;
}

.ugc-hero-ref .ugc-button.primary{
  background:#74B84A;
  color:#0F170E;
  border:1px solid #74B84A;
}

.ugc-hero-ref .ugc-button.primary:hover{
  background:#85CB58;
  border-color:#85CB58;
}

.ugc-hero-ref .ugc-button.ghost{
  background:rgba(8,12,8,.16);
  color:#fff;
  border:1px solid rgba(255,255,255,.36);
  backdrop-filter:blur(8px);
}

.ugc-hero-ref .ugc-button.ghost:hover{
  background:rgba(8,12,8,.28);
}

.ugc-hero-ref__brands{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:3;
  height: var(--ugc-brands-height);
  display:flex;
  align-items:center;
  overflow:hidden;
  background: rgba(24,40,22,.72);
  border-top:1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
}

.ugc-hero-ref__marquee{
  width:100%;
  overflow:hidden;
}

.ugc-hero-ref__track{
  display:flex;
  width:max-content;
  align-items:center;
  will-change:transform;
  animation: ugcMarquee 18s linear infinite;
}

.ugc-hero-ref__group{
  display:flex;
  align-items:center;
  gap:44px;
  padding:0 28px;
  flex-shrink:0;
  min-width:max-content;
}

.ugc-brand-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
  color:#fff;
  font-size:15px;
  font-weight:500;
  line-height:1;
}

.ugc-brand-chip i{
  font-size:18px;
  line-height:1;
}

@keyframes ugcMarquee{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

@media (max-width: 920px){
  :root{
    --ugc-nav-height: 68px;
    --ugc-brands-height: 58px;
  }

  .ugc-hero-ref h1{
    font-size: clamp(36px, 7vw, 58px);
  }

  .ugc-hero-ref__subtitle{
    font-size:15px;
    max-width:100%;
  }

  .ugc-brand-chip{
    font-size:14px;
  }

  .ugc-brand-chip i{
    font-size:17px;
  }
}

@media (max-width: 640px){
  :root{
    --ugc-nav-height: 64px;
    --ugc-brands-height: 54px;
  }

  .ugc-hero-ref__bg{
    background:
      linear-gradient(180deg, rgba(8,12,8,.72) 0%, rgba(8,12,8,.52) 40%, rgba(8,12,8,.48) 100%),
      url('/assets/img/ugc-hero-main.svg') 72% center / cover no-repeat;
  }

  .ugc-hero-ref__inner{
    align-items:flex-start;
    padding: 26px 0 calc(var(--ugc-brands-height) + 20px);
  }

  .ugc-hero-ref__actions{
    flex-direction:column;
    align-items:stretch;
  }

  .ugc-hero-ref .ugc-button{
    width:100%;
  }

  .ugc-hero-ref__group{
    gap:28px;
    padding:0 20px;
  }

  .ugc-brand-chip{
    font-size:13px;
  }

  .ugc-brand-chip i{
    font-size:16px;
  }
}

@media (prefers-reduced-motion: reduce){
  .ugc-hero-ref__track{
    animation:none !important;
  }
}

/* Carrusel UGC continuo: sin huecos ni saltos */
.ugc-hero-ref__marquee {
  width: 100%;
  overflow: hidden;
}

.ugc-hero-ref__track {
  display: flex;
  width: max-content;
  min-width: 100%;
  align-items: center;
  animation: ugcInfiniteLoop var(--ugc-loop-duration, 16s) linear infinite !important;
}

.ugc-hero-ref__group {
  flex: 0 0 auto;
  width: max-content;
}

@keyframes ugcInfiniteLoop {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(calc(-1 * var(--ugc-loop-distance, 700px)),0,0); }
}

@media (prefers-reduced-motion: reduce) {
  .ugc-hero-ref__track {
    animation: none !important;
  }
}

/* Ajuste fino: subir contenido del hero */
.ugc-hero-ref__content {
  transform: translateY(-35px);
}

@media (max-width: 640px) {
  .ugc-hero-ref__content {
    transform: translateY(-15px);
  }
}


/* UGC HERO — TITULAR EDITORIAL V5 */

.ugc-hero-ref__content {
  max-width: 100%;
  width: 100%;
}

.ugc-hero-title {
  width: 100%;
  max-width: 1220px;
  margin-bottom: 24px !important;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(30px, 3.75vw, 60px) !important;
  line-height: 1.15 !important;
  letter-spacing: -.048em;
  text-transform: none !important;
}

.ugc-title-line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  opacity: 0;
  animation: ugcTitleReveal .9s cubic-bezier(.2,.8,.2,1) forwards;
}

.ugc-title-line-1 {
  animation-delay: .12s;
}

.ugc-title-line-2 {
  animation-delay: .38s;
}

.ugc-title-medium {
  font-weight: 500;
  color: #fff;
}

.ugc-title-italic {
  font-weight: 400;
  font-style: italic;
  color: #fff;
  margin-left: .12em;
}

.ugc-hero-title .ugc-title-highlight {
  font-weight: 800;
  font-style: normal;
  color: #74B84A;
}

@keyframes ugcTitleReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 760px) {
  .ugc-hero-title {
    font-size: clamp(32px, 7vw, 49px) !important;
  }

  .ugc-title-line {
    width: auto;
    white-space: normal;
  }

  .ugc-title-italic {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ugc-title-line {
    animation: none !important;
    opacity: 1;
    filter: none;
    transform: none;
  }
}


/* UGC HERO FIX V6 — composición de referencia */
.ugc-hero-ref__bg {
  background-image: linear-gradient(90deg, rgba(8,15,9,.40),rgba(8,15,9,.04) 70%), url('/ugc/ugc-hero-photo.jpg?v=6') !important;
  background-size: cover !important;
  background-position: center !important;
}
.ugc-hero-ref__overlay {
  background: linear-gradient(90deg,rgba(9,16,10,.48),transparent 68%) !important;
}
.ugc-hero-ref__content { width:100% !important; max-width:none !important; transform:translateY(-18px); }
.ugc-hero-ref .ugc-hero-title {
  font-family:'Montserrat',sans-serif !important;
  font-size:clamp(30px,3.20vw,53px) !important;
  line-height:1.16 !important;
  letter-spacing:-.047em !important;
  font-weight:400 !important;
  max-width:1250px !important;
  width:100% !important;
  margin:0 0 20px !important;
}
.ugc-hero-ref .ugc-title-line { display:block; width:100%; max-width:100%; white-space:nowrap; }
.ugc-hero-ref .ugc-title-medium { font-style:normal !important; font-weight:600 !important; color:#fff !important; -webkit-text-fill-color:#fff !important; }
.ugc-hero-ref .ugc-title-italic { font-style:italic !important; font-weight:400 !important; color:#fff !important; -webkit-text-fill-color:#fff !important; margin-left:.10em; }
.ugc-hero-ref .ugc-title-highlight { font-style:normal !important; font-weight:750 !important; color:#74B84A !important; -webkit-text-fill-color:#74B84A !important; }
.ugc-hero-ref__subtitle { color:rgba(255,255,255,.95) !important; max-width:470px !important; margin-bottom:23px !important; }
.ugc-hero-ref__inner { box-sizing:border-box; }
@media(max-width:1100px) {
  .ugc-hero-ref .ugc-hero-title { font-size:clamp(30px,3.8vw,44px) !important; }
}
@media(max-width:760px) {
  .ugc-hero-ref__bg { background-position:62% center !important; }
  .ugc-hero-ref .ugc-title-line { white-space:normal; }
  .ugc-hero-ref .ugc-hero-title { font-size:clamp(32px,7.2vw,48px) !important; }
  .ugc-hero-ref__content { transform:translateY(-8px); }
}
@media(prefers-reduced-motion:reduce) {
  .ugc-hero-ref .ugc-title-line { animation:none !important; opacity:1 !important; transform:none !important; filter:none !important; }
}

/* =========================================================
   LENS FLARE · barra inferior del hero
   ========================================================= */
.ugc-hero-ref__brands{
  position: absolute;
  overflow: hidden;
}

.ugc-hero-ref__brands::before{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:220px;
  height:220px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:
    radial-gradient(circle,
      rgba(173,255,117,.42) 0%,
      rgba(173,255,117,.18) 22%,
      rgba(173,255,117,.08) 42%,
      rgba(173,255,117,0) 72%);
  filter: blur(12px);
  opacity:.95;
  pointer-events:none;
  animation: ugcLensPulse 4.8s ease-in-out infinite;
  z-index:1;
}

.ugc-hero-ref__brands::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:420px;
  height:2px;
  transform:translate(-50%,-50%);
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(189,255,150,.35) 20%,
    rgba(255,255,255,.95) 50%,
    rgba(189,255,150,.35) 80%,
    rgba(255,255,255,0) 100%);
  box-shadow:
    0 0 10px rgba(173,255,117,.55),
    0 0 22px rgba(173,255,117,.28),
    0 0 36px rgba(255,255,255,.22);
  opacity:.92;
  pointer-events:none;
  animation: ugcLensPulseLine 4.8s ease-in-out infinite;
  z-index:1;
}

.ugc-hero-ref__marquee,
.ugc-hero-ref__track,
.ugc-hero-ref__group{
  position:relative;
  z-index:2;
}

@keyframes ugcLensPulse{
  0%,100%{
    opacity:.72;
    transform:translate(-50%,-50%) scale(.94);
  }
  50%{
    opacity:1;
    transform:translate(-50%,-50%) scale(1.08);
  }
}

@keyframes ugcLensPulseLine{
  0%,100%{
    opacity:.75;
    width:380px;
  }
  50%{
    opacity:1;
    width:470px;
  }
}

@media (max-width: 640px){
  .ugc-hero-ref__brands::before{
    width:160px;
    height:160px;
  }

  .ugc-hero-ref__brands::after{
    width:260px;
  }
}

@media (prefers-reduced-motion: reduce){
  .ugc-hero-ref__brands::before,
  .ugc-hero-ref__brands::after{
    animation:none !important;
  }
}

/* =========================================================
   HERO V6.1 · ajuste fino de composición
   - texto más arriba y más a la izquierda
   - menos invasión sobre la imagen
   - lens flare reposicionado y más sutil
   ========================================================= */

/* ---- bloque de contenido ---- */
.ugc-hero-ref__inner{
  align-items: center;
}

.ugc-hero-ref__content{
  max-width: 520px !important;
  width: 520px !important;
  transform: translate(-34px, -42px) !important;
}

.ugc-hero-title{
  max-width: 760px !important;
  margin-bottom: 18px !important;
}

.ugc-hero-ref h1,
.ugc-hero-title{
  text-wrap: balance;
}

.ugc-title-line-1{
  max-width: 100%;
}

.ugc-hero-ref__subtitle{
  max-width: 430px !important;
  margin: 0 0 24px !important;
}

.ugc-hero-ref__actions{
  margin-top: 2px;
}

/* ---- flare inferior: más premium y fuera del centro exacto ---- */
.ugc-hero-ref__brands{
  overflow: hidden;
}

.ugc-hero-ref__brands::before{
  left: 43% !important;
  top: 50% !important;
  width: 150px !important;
  height: 150px !important;
  opacity: .78 !important;
  filter: blur(14px) !important;
  background:
    radial-gradient(circle,
      rgba(195,255,150,.34) 0%,
      rgba(173,255,117,.18) 26%,
      rgba(173,255,117,.08) 48%,
      rgba(173,255,117,0) 74%) !important;
  animation: ugcLensPulseRefined 5.6s ease-in-out infinite !important;
}

.ugc-hero-ref__brands::after{
  left: 43% !important;
  top: 50% !important;
  width: 300px !important;
  height: 2px !important;
  opacity: .74 !important;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(160,255,110,.16) 18%,
    rgba(255,255,255,.88) 50%,
    rgba(160,255,110,.16) 82%,
    rgba(255,255,255,0) 100%) !important;
  box-shadow:
    0 0 8px rgba(173,255,117,.24),
    0 0 16px rgba(173,255,117,.14),
    0 0 28px rgba(255,255,255,.10) !important;
  animation: ugcLensPulseLineRefined 5.6s ease-in-out infinite !important;
}

@keyframes ugcLensPulseRefined{
  0%,100%{
    opacity:.60;
    transform:translate(-50%,-50%) scale(.96);
  }
  50%{
    opacity:.82;
    transform:translate(-50%,-50%) scale(1.03);
  }
}

@keyframes ugcLensPulseLineRefined{
  0%,100%{
    opacity:.58;
    width:260px;
  }
  50%{
    opacity:.82;
    width:330px;
  }
}

/* ---- responsive ---- */
@media (max-width: 1200px){
  .ugc-hero-ref__content{
    transform: translate(-18px, -28px) !important;
    max-width: 500px !important;
    width: 500px !important;
  }

  .ugc-hero-ref__brands::before,
  .ugc-hero-ref__brands::after{
    left: 41% !important;
  }
}

@media (max-width: 900px){
  .ugc-hero-ref__content{
    width: 100% !important;
    max-width: 100% !important;
    transform: translate(0, -18px) !important;
  }

  .ugc-hero-ref__subtitle{
    max-width: 100% !important;
  }

  .ugc-hero-ref__brands::before,
  .ugc-hero-ref__brands::after{
    left: 38% !important;
  }
}

@media (max-width: 640px){
  .ugc-hero-ref__content{
    transform: translate(0, -8px) !important;
  }

  .ugc-hero-ref__brands::before{
    width: 110px !important;
    height: 110px !important;
    left: 36% !important;
  }

  .ugc-hero-ref__brands::after{
    width: 210px !important;
    left: 36% !important;
  }
}

/* =========================================================
   FLARE REPOSICIONADO · borde superior de la barra
   ========================================================= */
.ugc-hero-ref__brands::before{
  left: 43% !important;
  top: 0 !important;
  width: 170px !important;
  height: 70px !important;
  transform: translate(-50%, -42%) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(ellipse at center,
      rgba(210,255,178,.42) 0%,
      rgba(173,255,117,.20) 28%,
      rgba(173,255,117,.08) 52%,
      rgba(173,255,117,0) 78%) !important;
  filter: blur(10px) !important;
  opacity: .85 !important;
  animation: ugcEdgeGlow 4.8s ease-in-out infinite !important;
}

.ugc-hero-ref__brands::after{
  left: 43% !important;
  top: 0 !important;
  width: 320px !important;
  height: 2px !important;
  transform: translate(-50%, -50%) !important;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(180,255,135,.18) 18%,
    rgba(255,255,255,.95) 50%,
    rgba(180,255,135,.18) 82%,
    rgba(255,255,255,0) 100%) !important;
  box-shadow:
    0 0 8px rgba(173,255,117,.20),
    0 0 16px rgba(173,255,117,.12),
    0 0 24px rgba(255,255,255,.08) !important;
  opacity: .88 !important;
  animation: ugcEdgeLine 4.8s ease-in-out infinite !important;
}

@keyframes ugcEdgeGlow{
  0%,100%{
    opacity:.62;
    transform:translate(-50%, -42%) scale(.96);
  }
  50%{
    opacity:.88;
    transform:translate(-50%, -42%) scale(1.04);
  }
}

@keyframes ugcEdgeLine{
  0%,100%{
    opacity:.70;
    width:280px;
  }
  50%{
    opacity:.95;
    width:350px;
  }
}

@media (max-width: 900px){
  .ugc-hero-ref__brands::before,
  .ugc-hero-ref__brands::after{
    left: 40% !important;
  }
}

@media (max-width: 640px){
  .ugc-hero-ref__brands::before{
    width: 120px !important;
    height: 54px !important;
    left: 36% !important;
  }

  .ugc-hero-ref__brands::after{
    width: 220px !important;
    left: 36% !important;
  }
}

/* =========================================================
   FLARE V FINAL · centrado real + luz hacia afuera
   ========================================================= */
.ugc-hero-ref__brands{
  overflow: visible !important;
  position: absolute;
}

.ugc-hero-ref__brands::before{
  left: 50% !important;
  top: 0 !important;
  width: 190px !important;
  height: 84px !important;
  transform: translate(-50%, -58%) !important;
  border-radius: 999px !important;
  background:
    radial-gradient(ellipse at center,
      rgba(225,255,205,.52) 0%,
      rgba(186,255,138,.24) 24%,
      rgba(173,255,117,.10) 48%,
      rgba(173,255,117,0) 78%) !important;
  filter: blur(11px) !important;
  opacity: .92 !important;
  box-shadow:
    0 -8px 32px rgba(186,255,138,.18),
    0 -18px 48px rgba(255,255,255,.08) !important;
  animation: ugcEdgeGlowCenter 4.8s ease-in-out infinite !important;
  z-index: 1;
}

.ugc-hero-ref__brands::after{
  left: 50% !important;
  top: 0 !important;
  width: 360px !important;
  height: 2px !important;
  transform: translate(-50%, -50%) !important;
  background: linear-gradient(90deg,
    rgba(255,255,255,0) 0%,
    rgba(180,255,135,.16) 18%,
    rgba(255,255,255,.98) 50%,
    rgba(180,255,135,.16) 82%,
    rgba(255,255,255,0) 100%) !important;
  box-shadow:
    0 0 8px rgba(173,255,117,.22),
    0 0 18px rgba(173,255,117,.16),
    0 -6px 18px rgba(255,255,255,.10),
    0 -12px 30px rgba(173,255,117,.10) !important;
  opacity: .94 !important;
  animation: ugcEdgeLineCenter 4.8s ease-in-out infinite !important;
  z-index: 1;
}

@keyframes ugcEdgeGlowCenter{
  0%,100%{
    opacity:.72;
    transform:translate(-50%, -58%) scale(.96);
  }
  50%{
    opacity:.96;
    transform:translate(-50%, -58%) scale(1.05);
  }
}

@keyframes ugcEdgeLineCenter{
  0%,100%{
    opacity:.76;
    width:320px;
  }
  50%{
    opacity:1;
    width:390px;
  }
}

@media (max-width: 640px){
  .ugc-hero-ref__brands::before{
    width: 130px !important;
    height: 56px !important;
    left: 50% !important;
  }

  .ugc-hero-ref__brands::after{
    width: 230px !important;
    left: 50% !important;
  }
}

/* =========================================================
   CARTELUZ UGC — HERO FIT VIEWPORT
   Navegacion + hero + barra visibles sin scroll
   ========================================================= */

/* Altura real de la navegación */
body.ugc-detail-page {
  --ugc-header-height: 60px;
  --ugc-brands-height: 62px;
}

/* El hero ocupa el espacio restante de la ventana */
.ugc-detail-page .ugc-hero-ref {
  height: calc(100vh - var(--ugc-header-height)) !important;
  height: calc(100svh - var(--ugc-header-height)) !important;
  min-height: 0 !important;
  max-height: none !important;
}

/* El contenido se distribuye dentro del hero */
.ugc-detail-page .ugc-hero-ref__inner {
  height: 100% !important;
  min-height: 0 !important;
  padding-top: 20px !important;
  padding-bottom: calc(var(--ugc-brands-height) + 20px) !important;
  box-sizing: border-box;
}

/* Barra exactamente al pie del hero */
.ugc-detail-page .ugc-hero-ref__brands {
  bottom: 0 !important;
  height: var(--ugc-brands-height) !important;
}

/* Centrado vertical equilibrado del bloque */
.ugc-detail-page .ugc-hero-ref__content {
  transform: translate(-22px, -10px) !important;
}

/* Pantallas de escritorio con poca altura */
@media (min-width: 901px) and (max-height: 800px) {
  .ugc-detail-page .ugc-hero-title {
    font-size: clamp(32px, 3.3vw, 55px) !important;
  }

  .ugc-detail-page .ugc-hero-ref__subtitle {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }

  .ugc-detail-page .ugc-hero-ref__content {
    transform: translate(-22px, -5px) !important;
  }
}

/* Dispositivos móviles */
@media (max-width: 900px) {
  body.ugc-detail-page {
    --ugc-header-height: 64px;
    --ugc-brands-height: 54px;
  }

  .ugc-detail-page .ugc-hero-ref__content {
    width: 100% !important;
    transform: none !important;
  }
}

/* Pantallas pequeñas o dispositivos horizontales */
@media (max-height: 580px) {
  .ugc-detail-page .ugc-hero-ref {
    height: auto !important;
    min-height: calc(100svh - var(--ugc-header-height)) !important;
  }

  .ugc-detail-page .ugc-hero-ref__inner {
    min-height: 480px !important;
  }
}

/* Ocultar barra final oscura antes del footer */
.ugc-end{
  display:none !important;
}
