/* Revolt — selected improvements: Skills glass cards + editorial Explora. */
body.revolt-curated{
  --curated-pink:#ef008c;
  --curated-ink:#08070b;
}

/* Keep the document usable if the legacy loader misses the window load event. */
html{
  overflow-y:auto;
}
body.revolt-curated:not(.contact-open):not(.menu-open){
  overflow-x:hidden!important;
  overflow-y:auto!important;
}

/* The primary navigator always remains visible, clickable and above page content. */
body.revolt-curated:not(.contact-open) .header.header--minimal,
body.revolt-curated.home-navigation-hidden:not(.contact-open) .header.header--minimal,
body.revolt-curated:not(.contact-open) .header.header--minimal.is-scroll-hidden{
  z-index:3000!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  pointer-events:auto!important;
}

/* In the open state, restore the original full-screen contact overlay. */
body.revolt-curated.contact-open .header.header--minimal{
  z-index:40!important;
  pointer-events:none!important;
}
body.revolt-curated.contact-open .contact-backdrop{
  inset:0!important;
  z-index:9000!important;
}
body.revolt-curated.contact-open .contact-canvas.contact-v46{
  top:0!important;
  bottom:0!important;
  height:100dvh!important;
  min-height:100dvh!important;
  z-index:9001!important;
}
body.revolt-curated.contact-open .contact-canvas.contact-v46 .contact-close{
  z-index:9020!important;
}

/* A single typographic rule keeps every editorial title consistent. */
body.revolt-curated h1,
body.revolt-curated h2,
body.revolt-curated h3{
  text-transform:uppercase!important;
}
body.revolt-curated #fundamentos .foundation-note h3,
body.revolt-curated #impacto .impact-title-block h2{
  text-transform:uppercase!important;
}

/* Skills: transparent glass cards over the existing cinematic background. */
body.revolt-curated #servicios .home-skill-card,
body.revolt-curated #servicios .home-skill-card.is-current{
  border:0!important;
  background:rgba(6,5,8,.68)!important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.19),
    inset 1px 0 rgba(255,255,255,.07),
    0 25px 70px rgba(0,0,0,.24)!important;
  -webkit-backdrop-filter:blur(24px) saturate(128%)!important;
  backdrop-filter:blur(24px) saturate(128%)!important;
  clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,20px 100%,0 calc(100% - 20px))!important;
}
body.revolt-curated #servicios .home-skill-card.is-current{
  background:rgba(6,5,8,.68)!important;
}
body.revolt-curated #servicios .home-skill-card,
body.revolt-curated #servicios .home-skill-card.is-current,
body.revolt-curated #servicios .home-skill-card:focus-within{
  outline:0!important;
  border-color:transparent!important;
}
body.revolt-curated #servicios .home-skill-links a,
body.revolt-curated #servicios .home-skill-card.is-current .home-skill-links a{
  background:rgba(255,255,255,.018)!important;
  border:1px solid rgba(255,255,255,.17)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.035)!important;
  -webkit-backdrop-filter:blur(12px)!important;
  backdrop-filter:blur(12px)!important;
  color:#fff!important;
}
body.revolt-curated #servicios .home-skill-links a:hover,
body.revolt-curated #servicios .home-skill-links a:focus-visible,
body.revolt-curated #servicios .home-skill-card.is-current .home-skill-links a:hover,
body.revolt-curated #servicios .home-skill-card.is-current .home-skill-links a:focus-visible{
  background:linear-gradient(120deg,#ff139f 0%,#ef008c 48%,#a60061 100%)!important;
  border-color:rgba(255,64,173,.78)!important;
  box-shadow:0 14px 34px rgba(239,0,140,.22),inset 0 1px rgba(255,255,255,.16)!important;
}

/* Home hero: preserve the approved composition from before the visual experiment. */
body.revolt-curated #inicio .hero-left h1{
  font-family:"Space Grotesk",Arial,sans-serif!important;
  font-size:clamp(52px,4.35vw,84px)!important;
  line-height:.86!important;
  letter-spacing:-.075em!important;
  font-weight:700!important;
}
body.revolt-curated #inicio .hero-left h1 span{
  display:block!important;
  white-space:nowrap!important;
}
body.revolt-curated #inicio .featured-article{
  display:none!important;
}
body.revolt-curated #inicio .home-dimensions-actions .outline-btn:nth-child(2){
  border-color:rgba(255,255,255,.24)!important;
  background:rgba(7,6,10,.22)!important;
}
body.revolt-curated #inicio .home-dimensions-actions .outline-btn:nth-child(2):hover,
body.revolt-curated #inicio .home-dimensions-actions .outline-btn:nth-child(2):focus-visible{
  border-color:#ef008c!important;
  background:#ef008c!important;
}

