/*!
 * jonatanruizrios.com · css/home.css
 * Portada: hero, proyectos (2 principales + 2 secundarios), Sobre mí y tokens de la identidad v3.
 * Sistema de diseño: docs/DESIGN-SYSTEM.md
 */
.feat :focus-visible {
  outline-color: #fff;
}
.btn-white:hover,
.feat:hover .btn-white {
  background: #eef8f6;
}
.feat {
  cursor: pointer;
}
.clients {
  align-items: center;
  gap: 14px clamp(20px, 3vw, 40px);
}
.clients-label {
  flex: none;
  font-size: 1.05rem;
}
.clients-sec .clients {
  margin-top: 0;
}
.m-track {
  position: relative;
  display: flex;
  width: max-content;
  will-change: transform;
}
.m-set {
  display: flex;
  align-items: center;
  flex: none;
  padding: 0 clamp(40px, 5vw, 72px) 0 0;
  margin: 0;
  list-style: none;
}
.m-set li {
  flex: none;
  display: flex;
  align-items: center;
  will-change: transform, opacity;
}
.marquee:not(.on) .m-track {
  width: auto;
}
.marquee:not(.on) .m-set {
  flex-wrap: wrap;
  row-gap: 16px;
}
.tool {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.tool b {
  font: 700 0.92rem/1 var(--font-d);
  letter-spacing: -0.01em;
  font-style: normal;
}
.tool-ic {
  object-fit: contain;
  transition: filter 0.35s var(--ease),
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.tool:hover .tool-ic {
  filter: none;
  opacity: 1;
  transform: translateY(-2px);
}
.hv-logos {
  position: relative;
  z-index: 1;
  grid-column: 1/-1;
  order: 2;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  border-radius: 0;
  height: clamp(52px, 4.6vw, 64px);
  background: #004d46;
}
.hv-lab {
  font: 700 0.62rem/1 var(--font-d);
  white-space: nowrap;
}
.hv-logos img {
  display: block;
  width: var(--w);
  flex: none;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.work-h {
  font: 700 clamp(1.8rem, 3.6vw, 3.1rem)/1.02 var(--font-d);
  letter-spacing: -0.04em;
  max-width: 46%;
}
.work-sub {
  margin-top: clamp(40px, 5vw, 64px);
  font: 700 0.95rem/1.25 var(--font-d);
  color: var(--accent);
}
.feat {
  overflow-x: clip;
  color: #fff;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: clamp(340px, 32vw, 470px);
  clip-path: inset(-240px 0 0 0 round 0 0 8px 8px);
}
.feat-body {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(28px, 4.4vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(16px, 2vw, 28px);
}
.feat-title {
  font: 800 clamp(3.4rem, 8vw, 7rem)/0.95 var(--font-d);
  letter-spacing: -0.045em;
}
.feat-text {
  font: 600 clamp(1.2rem, 2.2vw, 2.1rem)/1.18 var(--font-d);
  letter-spacing: -0.015em;
  max-width: 21ch;
}
.feat-stage {
  position: relative;
}
.frame-pos {
  position: absolute;
  bottom: 0;
  transform: translateY(var(--sy, 0px));
}
.frame {
  background: #0d0f0e;
  border-radius: 16px 16px 0 0;
  padding: 14px 14px 0;
  box-shadow: inset 0 0 0 1.5px #3b423d;
  transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s var(--ease);
  position: relative;
}
.frame:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2c322e;
  transform: translate(-50%);
}
.frame img {
  display: block;
  border-radius: 8px 8px 0 0;
}
.frame:after {
  content: "";
  position: absolute;
  inset: 14px 14px 0;
  border-radius: 8px 8px 0 0;
  pointer-events: none;
  background: none;
  background-position: 160% 0;
}
.feat2 {
  clip-path: none;
  overflow: hidden;
  min-height: clamp(340px, 30vw, 430px);
}
.feat2 .frame-pos {
  bottom: 0;
}
@media (max-width: 820px) {
  .work-h {
    max-width: none;
  }
  .feat {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .clients {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .frame-float,
  .frame:after,
  .dlg-stage img,
  .demo * {
    animation: none !important;
  }
}
#esave {
  --fc: #116c4b;
}
#ibercaja {
  --fc: #0d5d74;
}
#esave .btn-white,
#ibercaja .btn-white {
  color: var(--fc);
}
@media (max-width: 1099px) {
  .hv-logos {
    order: 2;
  }
}
.hv-logos img:hover {
  transform: none;
}
.hv-path {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 72px);
  position: relative;
}
.hv-path:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #fff6;
  transform-origin: left center;
}
.hv-co {
  position: relative;
  padding: 0 12px;
}
.hv-co-in {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
}
a.hv-co-in:focus-visible {
  outline-color: #fff;
}
@media (max-width: 640px) {
  .hv-path {
    gap: 14px;
  }
  .hv-co {
    padding: 0 8px;
  }
}
.feat-title,
.dlg-title {
  white-space: nowrap;
}
@media (max-width: 820px) {
  .feat-stage {
    height: auto;
    padding-top: 4px;
  }
  .feat .frame-pos,
  .feat2 .frame-pos {
    position: relative;
    bottom: auto;
    transform: none;
  }
  .js .work .feat {
    transform: none !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  .feat.cur-on {
    cursor: none;
  }
  .pj .feat.cur-on:not(.pj-on) {
    cursor: pointer;
  }
}
.hv-co,
.hv-lab,
.hv-path > * {
  animation: none;
  opacity: 1;
  transform: none;
}
.work {
  margin-top: 0;
  padding-top: 24px;
}
.work-h {
  margin-top: 0;
}
.feat {
  --mx: 50%;
  --my: 50%;
}
.feat:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: none;
}
.feat:hover:after {
  opacity: 1;
}
.feat-stage {
  perspective: 1400px;
}
.feat .frame-float {
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.feat .frame-float:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
  background: none;
}
.feat:hover .frame-float:after {
  opacity: 1;
}
.feat .frame-float {
  position: relative;
}
@media (prefers-reduced-motion: reduce) {
  .feat .frame-float {
    transform: none;
    transition: none;
  }
}
.work .feat .feat-stage {
  transform-origin: 50% 100%;
}
@media (prefers-reduced-motion: reduce) {
  .work .feat .feat-stage {
    transform: none;
  }
}
.work #esave.feat,
.work #ibercaja.feat {
  background: #06291f !important;
}
.feat:before {
  z-index: 0;
}
.work {
  perspective: none;
}
html.js body .work .feat {
  scale: none !important;
}
@media (max-width: 820px) {
  html.js body .work .feat {
    position: sticky !important;
    top: calc(var(--stk, 84px) + 8px) !important;
  }
  html.js body .work #esave {
    top: calc(var(--stk, 84px) + 8px);
  }
  html.js body .work #bwatr {
    top: calc(var(--stk, 84px) + 16px);
  }
  html.js body .work #ibercaja {
    top: calc(var(--stk, 84px) + 24px);
  }
}
.work .feat-title {
  font-size: clamp(2.6rem, 6vw, 5.25rem);
}
.tool-ic,
.marquee:hover .tool-ic {
  filter: none !important;
  opacity: 1 !important;
}
html.js body .work .feat {
  will-change: auto;
}
html.js body .work .feat .feat-stage {
  transform: none;
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  html.js body .work .feat {
    transform: none !important;
    filter: none !important;
  }
}
.hv-logos img {
  height: auto;
  aspect-ratio: auto;
}
.hv-co {
  animation: none;
  opacity: 1;
  transform: none;
}
.hv-path:before {
  animation: none;
  transform: none;
}
@media (min-width: 821px) {
  html body .work .feat .frame-pos {
    left: 4%;
    right: 4%;
  }
}
@media (max-width: 820px) {
  html body .work .feat .frame-pos {
    margin: 0 6%;
    left: auto;
    right: auto;
  }
}
@media (min-width: 1100px) {
  .work .feat {
    min-height: clamp(480px, 38vw, 560px);
  }
}
.feat-title {
  display: flex;
  align-items: flex-start;
  gap: 0.12em;
}
.feat:focus-visible {
  outline: 3px solid rgb(var(--mint-rgb));
  outline-offset: 4px;
}
.hx {
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: calc(var(--navh) + 48px) var(--gutter, 16px) 24px;
}
.hx:after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: none;
  pointer-events: none;
}
.hx-in {
  position: relative;
  flex-direction: column;
}
.hx .hx-h {
  margin: 0;
  font: 800 clamp(2.25rem, 6.2vw, 6rem)/var(--lh-display, 1.1) var(--font-d);
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #fff;
}
.hx-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.hx-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 1.0625rem/1 var(--font-d);
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.25, 1.1),
    box-shadow 0.35s,
    background-color 0.25s;
}
.hx-cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}
.js.go .hx-cta {
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .hx-cta {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
    transition: none !important;
  }
}
body[data-view="home"] {
  background: #03140f;
}
body[data-view="home"] #sobre {
  row-gap: 24px;
}
body[data-view="home"] .work-h,
body[data-view="home"] .contact-h,
body[data-view="home"] #contacto-h {
  font-weight: 800;
  letter-spacing: -0.025em;
  max-width: none;
}
body[data-view="home"] .clients-sec,
body[data-view="home"] .clients-sec * {
  color: #fff;
}
body[data-view="home"] .tool .tool-ic[src*="img-10"] {
  filter: invert(1);
  opacity: 1;
}
body[data-view="home"] .contact-ft {
  margin-top: 0;
}
body[data-view="home"] .view[data-view="home"] {
  padding-bottom: 0;
}
body[data-view="home"] main {
  position: relative;
  z-index: 1;
}
.js body[data-view="home"] .view .rv.in:not(.feat) {
  filter: none;
}
body[data-view="home"] .clients-sec .marquee {
  flex: none;
}
body[data-view="home"] .clients-sec .clients {
  display: block;
}
body[data-view="home"] .clients-sec .clients-label {
  display: block;
  font: 700 0.95rem/var(--lh-label, 1.3) var(--font-d);
}
@media (prefers-reduced-motion: reduce) {
  .js body[data-view="home"] .rv:not(.feat) {
    filter: none !important;
  }
}
.ab {
  display: grid;
  gap: 24px;
  color: #fff;
}
.ab-card {
  position: relative;
  background: none;
}
.ab-ph {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ab-img {
  position: relative;
  z-index: 2;
  max-width: none;
}
.ab-txt {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.ab-h {
  margin: 0;
  font: 800 clamp(2.4rem, 5.6vw, 5.25rem)/var(--lh-display, 1.1) var(--font-d);
  letter-spacing: -0.03em;
}
.ab-k .nw {
  white-space: nowrap;
}
.ab-k {
  margin: -12px 0 0;
  font: 700 16px/24px var(--font-d);
}
.ab-lead {
  margin: 0;
  font: 500 clamp(1.15rem, 1.7vw, 1.6rem)/var(--lh-body, 1.5) var(--font-b);
  letter-spacing: -0.01em;
}
.ab-act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 0;
}
.ab-cv {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.ab-cv svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 820px) {
  .ab-card {
    margin-inline: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ab-card {
    animation: none !important;
  }
  .js .ab .ab-card {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}
.work.pj {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
}
.pj .work-h {
  max-width: none;
}
.pj .work-sub {
  display: none;
}
html.js body .work.pj .feat {
  position: relative !important;
  margin: 0;
  flex: none;
  overflow: hidden;
  filter: none !important;
  opacity: var(--op, 1) !important;
  transform: perspective(1800px) rotateY(var(--ry2, 0deg)) scale(var(--s2, 1)) !important;
  transform-origin: 50% 50%;
  transition: opacity 0.3s linear !important;
}
.pj .feat > * {
  position: relative;
  z-index: 1;
}
.pj .feat-title {
  line-height: var(--lh-display, 1.1) !important;
  letter-spacing: -0.04em;
}
.pj .feat-text {
  max-width: 30ch;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: var(--lh-body, 1.5);
  opacity: 0.86;
}
html.js body .work.pj-d .feat {
  width: min(78vw, 1180px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 24px;
  padding: 32px;
}
.pj-d .feat-body {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}
.pj-d .feat-stage {
  grid-column: 2;
  grid-row: 2;
  height: auto;
}
html.js body main .work.pj article.feat {
  inset: auto !important;
}
.pj .work-h {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  margin: 0;
}
.pj .feat-body {
  gap: 24px;
  padding: 0 !important;
  margin: 0;
}
.pj .feat-body > * {
  margin: 0;
}
html.js body .work.pj #esave,
html.js body .work.pj #bwatr,
html.js body .work.pj #ole,
html.js body .work.pj #ibercaja {
  top: 0;
}
body[data-view="home"] .work.pj .work-h {
  margin: 0;
}
body[data-view="home"] .mod {
  position: relative;
}
body[data-view="home"] .m1-in {
  transform-origin: 50% 0;
  transform: scale(var(--m1s, 1));
  filter: brightness(var(--m1b, 1));
  border-radius: var(--m1r, 0px);
  overflow: hidden;
  will-change: transform;
}
body[data-view="home"] .m1 .hx {
  margin-top: 0;
}
body[data-view="home"] .m1 {
  z-index: 1;
  position: relative;
  margin-top: calc(var(--navh, 80px) * -1);
}
body[data-view="home"] .m2 {
  z-index: 2;
}
body[data-view="home"] .m3 {
  z-index: 3;
  border-radius: 8px 8px 0 0;
}
.m3-pin {
  position: relative;
}
.ab-scrub .ab-h {
  opacity: var(--n, 0);
  transform: translate3d(0, calc((1 - var(--n, 0)) * 56px), 0);
}
.ab-scrub .ab-k {
  opacity: var(--r, 0);
  transform: translate3d(0, calc((1 - var(--r, 0)) * 28px), 0);
}
.pj-d .feat-stage {
  align-self: end;
  margin-bottom: -46px;
}
html.js body .work.pj-d .feat {
  height: 100%;
  max-height: 100%;
  min-height: 0;
}
.pj-d .feat-stage {
  min-height: 0;
  max-height: 100%;
}
html.lite .ab-card {
  animation: none;
}
.frame .screen {
  aspect-ratio: 16/10;
  height: auto;
}
.frame .screen > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}
@media (max-width: 899px), (hover: none) {
  body[data-view="home"] .work.pj {
    padding-top: 0;
  }
}
.ab-loc {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 8px 16px;
  border-radius: 8px;
  background: #ffffff14;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font: 600 clamp(0.8rem, 1vw, 0.92rem)/var(--lh-label, 1.3) var(--font-d);
}
.ab-loc i {
  font-style: normal;
  opacity: 0.6;
}
.ab-loc {
  align-self: flex-start;
  justify-content: flex-start;
}
.hx {
  text-align: left;
  align-items: stretch;
}
.hx-split {
  display: grid;
  gap: 24px;
}
.hx-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hx .hx-h {
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 5rem);
  text-wrap: wrap;
}
.hx .hx-h .hx-pre {
  display: block;
}
.hx-act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.hx-stage {
  position: relative;
  aspect-ratio: 1.42/1;
  transform: perspective(1600px) rotateY(var(--sy, -6deg)) rotateX(var(--sx, 3deg));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}
.js.go .hx-stage .hs-lap,
.js.go .hx-stage .hs-ph {
  opacity: 1;
  translate: 0 0;
  transition: opacity 1s ease,
    translate 1.1s cubic-bezier(0.2, 0.9, 0.25, 1);
}
@media (prefers-reduced-motion: reduce) {
  .hx-stage {
    transform: none;
  }
  .js .hx-stage .hs-lap,
  .js .hx-stage .hs-ph {
    opacity: 1;
    translate: none;
  }
}
@media (max-width: 600px) {
  .hx .hx-h {
    font-size: clamp(2.1rem, 10.4vw, 2.9rem);
  }
  .hx-act {
    gap: 12px;
  }
}
@media (max-width: 999px) {
  .hx-stage {
    aspect-ratio: 1.97/1;
  }
}
@media (max-width: 600px) {
  .hx-split {
    gap: 24px;
  }
}
.js.go .hx-cta {
  transition: opacity 0.5s ease 0.15s,
    transform 0.5s cubic-bezier(0.2, 0.9, 0.25, 1) 0.15s;
}
.js.go .hx-stage .hs-lap {
  transition-delay: 0.1s;
}
.js.go .hx-stage .hs-ph2 {
  transition-delay: 0.2s;
}
.js.go .hx-stage .hs-ph1 {
  transition-delay: 0.28s;
}
.js.go .hx-stage .hs-lap,
.js.go .hx-stage .hs-ph {
  transition-duration: 0.7s;
}
.js .hx-cta {
  opacity: 1;
}
.hx-cta {
  position: relative;
}
html.js body .work.pj .feat {
  border-radius: 8px;
  background: #082a24;
  box-shadow: inset 0 0 0 1px #ffffff14 !important;
}
html.js body .work.pj-d .feat {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
}
.pj .feat-title {
  font-size: clamp(2.6rem, 4.6vw, 5rem) !important;
}
body[data-view="home"] .m2 {
  background: #ffffff;
}
body[data-view="home"] .clients-sec .marquee {
  position: relative;
  width: auto;
  height: auto;
  overflow: hidden;
  clip: auto;
  padding: 12px 0;
  margin-top: 16px;
}
body[data-view="home"] .clients-sec .tool {
  flex-direction: row;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 8px;
}
body[data-view="home"] .clients-sec .tool-ic {
  width: 36px;
  height: 36px;
  padding: 6px;
  background: #ffffff;
}
body[data-view="home"] .clients-sec .tool b {
  color: #0a1f19;
  font-size: 1rem;
}
body[data-view="home"] .clients-sec .m-set {
  gap: 16px;
  padding-right: 16px;
}
body[data-view="home"] .tool .tool-ic[src*="img-10"] {
  filter: none;
}
body[data-view="home"] .m3 {
  padding-block: var(--gap);
}
body[data-view="home"] .m3 #sobre {
  padding-top: 0;
  padding-bottom: 0;
}
#proyectos,
#sobre,
#contacto,
.cs > section {
  scroll-margin-top: var(--nav-gap);
}
body[data-view="home"] .hx .hx-in {
  margin-inline: auto;
  max-width: calc(var(--max) - var(--gutter) * 2);
  width: 100%;
}
body[data-view="home"] .work .feat:not(#_) {
  transform: none !important;
}
body[data-view="home"] .m2 .clients-sec .tool-ic {
  box-shadow: none;
}
body[data-view="home"] .work .feat .feat-stage:has(.frame) {
  container-type: inline-size;
}
body[data-view="home"] .work .feat .frame-pos {
  left: 9%;
  right: 9%;
}
body[data-view="home"] .work .feat .frame {
  border-radius: 1.6cqw;
  padding: 1.6cqw;
}
body[data-view="home"] .work .feat .frame::after {
  content: "";
  position: absolute;
  left: -7%;
  right: -7%;
  top: 100%;
  height: 2.4cqw;
  border-radius: 0 0 3.2cqw 3.2cqw / 0 0 1.8cqw 1.8cqw;
  background: #cfd2d6;
  box-shadow: inset 0 0.28cqw rgba(255, 255, 255, 0.75),
    0 12px 28px -18px rgba(18, 20, 19, 0.18);
}
body[data-view="home"] .hv-co-in {
  padding-block: 16px;
  margin-block: -16px;
}
body[data-view="home"] .hx .hx-h {
  text-transform: none;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
body[data-view="home"] .hx .hx-h .hx-pre {
  display: inline;
}
@media (max-width: 900px) {
  body[data-view="home"] .hx .hx-h {
    font-size: clamp(2rem, 5.2vw, 2.75rem);
  }
}
@media (max-width: 560px) {
  body[data-view="home"] .hx .hx-h {
    font-size: clamp(1.25rem, 5.6vw, 1.5rem);
    line-height: 1.15;
  }
}
body[data-view="home"] .work .feat:not(#_) {
  background: #0a2b23 !important;
}
body[data-view="home"] .m3,
body[data-view="home"] .m3 .ab-ph {
  background: #03140f;
}
body[data-view="home"] .m3 .ab-ph {
  background: #0a2b23;
}
body[data-view="home"] .m3 .ab-card {
  background: none;
  box-shadow: none;
}
body[data-view="home"] .ab-h {
  text-transform: none;
}
body[data-view="home"] #sobre .ab-img {
  margin: 0;
}
body[data-view="home"] .hx {
  background: #03140f;
}
body[data-view="home"] .hx::after {
  content: none;
}
@media (min-width: 1000px) {
  body[data-view="home"] .hx-split {
    max-width: 1440px !important;
  }
}
body[data-view="home"] .hx .hx-h {
  font-size: clamp(2.25rem, 3.8vw, 3.75rem);
  line-height: 1.04;
}
@media (max-width: 999px) {
  body[data-view="home"] .hx-stage {
    margin-inline: -2%;
  }
}
@media (max-width: 560px) {
  body[data-view="home"] .hx .hx-h {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }
}
.work #esave .screen img {
  object-fit: contain;
  object-position: 50% 50%;
  background: #fff;
}
body[data-view="home"] #sobre :is(.ab-card, .ab-ph, .ab-img) {
  transform: none;
  translate: none;
  scale: none;
  rotate: none;
  opacity: 1;
  filter: none;
  clip-path: none;
  animation: none;
  transition: none;
}
.feat-text .feat-more {
  font-style: italic;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
}
:root {
  --hv-bg: #ffffff;
  --hv-paper: #f3f3f0;
  --hv-paper-2: #f8f8f6;
  --hv-line: #e4e4df;
  --hv-text: #121413;
  --hv-muted: #5a5f5d;
  --hv-g: #006b63;
  --hv-s1: 8px;
  --hv-s2: 16px;
  --hv-s3: 24px;
  --hv-s4: 32px;
  --hv-s5: 48px;
  --hv-s6: 64px;
  --hv-s7: 96px;
}
body[data-view="home"] {
  --bg: var(--hv-bg);
  --ink: var(--hv-text);
  --ink-2: var(--hv-muted);
  --line: var(--hv-line);
  --card: var(--hv-paper);
  --card-hover: #ededE9;
  --accent: var(--hv-g);
  --nav-bg: rgba(255, 255, 255, 0.88);
  --logo-filter: none;
  --logo-blend: normal;
  background: var(--hv-bg);
  color: var(--hv-text);
}
body[data-view="home"] :is(.m1, .m2, .m3, .hx, .contact-ft):not(#_) {
  background: var(--hv-bg) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--hv-text) !important;
}
body[data-view="home"] .nav .logo-mark,
body[data-view="home"] .nav.stuck .logo-mark {
  color: var(--hv-text);
}
body[data-view="home"] .nav .nav-lang,
body[data-view="home"] .nav .nav-lang :is(button, span) {
  color: var(--hv-muted);
}
body[data-view="home"] .nav .btn-solid,
body[data-view="home"] .nav.stuck .btn-solid {
  background: var(--hv-text);
  color: #fff;
  border-color: var(--hv-text);
}
body[data-view="home"] .nav .btn-solid * {
  color: #fff;
}
body[data-view="home"] .nav.stuck .nav-in {
  border-color: var(--hv-line);
}
body[data-view="home"] .hx {
  padding-top: calc(var(--navh, 80px) + var(--hv-s5));
  padding-bottom: 0;
  min-height: 0;
}
body[data-view="home"] .hx .hx-copy {
  align-self: center;
}
body[data-view="home"] .hx .hx-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--hv-s5);
  align-items: center;
}
body[data-view="home"] .hx .hx-copy {
  gap: 0;
  padding: 0;
  max-width: 640px;
}
.hx .hx-nm {
  margin: 0;
  font: 800 clamp(2.75rem, 1rem + 3.8vw, 4.5rem)/1 var(--font-d);
  white-space: nowrap;
  letter-spacing: -0.045em;
  color: var(--hv-text);
}
.hx .hx-h2 {
  margin: var(--hv-s3) 0 0;
  max-width: 24ch;
  font: 700 clamp(1.375rem, 0.95rem + 1.2vw, 2rem)/1.2 var(--font-d);
  letter-spacing: -0.02em;
  color: var(--hv-text);
}
.hx .hx-sub {
  margin: var(--hv-s2) 0 0;
  max-width: 54ch;
  font: 400 clamp(1rem, 0.94rem + 0.25vw, 1.125rem)/1.55 var(--font-b);
  color: var(--hv-muted);
}
body[data-view="home"] .hx .hx-act {
  margin-top: var(--hv-s4);
  gap: var(--hv-s3);
}
body[data-view="home"] .hx .hx-cta {
  background: var(--hv-text);
  color: #fff;
  gap: var(--hv-s2);
  font-size: 1rem;
}
body[data-view="home"] .hx .hx-cta * {
  color: #fff;
}
body[data-view="home"] .hx .hx-cta {
  box-shadow: none;
}
.hx .hx-loc2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font: 500 0.875rem/1.3 var(--font-d);
  color: var(--hv-muted);
}
body[data-view="home"] .hx .hx-stage {
  align-self: end;
  width: 100%;
  max-width: 760px;
  margin: 0;
  justify-self: end;
}
body[data-view="home"] .hv-logos {
  background: var(--hv-bg);
  color: var(--hv-text);
  border-block: 1px solid var(--hv-line);
  margin-top: 0;
}
body[data-view="home"] .hv-logos :is(.hv-lab) {
  color: var(--hv-muted);
}
body[data-view="home"] .hv-co {
  background: transparent;
}
body[data-view="home"] .hv-logos img {
  filter: brightness(0);
  opacity: 0.85;
  mix-blend-mode: normal;
}
body[data-view="home"] .m2 {
  border-radius: 0;
}
body[data-view="home"] .work-h:not(#_) {
  color: var(--hv-text) !important;
}
body[data-view="home"] .work.bento {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: auto;
}
.work.bento > * {
  grid-column: 1 / -1;
  min-width: 0;
}
.work.bento > .feat {
  margin-top: 0 !important;
}
body[data-view="home"] .work.bento .work-sub {
  display: flex;
  align-items: center;
  gap: var(--hv-s2);
}
body[data-view="home"] .work.bento .feat:not(#_) {
  position: relative !important;
  top: auto !important;
  background: var(--hv-paper) !important;
  background-image: none !important;
  color: var(--hv-text) !important;
  border: 0 !important;
  border-radius: 16px !important;
  clip-path: none !important;
  overflow: hidden !important;
  box-shadow: none !important;
}
body[data-view="home"] .work.bento .feat:hover:not(#_) {
  background: #ededE9 !important;
}
body[data-view="home"] .work.bento .feat::before {
  display: none !important;
}
body[data-view="home"] .work.bento .feat:focus-visible {
  outline: 3px solid var(--hv-g) !important;
  outline-offset: 4px !important;
}
body[data-view="home"] .work.bento .feat :is(.feat-title, .feat-tt):not(#_) {
  color: var(--hv-text);
}
body[data-view="home"] .work.bento .feat .feat-text:not(#_) {
  color: var(--hv-muted);
  font-weight: 500;
  max-width: 28ch !important;
}
body[data-view="home"] .work.bento :is(#esave, #bwatr) .frame-pos:not(#_) {
  bottom: 2.4cqw !important;
  transform: none !important;
}
body[data-view="home"] .work.bento .feat .frame::after {
  box-shadow: none;
}
body[data-view="home"] .work.bento :is(#esave, #bwatr) .feat-text:not(#_) {
  line-height: 1.32 !important;
}
body[data-view="home"] .work.bento :is(#ole, #ibercaja):not(#_) {
  grid-column: span 1;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  grid-template-areas: "meta  stage"
    "body  stage" !important;
  grid-template-rows: auto 1fr;
  min-height: 0;
  padding: 0;
  background: var(--hv-paper) !important;
  border: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}
