/* ============================================================
 * RuedaMundo Hero compatible
 * Este CSS acompaña al hero.php adaptado.
 * ============================================================ */

.rm-hero-pro{
  --rm-dark:#071313;
  --rm-ink:#10201f;
  --rm-green:#89c943;
  --rm-green-2:#c7ff68;
  --rm-border:rgba(255,255,255,.14);
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#fff;
  background:#071313;
  padding:clamp(46px, 6vw, 76px) 0 clamp(24px, 4vw, 46px);
}

.rm-hero-pro__media{
  position:absolute;
  inset:0;
  z-index:-3;
  background:
    linear-gradient(90deg, rgba(7,19,19,.97) 0%, rgba(7,19,19,.82) 42%, rgba(7,19,19,.38) 100%),
    linear-gradient(180deg, rgba(7,19,19,.20), rgba(7,19,19,.96)),
    var(--rm-hero-bg) center/cover no-repeat;
  transform:scale(1.03);
}

.rm-hero-pro__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.45;
}

.rm-hero-pro__glow{
  position:absolute;
  width:680px;
  height:680px;
  right:-120px;
  top:80px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(199,255,104,.30), transparent 64%);
  filter:blur(10px);
  z-index:-2;
}

.rm-hero-pro::before{
  content:"";
  position:absolute;
  inset:auto -20% -180px -20%;
  height:320px;
  background:linear-gradient(90deg, transparent, rgba(137,201,67,.74), transparent);
  transform:rotate(-3deg);
  opacity:.62;
  z-index:-1;
}

.rm-hero-pro__inner{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, 540px);
  gap:clamp(28px, 5vw, 54px);
  align-items:center;
}

.rm-hero-pro__copy{
  padding:clamp(10px, 2vw, 30px) 0;
}

.rm-hero-pro__brand{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:clamp(18px, 3vw, 30px);
}

.rm-hero-pro__logo img{
  max-height:70px;
  width:auto;
  filter:brightness(0) invert(1);
}

.rm-hero-pro__script{
  font-size:clamp(38px, 6vw, 72px);
  line-height:.86;
  font-weight:950;
  letter-spacing:-.08em;
  font-family:"Inter", system-ui, sans-serif;
  text-shadow:0 8px 28px rgba(0,0,0,.28);
}

.rm-hero-pro__url{
  color:var(--rm-green-2);
  font-size:clamp(16px, 2vw, 26px);
  font-weight:900;
  letter-spacing:.01em;
}

.rm-hero-pro__eyebrow,
.rm-page-hero__eyebrow{
  margin:0 0 12px;
  color:var(--rm-green-2, #c7ff68);
  font-size:13px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.rm-hero-pro__title{
  max-width:780px;
  margin:0;
  font-size:clamp(38px, 5.8vw, 78px);
  line-height:.96;
  letter-spacing:-.06em;
  font-weight:950;
  text-transform:uppercase;
  text-wrap:balance;
}

.rm-hero-pro__title span{
  display:block;
  margin-top:8px;
  color:var(--rm-green);
}

.rm-hero-pro__subtitle{
  max-width:660px;
  margin:22px 0 0;
  color:rgba(255,255,255,.82);
  font-size:clamp(16px, 1.8vw, 21px);
  line-height:1.55;
}

.rm-hero-search{
  display:grid;
  grid-template-columns:1fr 1fr 1fr auto;
  gap:8px;
  max-width:780px;
  margin-top:30px;
  padding:8px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.09);
  backdrop-filter:blur(18px);
  box-shadow:0 18px 50px rgba(0,0,0,.24);
}

.rm-hero-search label{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:7px 0 7px 18px;
  border-right:1px solid rgba(255,255,255,.12);
}

.rm-hero-search label:nth-child(3){
  border-right:0;
}

.rm-hero-search span{
  color:rgba(255,255,255,.58);
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.rm-hero-search select{
  width:100%;
  appearance:none;
  border:0;
  outline:0;
  padding:2px 24px 0 0;
  background:transparent;
  color:#fff;
  font-size:17px;
  font-weight:850;
}

.rm-hero-search select option{
  background:#10201f;
  color:#fff;
}

.rm-hero-search button{
  min-height:54px;
  border:0;
  border-radius:999px;
  padding:0 28px;
  background:linear-gradient(135deg, var(--rm-green-2), var(--rm-green));
  color:#10201f;
  font-weight:950;
  box-shadow:0 14px 34px rgba(137,201,67,.28);
  cursor:pointer;
  transition:transform .2s ease, filter .2s ease;
}

.rm-hero-search button:hover{
  transform:translateY(-2px);
  filter:saturate(1.08);
}

.rm-hero-pro__actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:24px;
}

.rm-hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:52px;
  padding:14px 22px;
  border-radius:999px;
  text-decoration:none;
  font-weight:950;
  transition:transform .2s ease;
}

.rm-hero-btn:hover{
  transform:translateY(-2px);
}