/* Reason Why and Fundamentos share the site's display family. */
body.revolt-curated #reason .reason-title{
  max-width:100%!important;
  font-family:"Space Grotesk",Arial,sans-serif!important;
  font-size:clamp(46px,4vw,84px)!important;
  line-height:.88!important;
  letter-spacing:-.072em!important;
  text-transform:uppercase!important;
}
body.revolt-curated #reason .reason-bottom-grid{
  grid-template-columns:minmax(0,1fr) auto!important;
}
body.revolt-curated #reason .reason-title-line:first-child{
  color:var(--curated-pink)!important;
}
body.revolt-curated #fundamentos .foundation-title{
  font-family:"Space Grotesk",Arial,sans-serif!important;
  font-weight:700!important;
}

/* Impact CTA follows the same cut-corner language as the other primary actions. */
body.revolt-curated #impacto .impact-connect-cta{
  min-height:50px!important;
  padding:16px 22px!important;
  text-transform:uppercase!important;
  letter-spacing:.075em!important;
  clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)!important;
}

/* Explora: preserve the approved composition and its clear black/pink contrast. */
body.revolt-curated #conocimiento.explore-v38,
body.revolt-curated #conocimiento.explore-v38::before,
body.revolt-curated #conocimiento.explore-v38::after{
  background-color:var(--curated-ink)!important;
  background-image:none!important;
}
body.revolt-curated #conocimiento .explore-v38__heading h2{
  max-width:none!important;
  font-family:"Space Grotesk",Arial,sans-serif!important;
  font-size:clamp(58px,6vw,112px)!important;
  font-weight:700!important;
  line-height:.86!important;
  letter-spacing:-.075em!important;
  text-transform:uppercase!important;
}
body.revolt-curated #conocimiento .explore-v38__heading h2 span{
  display:block!important;
  white-space:nowrap!important;
}
body.revolt-curated #conocimiento .explore-v38__heading h2 span:last-child{color:var(--curated-pink)!important}
body.revolt-curated #conocimiento .explore-v38__intro{
  max-width:44ch!important;
  font-weight:600!important;
  line-height:1.55!important;
}
body.revolt-curated #conocimiento .explore-v38__card{
  border:0!important;
  box-shadow:inset 0 1px rgba(255,255,255,.14),0 30px 90px rgba(0,0,0,.27)!important;
  clip-path:polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,0 100%)!important;
}
body.revolt-curated #conocimiento .explore-v38__card--dark{
  background:linear-gradient(145deg,rgba(15,14,19,.98),rgba(6,6,9,.98))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.07),0 30px 90px rgba(0,0,0,.27)!important;
  -webkit-backdrop-filter:blur(14px)!important;
  backdrop-filter:blur(14px)!important;
}
body.revolt-curated #conocimiento .explore-v38__card--pink{
  background:linear-gradient(145deg,#f60091 0%,#e00082 52%,#8d0a59 100%)!important;
}
body.revolt-curated #conocimiento .explore-v38__card h3{
  font-family:"Space Grotesk",Arial,sans-serif!important;
  font-weight:700!important;
  letter-spacing:-.06em!important;
  line-height:.96!important;
  text-transform:uppercase!important;
}

@media(max-width:900px){
  body.revolt-curated #inicio .hero-left h1{
    font-size:clamp(30px,8vw,38px)!important;
    line-height:.88!important;
  }
  body.revolt-curated #reason .reason-title{
    font-size:clamp(34px,9.4vw,48px)!important;
  }
  body.revolt-curated #conocimiento .explore-v38__heading h2{font-size:clamp(44px,8vw,68px)!important}
}

@media(max-width:560px){
  body.revolt-curated #servicios .home-skill-card,
  body.revolt-curated #servicios .home-skill-card.is-current{
    -webkit-backdrop-filter:blur(18px) saturate(128%)!important;
    backdrop-filter:blur(18px) saturate(128%)!important;
  }
  body.revolt-curated #conocimiento .explore-v38__heading h2{
    font-size:clamp(34px,10.5vw,46px)!important;
    letter-spacing:-.065em!important;
  }
}