body[data-view="home"] .work.bento :is(#ole, #ibercaja):hover:not(#_) {
  background: #ededE9 !important;
}
body[data-view="home"] .work.bento :is(#ole, #ibercaja) .feat-body:not(#_) {
  grid-area: body;
  align-self: start !important;
  padding: var(--hv-s2) 0 var(--hv-s3) var(--hv-s3) !important;
  gap: var(--hv-s2) !important;
}
body[data-view="home"] .work.bento :is(#ole, #ibercaja) .feat-title:not(#_) {
  font-size: clamp(2rem, 1.4rem + 1.4vw, 2.75rem) !important;
}
body[data-view="home"] .work.bento :is(#ole, #ibercaja) .feat-text:not(#_) {
  font-size: 1rem !important;
  line-height: 1.45 !important;
  max-width: 34ch !important;
}
body[data-view="home"] .work.bento :is(#ole, #ibercaja) .feat-stage:not(#_) {
  grid-area: stage;
  position: relative !important;
  height: 100% !important;
  margin: 0 !important;
  overflow: hidden;
  container-type: inline-size;
}
body[data-view="home"] .work.bento #ibercaja .frame-pos:not(#_) {
  left: 8% !important;
  right: 8% !important;
  bottom: 2.4cqw !important;
}
body[data-view="home"] .work.bento #ole .ol-fan {
  position: absolute;
  left: 50%;
  margin: 0;
}
body[data-view="home"] .work.bento #ole .ol-fan::before {
  display: none;
}
body[data-view="home"] .work.bento #ole .ol-fan-in {
  inset: 0;
}
body[data-view="home"] .work.bento .work-sub:not(#_) {
  margin: var(--hv-s3) 0 0;
  font: 700 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1.1 var(--font-d) !important;
  letter-spacing: -0.02em !important;
  text-transform: none !important;
  color: var(--hv-text) !important;
}
body[data-view="home"] .m3 :is(h2, h3, p, span, li, dt, dd, strong, b) {
  color: var(--hv-text);
}
body[data-view="home"] .contact-ft:not(#_),
body[data-view="home"] .contact-ft .contact-bottom:not(#_) {
  background: var(--hv-paper) !important;
}
body[data-view="home"] .contact-ft .contact-bottom {
  border-top-color: var(--hv-line);
}
body[data-view="home"] .contact-ft:not(#_) {
  padding-top: var(--hv-s7);
}
body[data-view="home"] .contact-ft .contact-call:not(#_),
body[data-view="home"] .contact-ft .btn-white:not(#_) {
  background-color: var(--hv-text) !important;
  border-color: var(--hv-text) !important;
}
body[data-view="home"] .contact-ft .contact-call *:not(#_) {
  background-color: transparent !important;
}
@media (max-width: 999px) {
  body[data-view="home"] .hx .hx-split {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--hv-s5);
  }
  body[data-view="home"] .hx .hx-stage {
    justify-self: center;
    max-width: 640px;
  }
}
@media (max-width: 899px) {
  body[data-view="home"] .work.bento {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  body[data-view="home"] .hx {
    padding-top: calc(var(--navh, 72px) + var(--hv-s4));
  }
  .hx .hx-h2 {
    margin-top: var(--hv-s2);
  }
  body[data-view="home"] .hx .hx-act {
    margin-top: var(--hv-s3);
    gap: var(--hv-s2);
  }
  body[data-view="home"] .work.bento :is(#esave, #bwatr) .feat-body:not(#_) {
    padding: var(--hv-s3) var(--hv-s3) var(--hv-s4) !important;
  }
  body[data-view="home"] .work.bento :is(#esave, #bwatr) .feat-stage:not(#_) {
    margin-top: var(--hv-s2) !important;
  }
  body[data-view="home"] .work.bento .feat:not(#_) {
    border-radius: 16px !important;
  }
}
@media (max-width: 899px) {
  body[data-view="home"] .work.bento :is(#ole, #ibercaja):not(#_) {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "meta" "body" "stage" !important;
    grid-template-rows: none;
  }
  body[data-view="home"] .work.bento :is(#ole, #ibercaja) .feat-body:not(#_) {
    padding: var(--hv-s2) var(--hv-s3) 0 !important;
  }
}
body[data-view="home"] .m2 {
  margin-top: 0;
  padding: 0 0 var(--hv-s3);
}
body[data-view="home"] .work.bento {
  padding-top: var(--hv-s3);
  gap: var(--hv-s3);
}
body[data-view="home"] .work.bento .work-h {
  margin: 0;
}
body[data-view="home"] .clients-sec {
  padding-top: var(--hv-s3);
  margin-top: 0;
}
body[data-view="home"] .m3:not(#_) {
  margin-top: 0;
  padding: var(--hv-s3) 0 !important;
}
body[data-view="home"] .contact-ft:not(#_) {
  padding-top: 0;
  margin-top: 0 !important;
}
body[data-view="home"] .contact-ft .contact-in {
  padding-block: var(--hv-s3);
}
@media (max-width: 600px) {
  body[data-view="home"] .hx .hx-copy {
    padding-bottom: var(--hv-s3);
  }
  body[data-view="home"] .hx .hx-split {
    gap: var(--hv-s3);
  }
}
body[data-view="home"] .work.bento .work-sub:not(#_) {
  margin: 0 !important;
}
body[data-view="home"] .m3:not(#_) {
  padding: 0 0 var(--hv-s3) !important;
}
body[data-view="home"] .m2 {
  padding-bottom: var(--hv-s3);
}
body[data-view="home"] .clients-sec {
  padding-bottom: 0;
  margin-bottom: 0;
}
body[data-view="home"] .m3 .ab:not(#_) {
  gap: var(--hv-s3) !important;
  padding-block: 0;
  min-height: 0;
}
body[data-view="home"] .m3 .ab-card {
  height: auto;
  margin: 0;
}
body[data-view="home"] .m3 .ab-txt {
  gap: var(--hv-s2);
  margin: 0;
  padding: 0;
}
body[data-view="home"] .m3 :is(.ab-k, .ab-loc) {
  margin-top: 0;
}
body[data-view="home"] .contact-ft .contact-bottom {
  padding-block: var(--hv-s3);
}
body[data-view="home"] .work.bento #ibercaja .frame-pos:not(#_),
body[data-view="home"] .work.bento #ibercaja .frame-float:not(#_) {
  transform: none !important;
  translate: none !important;
}
@media (max-width: 600px) {
  body[data-view="home"] .work.bento :is(#ole, #ibercaja) .feat-text:not(#_) {
    font-size: 1rem !important;
  }
  body[data-view="home"] .m3 .ab-card {
    aspect-ratio: auto;
  }
}
body[data-view="home"] .m3 :is(.ab-card, .ab-ph) {
  transform: none;
  translate: none;
  scale: none;
}
body[data-view="home"] .work.bento #ibercaja .frame-pos {
  position: absolute;
  margin: 0;
  width: auto;
  top: auto;
}
@media (max-width: 899px) {
  body[data-view="home"] .work.bento #ibercaja .frame-pos:not(#_) {
    left: 14% !important;
    right: 14% !important;
  }
}
body[data-view="home"] .work.bento #ole .ol-fan {
  bottom: 0;
  top: auto;
}
@media (max-width: 999px) {
  body[data-view="home"] .hx {
    padding-bottom: 0;
  }
}
body[data-view="home"] .work.bento #ole .ol-fan {
  height: auto;
  max-width: none;
  aspect-ratio: 1 / 1;
}
body[data-view="home"] .hx .hx-cta {
  padding: 0 8px 0 24px;
  min-height: 56px;
}
@media (prefers-reduced-motion: no-preference) {
  body[data-view="home"] .work.bento .feat :is(.frame-float, .ol-fan-in) {
    transition: translate 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
  }
  body[data-view="home"] .work.bento .feat:is(:hover, :focus-visible) :is(.frame-float, .ol-fan-in) {
    translate: 0 -8px !important;
  }
}
body[data-view="home"] .work.bento .work-sub {
  gap: 0;
}
@media (max-width: 600px) {
  .hx .hx-nm {
    font-size: clamp(2.25rem, 10.5vw, 2.75rem);
  }
}
body[data-view="home"] .work.bento :is(#esave, #bwatr) :is(.feat-body, .feat-stage) {
  position: relative !important;
  z-index: 1;
}
body[data-view="home"] .contact-ft .contact-call:not(#_) {
  background-color: var(--hv-g) !important;
  border-color: var(--hv-g) !important;
}
body[data-view="home"] .contact-ft .contact-call:hover:not(#_) {
  background-color: #00554f !important;
}
body[data-view="home"] .contact-ft .cc-ic:not(#_) {
  background-color: #fff !important;
  color: var(--hv-g) !important;
}
body[data-view="home"] .contact-ft .cc-ic *:not(#_) {
  color: var(--hv-g) !important;
  stroke: var(--hv-g) !important;
}
body[data-view="home"] .m3 .ab-img:not(#_) {
  filter: none;
  mix-blend-mode: normal;
}
body[data-view="home"] .m3 .ab-ph {
  background: var(--hv-bg);
}
body[data-view="home"] .m3 .ab {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
body[data-view="home"] .m3 .ab-card {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
}
body[data-view="home"] .m3 .ab-ph {
  aspect-ratio: 4 / 3;
  height: auto;
  max-height: none;
  border-radius: 16px;
  overflow: hidden;
}
body[data-view="home"] .m3 .ab-img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: 50% 50%;
}
@media (max-width: 899px) {
  body[data-view="home"] .m3 .ab {
    grid-template-columns: minmax(0, 1fr);
  }
}
body[data-view="home"] .work.bento #ole .ol-fan {
  translate: -50% 0;
}
body[data-view="home"] .m3 .ab-h {
  font-size: clamp(2.25rem, 1.4rem + 2.2vw, 3.5rem);
}
:is(.btn, .hx-cta, .contact-call, .ab-cv) {
  border-radius: 16px;
}
body[data-view="home"] .work.bento :is(#esave, #bwatr) {
  min-height: clamp(360px, 28vw, 440px);
}
html body[data-view="home"] .work.bento :is(#esave, #bwatr) .feat-body:not(#_):not(#_) {
  padding: clamp(24px, 3vw, 48px) !important;
  gap: var(--hv-s2) !important;
}
html body[data-view="home"] .work.bento :is(#esave, #bwatr) .feat-title:not(#_):not(#_) {
  font-size: clamp(2.75rem, 1.4rem + 3.6vw, 5rem) !important;
}
html body[data-view="home"] .work.bento :is(#esave, #bwatr) .feat-text:not(#_):not(#_) {
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.375rem) !important;
}
html body[data-view="home"] .work.bento :is(#ole, #ibercaja) .feat-stage:not(#_):not(#_) {
  min-height: 240px !important;
}
@media (max-width: 899px) {
  body[data-view="home"] .work.bento :is(#esave, #bwatr) {
    min-height: 0;
  }
}
body[data-view="home"] .work.bento #ole .ol-fan {
  width: min(100cqw, 250px);
}
@media (max-width: 899px) {
  html body[data-view="home"] .work.bento #ibercaja .feat-stage:not(#_):not(#_) {
    height: auto !important;
    min-height: 0 !important;
    margin-top: var(--hv-s2) !important;
  }
  html body[data-view="home"] .work.bento #ole .feat-stage:not(#_):not(#_) {
    height: 200px !important;
    min-height: 200px !important;
    margin-top: var(--hv-s2) !important;
  }
}
@media (max-width: 899px) {
  html body[data-view="home"] .work.bento #ibercaja .feat-stage {
    aspect-ratio: 2 / 1;
  }
  body[data-view="home"] .work.bento #ole .ol-fan {
    width: min(100cqw, 215px);
  }
}
@media (min-width: 900px) {
  body[data-view="home"] .work.bento :is(#esave, #bwatr) .frame-pos {
    left: 16px !important;
    right: clamp(150px, 13vw, 210px) !important;
  }
}
@media (min-width: 900px) {
  body[data-view="home"] .m3 .ab {
    align-items: stretch !important;
  }
  body[data-view="home"] .m3 .ab-card {
    height: 100%;
    align-self: stretch;
  }
  body[data-view="home"] .m3 .ab-ph {
    aspect-ratio: auto;
    height: 100%;
  }
}
body[data-view="home"] .m3 .ab-img {
  object-fit: cover;
  object-position: 50% 20%;
  filter: none;
}
body[data-view="home"] .m3 .ab-ph {
  position: relative;
}
@media (max-width: 899px) {
  body[data-view="home"] .m3 .ab-img {
    object-position: 50% 0;
  }
}
@media (min-width: 1000px) {
  body[data-view="home"] .hx .hx-copy {
    align-self: end;
    padding-bottom: 24px;
  }
}
body[data-view="home"] .m3 .ab-loc {
  padding-left: 0;
  padding-right: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
@media (max-width: 899px) {
  body[data-view="home"] .m3 .ab-ph {
    aspect-ratio: 4 / 5;
  }
  body[data-view="home"] .m3 .ab-img {
    object-position: 50% 0;
  }
}
body[data-view="home"] .m3 .ab-img {
  transform: scale(1.14) !important;
  transform-origin: 50% 24% !important;
}
@media (min-width: 821px) {
  html body[data-view="home"] .work.bento :is(#esave, #bwatr) .frame-pos:not(#_) {
    --fw: calc(100% - 16px - clamp(150px, 13vw, 210px));
    left: auto !important;
    width: var(--fw);
    right: calc(clamp(24px, 3vw, 48px) + 0.07 * var(--fw)) !important;
  }
}
@media (max-width: 820px) {
  html body[data-view="home"] .work.bento :is(#esave, #bwatr) .frame-pos:not(#_) {
    left: auto !important;
    right: auto !important;
    width: calc((100% - 48px) / 1.14);
    margin: 0 auto !important;
  }
}
/* Sobre mí: la foto mide de alto lo mismo que el texto y se ve entera (cabeza y camisa), apoyada en la base sobre el beige de su fondo */
html body[data-view="home"] .m3 .ab-ph:not(#_) {
  background: #f2f3f0;
}
html body[data-view="home"] .m3 .ab-img:not(#_):not(#_) {
  object-fit: contain;
  object-position: 50% 100%;
  transform: none !important;
}
@media (min-width: 900px) {
  html body[data-view="home"] .m3 .ab-card:not(#_) {
    position: relative;
    align-self: stretch;
    min-height: 0;
  }
  html body[data-view="home"] .m3 .ab-ph:not(#_) {
    position: absolute;
    inset: 0;
    height: auto;
    aspect-ratio: auto;
  }
}
@media (max-width: 899px) {
  html body[data-view="home"] .m3 .ab-ph:not(#_) {
    aspect-ratio: 1027 / 984;
  }
}