.rm-hero-btn--primary{
  background:linear-gradient(135deg, var(--rm-green-2), var(--rm-green));
  color:#10201f;
  box-shadow:0 16px 36px rgba(137,201,67,.28);
}

.rm-hero-btn--ghost{
  color:#fff;
  border:1px solid rgba(255,255,255,.24);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(12px);
}

.rm-hero-pro__visual{
  position:relative;
  min-height:clamp(380px, 48vw, 560px);
  display:grid;
  place-items:center;
}

.rm-hero-pro__badge{
  position:absolute;
  top:24px;
  right:0;
  z-index:4;
  padding:8px 13px;
  border:1px solid rgba(199,255,104,.54);
  border-radius:12px;
  color:var(--rm-green-2);
  font-weight:950;
  letter-spacing:.07em;
  background:rgba(7,19,19,.52);
  white-space:nowrap;
  text-transform:uppercase;
  font-size:12px;
}

.rm-hero-pro__rings{
  position:absolute;
  width:min(550px, 90vw);
  height:min(550px, 90vw);
  border-radius:999px;
  border:1px solid rgba(137,201,67,.24);
  background:
    radial-gradient(circle, transparent 51%, rgba(137,201,67,.12) 52%, transparent 53%),
    conic-gradient(from 40deg, rgba(137,201,67,.0), rgba(137,201,67,.48), rgba(137,201,67,.0) 32%, transparent 100%);
  animation:rm-hero-spin 28s linear infinite;
}

.rm-hero-pro__tire{
  position:relative;
  z-index:2;
  width:min(460px, 86vw);
  aspect-ratio:1;
  display:grid;
  place-items:center;
  filter:drop-shadow(0 36px 54px rgba(0,0,0,.62));
}

.rm-hero-pro__tire img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.rm-hero-pro__pedestal{
  position:absolute;
  bottom:34px;
  width:min(490px, 90%);
  height:90px;
  border-radius:999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.02)),
    #101817;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:
    inset 0 0 0 1px rgba(199,255,104,.08),
    0 0 0 7px rgba(137,201,67,.12),
    0 30px 80px rgba(0,0,0,.50);
  display:flex;
  align-items:end;
  justify-content:center;
  padding-bottom:16px;
  color:var(--rm-green);
  font-weight:900;
  font-style:italic;
  z-index:1;
}

.rm-hero-pro__stats{
  margin-top:clamp(20px, 3vw, 34px);
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  padding:12px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:24px;
  background:rgba(5,14,14,.76);
  backdrop-filter:blur(16px);
  position:relative;
  z-index:5;
}

.rm-hero-pro__stats div{
  display:flex;
  flex-direction:column;
  gap:2px;
  padding:14px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.05);
}

.rm-hero-pro__stats strong{
  color:#fff;
  font-size:clamp(20px, 2.5vw, 25px);
  line-height:1;
}

.rm-hero-pro__stats span{
  color:rgba(255,255,255,.65);
  font-size:13px;
}

.rm-page-hero .estructure-hero__content{
  position:relative;
  z-index:2;
}

.rm-page-hero__text{
  max-width:760px;
}

@keyframes rm-hero-spin{
  to{ transform:rotate(360deg); }
}

@media (max-width: 1120px){
  .rm-hero-pro__inner{
    grid-template-columns:1fr;
  }

  .rm-hero-pro__copy{
    max-width:860px;
  }

  .rm-hero-pro__visual{
    max-width:620px;
    width:100%;
    justify-self:center;
    margin-top:4px;
  }
}

@media (max-width: 760px){
  .rm-hero-pro{
    padding-top:36px;
  }

  .rm-hero-pro__inner{
    gap:24px;
  }

  .rm-hero-pro__title{
    font-size:clamp(35px, 12vw, 52px);
  }

  .rm-hero-search{
    grid-template-columns:1fr;
    border-radius:28px;
  }

  .rm-hero-search label{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.12);
    padding:10px 14px;
  }

  .rm-hero-search label:nth-child(3){
    border-bottom:0;
  }

  .rm-hero-search button{
    min-height:52px;
    width:100%;
  }

  .rm-hero-pro__actions{
    flex-direction:column;
  }

  .rm-hero-btn{
    width:100%;
  }

  .rm-hero-pro__visual{
    min-height:330px;
    overflow:visible;
  }

  .rm-hero-pro__rings{
    width:330px;
    height:330px;
  }

  .rm-hero-pro__tire{
    width:min(320px, 88vw);
  }

  .rm-hero-pro__pedestal{
    bottom:8px;
    height:66px;
  }

  .rm-hero-pro__badge{
    top:0;
    right:50%;
    transform:translateX(50%);
    font-size:11px;
  }

  .rm-hero-pro__stats{
    grid-template-columns:1fr;
  }
}

@media (prefers-reduced-motion: reduce){
  .rm-hero-pro__rings{
    animation:none;
  }
}
