@font-face {
  font-family: "PixelHand";
  src: url("./assets/hand.woff2") format("woff2");
  font-display: swap;
}

:root {
  --paper: #f6f6f4;
  --paper-strong: rgba(246, 246, 244, 0.9);
  --ink: #141414;
  --muted: #6d6d6d;
  --pill: #ebebea;
  --pill-text: #2f2f2f;
  --shadow-soft: 0 28px 60px rgba(0, 0, 0, 0.12);
  --shadow-image: 0 26px 48px rgba(0, 0, 0, 0.16);
  --ease-spring: cubic-bezier(0.2, 0.88, 0.18, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: Inter, "SF Pro Display", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

.showcase {
  position: relative;
  width: 100%;
  min-height: 100vh;
  isolation: isolate;
}

.pattern-field {
  position: absolute;
  inset: 7vh 16vw auto;
  height: 56vh;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.08) 1.1px, transparent 1.1px);
  background-size: 18px 18px;
  opacity: 0.45;
  pointer-events: none;
}

.base-layer,
.focus-layer {
  position: relative;
  width: min(1380px, 100%);
  min-height: 100vh;
  margin: 0 auto;
}

.base-layer {
  z-index: 1;
  transition:
    filter 0.56s var(--ease-spring),
    opacity 0.42s ease,
    transform 0.56s var(--ease-spring);
}

.hero-copy {
  position: absolute;
  top: 11.5vh;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero-copy h1 {
  font-family: "PixelHand", "Comic Sans MS", cursive;
  font-size: clamp(48px, 4.1vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #6a6a6a;
}

.launcher-row {
  position: absolute;
  inset: 42.4vh 0 auto;
  display: flex;
  justify-content: center;
  gap: clamp(32px, 4vw, 74px);
  padding: 0 36px;
}

.launcher-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  min-width: 164px;
  cursor: pointer;
  transition: transform 0.45s var(--ease-spring), opacity 0.35s ease;
}

.launcher-icon {
  width: 110px;
  height: 110px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  transform-origin: center;
  transition:
    transform 0.5s var(--ease-spring),
    filter 0.45s ease;
}

.portal-frame {
  padding: 6px;
}

.launcher-avatar {
  width: 116px;
  height: 116px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.launcher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.launcher-rivero {
  width: 118px;
  height: 118px;
  border-radius: 0;
  overflow: visible;
}

.launcher-rivero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.12));
}

.launcher-pill {
  position: relative;
  min-width: 76px;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(231, 231, 231, 0.95);
  color: var(--pill-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition:
    background 0.35s ease,
    transform 0.35s ease,
    color 0.3s ease;
}

.pill-default,
.pill-hover {
  display: block;
  transition: transform 0.35s ease, opacity 0.26s ease;
}

.pill-hover {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, 52%);
  opacity: 0;
}

.launcher-card:hover .launcher-icon,
.launcher-card:focus-visible .launcher-icon,
.launcher-card.is-active .launcher-icon,
body[data-active-scene="servicios"] .launcher-card[data-scene="servicios"] .launcher-icon,
body[data-active-scene="webs"] .launcher-card[data-scene="webs"] .launcher-icon,
body[data-active-scene="apps"] .launcher-card[data-scene="apps"] .launcher-icon,
body[data-active-scene="cuanto"] .launcher-card[data-scene="cuanto"] .launcher-icon,
body[data-active-scene="sobre"] .launcher-card[data-scene="sobre"] .launcher-icon {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.08));
}

.launcher-card:hover .pill-default,
.launcher-card:focus-visible .pill-default,
.launcher-card.is-active .pill-default {
  opacity: 0;
  transform: translateY(-11px);
}

.launcher-card:hover .pill-hover,
.launcher-card:focus-visible .pill-hover,
.launcher-card.is-active .pill-hover {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.launcher-card:hover .launcher-pill,
.launcher-card:focus-visible .launcher-pill,
.launcher-card.is-active .launcher-pill {
  background: #e2e2e2;
}

.bio-copy {
  position: absolute;
  inset: auto 0 12.4vh;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}

.bio-copy p {
  width: min(520px, 100%);
  text-align: center;
  color: #757575;
  font-size: clamp(19px, 1.52vw, 27px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.blur-overlay {
  position: absolute;
  inset: 0;
  background: rgba(246, 246, 244, 0.34);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.38s ease;
}

.focus-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.focus-scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  pointer-events: none;
  transition:
    opacity 0.44s ease,
    transform 0.7s var(--ease-spring);
}

.focus-scene::before {
  content: "";
  position: absolute;
  inset: 0;
}

.scene-visual,
.scene-copy {
  position: absolute;
}

.scene-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  pointer-events: none;
}

.scene-copy-icon {
  width: 82px;
  height: auto;
}

.scene-copy h2 {
  font-size: clamp(48px, 4.1vw, 76px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.scene-copy p {
  max-width: 430px;
  color: #262626;
  font-size: clamp(20px, 1.56vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.title-serif {
  font-family: "Iowan Old Style", "Baskerville", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.scene-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(232, 232, 232, 0.92);
  color: #282828;
  font-weight: 600;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  cursor: pointer;
  pointer-events: none;
  text-decoration: none;
  transition: transform 0.3s var(--ease-spring), background 0.25s ease;
}

.focus-scene.is-active .scene-button,
.focus-scene.is-active .scene-close {
  pointer-events: auto;
}

.scene-button:hover,
.scene-button:focus-visible {
  transform: translateY(-1px);
  background: rgba(224, 224, 224, 0.98);
}

.scene-close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.portal-visual {
  left: 128px;
  top: 72px;
  width: 470px;
  height: 430px;
}

.portal-card {
  position: absolute;
  width: 300px;
  filter: drop-shadow(var(--shadow-image));
}

.portal-card-back {
  left: 10px;
  top: 60px;
  transform: rotate(-7deg);
}

.portal-card-front {
  left: 148px;
  top: 10px;
  transform: rotate(6deg);
}

.portal-chip {
  position: absolute;
  left: 50%;
  top: 230px;
  width: 130px;
  transform: translateX(-50%) rotate(20deg);
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.18));
}

.portal-mini-icon {
  position: absolute;
  left: 50%;
  top: 280px;
  width: 86px;
  transform: translateX(-50%);
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.15));
}

.portal-copy {
  left: 220px;
  top: 448px;
  width: 360px;
}

.portal-copy .scene-copy-icon {
  width: 86px;
}

.droppable-visual {
  left: 50%;
  top: 22px;
  width: 650px;
  height: 430px;
  transform: translateX(-50%);
}

.web-hover-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform-origin: center bottom;
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.16));
}

.drop-screen {
  position: absolute;
  width: 274px;
  filter: drop-shadow(var(--shadow-image));
}

.drop-screen-left {
  left: 48px;
  top: 74px;
  transform: rotate(-12deg);
}

.drop-screen-right {
  left: 225px;
  top: 34px;
  transform: rotate(2deg);
}

.drop-sticker {
  position: absolute;
  width: 44px;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.12));
}

.drop-sticker-left {
  --scene-enter-to: rotate(-8deg);
  left: 132px;
  top: 0;
  transform: rotate(-8deg);
}

.drop-sticker-right {
  --scene-enter-to: rotate(-9deg);
  left: 322px;
  top: -12px;
  width: 56px;
  transform: rotate(-9deg);
}

.droppable-copy {
  left: 50%;
  top: 430px;
  width: 360px;
  transform: translateX(-50%);
}

.droppable-copy p {
  max-width: 310px;
}

.appstacks-visual {
  right: 158px;
  top: 50px;
  width: 620px;
  height: 390px;
}

.app-screen {
  position: absolute;
  width: 382px;
  filter: drop-shadow(var(--shadow-image));
}

.app-screen-left {
  left: 94px;
  top: 60px;
  transform: rotate(-6deg);
}

.app-screen-right {
  left: 183px;
  top: 30px;
  transform: rotate(0.5deg);
}

.app-badge-ring {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 160px;
  height: 250px;
}

.app-badge {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
}

.badge-one {
  top: 0;
  right: 18px;
}

.badge-two {
  top: 84px;
  right: 0;
}

.badge-three {
  top: 130px;
  right: 64px;
}

.badge-four {
  top: 176px;
  right: 26px;
}

.badge-five {
  top: 196px;
  right: 95px;
}

.appstacks-copy {
  left: 50%;
  top: 392px;
  width: 452px;
  transform: translateX(-50%);
}

.appstacks-copy p {
  max-width: 388px;
}

.collab-visual {
  right: 144px;
  top: 42px;
  width: 430px;
  height: 330px;
}

.roman-cutout {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 268px;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.16));
}

.rivero-hover-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  --scene-enter-to: translateY(0) scale(1) rotate(0deg);
  transform: translateY(18px) scale(0.9) rotate(2deg);
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.12));
}

.smiley-sticker {
  position: absolute;
  right: 0;
  bottom: 96px;
  width: 58px;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.14));
}

.speech-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 18px;
  background: #8162d6;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 0.98;
  box-shadow: 0 14px 20px rgba(95, 70, 180, 0.2);
}

.speech-badge::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 14px;
  width: 14px;
  height: 14px;
  background: inherit;
  transform: rotate(45deg);
  border-radius: 3px;
}

.badge-export {
  top: 10px;
  left: 76px;
  transform: rotate(13deg);
}

.badge-code {
  top: 0;
  right: 0;
  transform: rotate(11deg);
}

.badge-detach {
  top: 238px;
  left: 92px;
  padding: 8px 12px;
  background: #a6c2f3;
  color: #2c4f95;
  transform: rotate(-12deg);
}

.collab-copy {
  right: 94px;
  top: 368px;
  width: 520px;
  gap: 10px;
}

.collab-copy p {
  max-width: 500px;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.collab-copy h2 {
  max-width: 500px;
}

.collab-copy .about-kicker {
  max-width: 430px;
  font-family: "PixelHand", "Comic Sans MS", cursive;
  font-size: clamp(26px, 1.9vw, 34px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #696969;
}

.collab-copy .about-body {
  max-width: 470px;
  color: #252525;
  font-size: clamp(18px, 1.42vw, 24px);
  line-height: 1.1;
  letter-spacing: -0.034em;
}

.collab-copy .scene-button {
  margin-top: 18px;
}

.footer-dock {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 8;
  transition: opacity 0.3s ease;
}

.footer-shell {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 0;
}

.footer-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(231, 231, 231, 0.92);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

.footer-toggle span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #878787;
}

.footer-links {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translate(-50%, 10px) scale(0.96);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: min(760px, calc(100vw - 32px));
  padding: 26px 28px 20px;
  border-radius: 42px;
  background: rgba(225, 225, 225, 0.92);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.06);
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.32s var(--ease-spring);
}

.footer-links::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}

.footer-links a {
  color: #111;
  text-decoration: none;
}

.footer-shell:hover .footer-links,
.footer-shell:focus-within .footer-links,
.footer-shell.is-open .footer-links {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}

.footer-social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.footer-social-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: transform 0.28s var(--ease-spring), background 0.2s ease;
}

.footer-social-link-mail .footer-social-icon {
  background: #1473ff;
}

.footer-social-instagram {
  background:
    radial-gradient(circle at 30% 110%, #feda75 0, #feda75 12%, #fa7e1e 28%, #d62976 56%, #962fbf 78%, #4f5bd5 100%);
}

.footer-social-label {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: center;
}

.footer-social-link:hover .footer-social-icon,
.footer-social-link:focus-visible .footer-social-icon {
  transform: translateY(-2px) scale(1.03);
}

body[data-active-scene]:not([data-active-scene="home"]) .base-layer {
  opacity: 0.24;
  transform: scale(0.996);
  filter: blur(13px);
}

body[data-active-scene]:not([data-active-scene="home"]) .blur-overlay {
  opacity: 1;
}

body[data-active-scene]:not([data-active-scene="home"]) .footer-dock {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body[data-active-scene="servicios"] [data-scene-panel="servicios"],
body[data-active-scene="webs"] [data-scene-panel="webs"],
body[data-active-scene="apps"] [data-scene-panel="apps"],
body[data-active-scene="cuanto"] [data-scene-panel="cuanto"],
body[data-active-scene="sobre"] [data-scene-panel="sobre"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body[data-active-scene="servicios"] [data-scene-panel="servicios"] .scene-visual>*,
body[data-active-scene="webs"] [data-scene-panel="webs"] .scene-visual>*,
body[data-active-scene="apps"] [data-scene-panel="apps"] .scene-visual>*,
body[data-active-scene="cuanto"] [data-scene-panel="cuanto"] .scene-visual>*,
body[data-active-scene="sobre"] [data-scene-panel="sobre"] .scene-visual>*,
body[data-active-scene="servicios"] [data-scene-panel="servicios"] .scene-copy>*,
body[data-active-scene="webs"] [data-scene-panel="webs"] .scene-copy>*,
body[data-active-scene="apps"] [data-scene-panel="apps"] .scene-copy>*,
body[data-active-scene="cuanto"] [data-scene-panel="cuanto"] .scene-copy>*,
body[data-active-scene="sobre"] [data-scene-panel="sobre"] .scene-copy>* {
  opacity: 1;
  transform: var(--scene-enter-to, translateY(0) scale(1));
}

.scene-visual>*,
.scene-copy>* {
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  transition-delay: 0s;
  transition:
    opacity 0.4s ease,
    transform 0.74s var(--ease-spring);
}

.portal-card-back,
.portal-card-front,
.drop-screen-left,
.drop-screen-right,
.web-hover-card,
.app-screen-left,
.app-screen-right,
.rivero-hover-card,
.speech-badge,
.roman-cutout,
.smiley-sticker {
  transition:
    opacity 0.42s ease,
    transform 0.8s var(--ease-spring);
}

.portal-card-back {
  --scene-enter-to: rotate(-7deg);
  transform: translateY(28px) scale(0.78) rotate(-14deg);
}

.portal-card-front {
  --scene-enter-to: rotate(6deg);
  transform: translateY(28px) scale(0.8) rotate(14deg);
}

.portal-chip {
  --scene-enter-to: rotate(20deg);
  transform: translateY(18px) scale(0.62) rotate(24deg);
}

.drop-screen-left {
  --scene-enter-to: rotate(-12deg);
  transform: translateY(20px) scale(0.82) rotate(-18deg);
}

.drop-screen-right {
  --scene-enter-to: rotate(2deg);
  transform: translateY(20px) scale(0.84) rotate(7deg);
}

.web-hover-card {
  --scene-enter-to: rotate(-1.5deg);
  transform: translateY(24px) scale(0.86) rotate(-8deg);
}

.app-screen-left {
  --scene-enter-to: rotate(-6deg);
  transform: translateY(20px) scale(0.86) rotate(-11deg);
}

.app-screen-right {
  --scene-enter-to: rotate(0.5deg);
  transform: translateY(20px) scale(0.88) rotate(7deg);
}

.app-badge {
  --scene-enter-to: scale(1);
  transform: scale(0.4);
}

.roman-cutout {
  --scene-enter-to: translateY(0) scale(1);
  transform: translateY(22px) scale(0.86);
}

.smiley-sticker {
  --scene-enter-to: translateY(0) scale(1);
  transform: translateY(14px) scale(0.5);
}

.speech-badge {
  --scene-enter-to: translateY(0) scale(1);
  transform: translateY(10px) scale(0.65);
}

.badge-export {
  --scene-enter-to: rotate(13deg);
}

.badge-code {
  --scene-enter-to: rotate(11deg);
}

.badge-detach {
  --scene-enter-to: rotate(-12deg);
}

body[data-active-scene="servicios"] [data-scene-panel="servicios"] .scene-visual>*:nth-child(1),
body[data-active-scene="webs"] [data-scene-panel="webs"] .scene-visual>*:nth-child(1),
body[data-active-scene="apps"] [data-scene-panel="apps"] .scene-visual>*:nth-child(1),
body[data-active-scene="cuanto"] [data-scene-panel="cuanto"] .scene-visual>*:nth-child(1),
body[data-active-scene="sobre"] [data-scene-panel="sobre"] .scene-visual>*:nth-child(1),
body[data-active-scene="servicios"] [data-scene-panel="servicios"] .scene-copy>*:nth-child(1),
body[data-active-scene="webs"] [data-scene-panel="webs"] .scene-copy>*:nth-child(1),
body[data-active-scene="apps"] [data-scene-panel="apps"] .scene-copy>*:nth-child(1),
body[data-active-scene="cuanto"] [data-scene-panel="cuanto"] .scene-copy>*:nth-child(1),
body[data-active-scene="sobre"] [data-scene-panel="sobre"] .scene-copy>*:nth-child(1) {
  transition-delay: 0.04s;
}

body[data-active-scene="servicios"] [data-scene-panel="servicios"] .scene-visual>*:nth-child(2),
body[data-active-scene="webs"] [data-scene-panel="webs"] .scene-visual>*:nth-child(2),
body[data-active-scene="apps"] [data-scene-panel="apps"] .scene-visual>*:nth-child(2),
body[data-active-scene="cuanto"] [data-scene-panel="cuanto"] .scene-visual>*:nth-child(2),
body[data-active-scene="sobre"] [data-scene-panel="sobre"] .scene-visual>*:nth-child(2),
body[data-active-scene="servicios"] [data-scene-panel="servicios"] .scene-copy>*:nth-child(2),
body[data-active-scene="webs"] [data-scene-panel="webs"] .scene-copy>*:nth-child(2),
body[data-active-scene="apps"] [data-scene-panel="apps"] .scene-copy>*:nth-child(2),
body[data-active-scene="cuanto"] [data-scene-panel="cuanto"] .scene-copy>*:nth-child(2),
body[data-active-scene="sobre"] [data-scene-panel="sobre"] .scene-copy>*:nth-child(2) {
  transition-delay: 0.1s;
}

body[data-active-scene="servicios"] [data-scene-panel="servicios"] .scene-visual>*:nth-child(3),
body[data-active-scene="webs"] [data-scene-panel="webs"] .scene-visual>*:nth-child(3),
body[data-active-scene="apps"] [data-scene-panel="apps"] .scene-visual>*:nth-child(3),
body[data-active-scene="cuanto"] [data-scene-panel="cuanto"] .scene-visual>*:nth-child(3),
body[data-active-scene="sobre"] [data-scene-panel="sobre"] .scene-visual>*:nth-child(3),
body[data-active-scene="servicios"] [data-scene-panel="servicios"] .scene-copy>*:nth-child(3),
body[data-active-scene="webs"] [data-scene-panel="webs"] .scene-copy>*:nth-child(3),
body[data-active-scene="apps"] [data-scene-panel="apps"] .scene-copy>*:nth-child(3),
body[data-active-scene="cuanto"] [data-scene-panel="cuanto"] .scene-copy>*:nth-child(3),
body[data-active-scene="sobre"] [data-scene-panel="sobre"] .scene-copy>*:nth-child(3) {
  transition-delay: 0.16s;
}

body[data-active-scene="servicios"] [data-scene-panel="servicios"] .scene-visual>*:nth-child(4),
body[data-active-scene="webs"] [data-scene-panel="webs"] .scene-visual>*:nth-child(4),
body[data-active-scene="apps"] [data-scene-panel="apps"] .scene-visual>*:nth-child(4),
body[data-active-scene="cuanto"] [data-scene-panel="cuanto"] .scene-visual>*:nth-child(4),
body[data-active-scene="sobre"] [data-scene-panel="sobre"] .scene-visual>*:nth-child(4),
body[data-active-scene="servicios"] [data-scene-panel="servicios"] .scene-copy>*:nth-child(4),
body[data-active-scene="webs"] [data-scene-panel="webs"] .scene-copy>*:nth-child(4),
body[data-active-scene="apps"] [data-scene-panel="apps"] .scene-copy>*:nth-child(4),
body[data-active-scene="cuanto"] [data-scene-panel="cuanto"] .scene-copy>*:nth-child(4),
body[data-active-scene="sobre"] [data-scene-panel="sobre"] .scene-copy>*:nth-child(4) {
  transition-delay: 0.22s;
}

@media (max-width: 1180px) {
  body {
    overflow-y: auto;
  }

  .showcase,
  .base-layer,
  .focus-layer {
    min-height: 980px;
  }

  .pattern-field {
    inset: 48px 32px auto;
    height: 390px;
  }

  .hero-copy {
    top: 54px;
  }

  .launcher-row {
    inset: 300px 0 auto;
    gap: 28px;
    flex-wrap: wrap;
  }

  .bio-copy {
    inset: auto 0 178px;
  }

  .portal-visual,
  .droppable-visual,
  .appstacks-visual,
  .collab-visual,
  .portal-copy,
  .droppable-copy,
  .appstacks-copy,
  .collab-copy {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .portal-visual {
    top: 120px;
  }

  .portal-copy {
    top: 560px;
  }

  .droppable-visual {
    top: 96px;
    width: 620px;
    height: 414px;
  }

  .droppable-copy {
    top: 534px;
  }

  .appstacks-visual {
    top: 138px;
    width: 540px;
  }

  .app-screen {
    width: 338px;
  }

  .appstacks-copy {
    top: 572px;
  }

  .collab-visual {
    top: 122px;
  }

  .collab-copy {
    top: 584px;
    width: min(500px, calc(100vw - 40px));
  }
}

@media (max-width: 820px) {
  body {
    overflow-y: auto;
  }

  .showcase,
  .base-layer,
  .focus-layer {
    min-height: 1120px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 11vw, 52px);
  }

  .pattern-field {
    inset: 40px 18px auto;
    height: 330px;
    opacity: 0.38;
  }

  .launcher-row {
    inset: 248px 0 auto;
    gap: 22px 18px;
  }

  .launcher-card {
    min-width: 136px;
  }

  .launcher-icon {
    width: 88px;
    height: 88px;
  }

  .launcher-avatar {
    width: 94px;
    height: 94px;
  }

  .launcher-rivero {
    width: 98px;
    height: 98px;
  }

  .launcher-pill {
    font-size: 13px;
    padding: 10px 14px;
  }

  .bio-copy {
    inset: auto 0 188px;
  }

  .bio-copy p {
    width: min(540px, calc(100vw - 38px));
    font-size: clamp(16px, 4.2vw, 21px);
    line-height: 1.12;
  }

  .focus-scene {
    padding: 38px 16px 140px;
  }

  .scene-close {
    display: inline-grid;
    place-items: center;
  }

  .scene-visual,
  .scene-copy {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    transform: none;
    margin: 0 auto;
  }

  .portal-visual,
  .droppable-visual,
  .appstacks-visual,
  .collab-visual {
    max-width: 520px;
    height: 330px;
  }

  .portal-copy,
  .droppable-copy,
  .appstacks-copy,
  .collab-copy {
    width: min(440px, 100%);
    margin-top: 10px;
  }

  .portal-card {
    width: 228px;
  }

  .portal-card-back {
    left: 6px;
    top: 76px;
  }

  .portal-card-front {
    left: 142px;
    top: 20px;
  }

  .portal-chip {
    left: 152px;
    top: 206px;
    width: 120px;
  }

  .portal-mini-icon {
    left: 112px;
    top: 244px;
    width: 78px;
  }

  .droppable-visual {
    max-width: 500px;
    height: 336px;
  }

  .web-hover-card {
    object-position: center top;
  }

  .drop-screen {
    width: 238px;
  }

  .drop-screen-left {
    left: 18px;
    top: 88px;
  }

  .drop-screen-right {
    left: 178px;
    top: 38px;
  }

  .drop-sticker-left {
    left: 110px;
  }

  .drop-sticker-right {
    left: 286px;
  }

  .appstacks-visual {
    max-width: 500px;
    height: 310px;
  }

  .app-screen {
    width: 270px;
  }

  .app-screen-left {
    left: 56px;
    top: 48px;
  }

  .app-screen-right {
    left: 130px;
    top: 30px;
  }

  .app-badge-ring {
    right: 0;
    top: 4px;
    transform: scale(0.82);
    transform-origin: top right;
  }

  .collab-visual {
    max-width: 420px;
    height: 320px;
  }

  .roman-cutout {
    width: 222px;
    right: 32px;
  }

  .rivero-hover-card {
    object-position: center top;
  }

  .badge-export {
    left: 48px;
  }

  .badge-code {
    right: 16px;
  }

  .badge-detach {
    left: 60px;
    top: 206px;
  }

  .smiley-sticker {
    right: 18px;
    bottom: 50px;
  }

  .collab-copy h2 {
    font-size: clamp(42px, 10vw, 56px);
  }

  .collab-copy p {
    font-size: clamp(16px, 4.8vw, 22px);
  }

  .collab-copy .about-kicker {
    font-size: clamp(22px, 5vw, 30px);
  }
}

@media (max-width: 820px), (hover: none), (pointer: coarse) {
  body {
    overflow-y: auto;
  }

  .showcase,
  .base-layer {
    min-height: auto;
  }

  .showcase {
    padding: 34px 0 48px;
  }

  .base-layer {
    position: relative;
    width: min(100%, 460px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px 0;
  }

  .pattern-field {
    inset: 70px 50% auto;
    width: min(320px, calc(100vw - 40px));
    height: 620px;
    transform: translateX(-50%);
    opacity: 0.34;
  }

  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(328px, 100%);
    margin: 0 auto 108px;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(20px, 7.2vw, 30px);
    line-height: 1.02;
    letter-spacing: -0.04em;
  }

  .hero-copy h1 br {
    display: none;
  }

  .launcher-row {
    position: relative;
    inset: auto;
    width: min(340px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    justify-items: center;
    gap: 28px 18px;
    padding: 0;
    margin: 0 auto;
  }

  .launcher-card {
    min-width: 0;
    width: 100%;
    gap: 12px;
  }

  .launcher-card[data-scene="sobre"] {
    grid-column: 1 / -1;
    width: min(170px, 100%);
  }

  .launcher-icon {
    width: 92px;
    height: 92px;
  }

  .launcher-rivero {
    width: 78px;
    height: 92px;
  }

  .launcher-pill {
    min-width: 0;
    width: auto;
    max-width: 100%;
    font-size: 13px;
    padding: 10px 16px;
  }

  .bio-copy {
    position: relative;
    inset: auto;
    display: block;
    width: min(340px, 100%);
    padding: 0;
    margin: 54px auto 0;
  }

  .bio-copy p {
    width: auto;
    font-size: clamp(16px, 4.8vw, 20px);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .footer-dock {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    margin: 36px auto 0;
  }

  .blur-overlay,
  .focus-layer {
    display: none;
  }

  .launcher-card,
  .launcher-icon,
  .launcher-pill,
  .base-layer {
    transition: none !important;
  }

  .pill-hover {
    display: none;
  }

  .launcher-card:hover .launcher-icon,
  .launcher-card:focus-visible .launcher-icon,
  .launcher-card.is-active .launcher-icon,
  body[data-active-scene="servicios"] .launcher-card[data-scene="servicios"] .launcher-icon,
  body[data-active-scene="webs"] .launcher-card[data-scene="webs"] .launcher-icon,
  body[data-active-scene="apps"] .launcher-card[data-scene="apps"] .launcher-icon,
  body[data-active-scene="cuanto"] .launcher-card[data-scene="cuanto"] .launcher-icon,
  body[data-active-scene="sobre"] .launcher-card[data-scene="sobre"] .launcher-icon {
    transform: none;
    filter: none;
  }

  .launcher-card:hover .pill-default,
  .launcher-card:focus-visible .pill-default,
  .launcher-card.is-active .pill-default,
  .launcher-card:hover .pill-hover,
  .launcher-card:focus-visible .pill-hover,
  .launcher-card.is-active .pill-hover {
    opacity: 1;
    transform: none;
  }

  .launcher-card:hover .launcher-pill,
  .launcher-card:focus-visible .launcher-pill,
  .launcher-card.is-active .launcher-pill {
    background: rgba(231, 231, 231, 0.95);
  }

  body[data-active-scene]:not([data-active-scene="home"]) .base-layer {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

body.about-page {
  overflow-x: hidden;
  overflow-y: auto;
}

.about-layout {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 28px 0 72px;
}

.about-pattern {
  inset: 88px 50% auto;
  width: min(980px, calc(100% - 40px));
  height: 760px;
  transform: translateX(-50%);
  opacity: 0.34;
}

.about-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.about-chip,
.about-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(232, 232, 232, 0.94);
  color: #252525;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.28s var(--ease-spring), background 0.2s ease;
}

.about-chip:hover,
.about-chip:focus-visible,
.about-action:hover,
.about-action:focus-visible {
  transform: translateY(-1px);
  background: rgba(224, 224, 224, 0.98);
}

.about-panel {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding: 34px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 34px;
  background: rgba(247, 247, 245, 0.78);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-note,
.about-eyebrow {
  font-family: "PixelHand", "Comic Sans MS", cursive;
  color: #6a6a6a;
  letter-spacing: -0.03em;
}

.about-note {
  font-size: clamp(26px, 2.3vw, 38px);
  line-height: 0.98;
}

.about-eyebrow {
  display: inline-block;
  font-size: 24px;
  line-height: 1;
}

.about-hero-panel {
  padding-top: 30px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 36px;
  align-items: center;
  margin-top: 22px;
}

.about-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.about-copy h1,
.about-section-head h2,
.about-contact-panel h2 {
  font-size: clamp(46px, 4.5vw, 72px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.about-copy p,
.about-section-head p,
.about-contact-panel p {
  max-width: 640px;
  color: #2a2a2a;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.about-action-primary {
  background: #1a1a1a;
  color: #f5f5f2;
  box-shadow: none;
}

.about-action-primary:hover,
.about-action-primary:focus-visible {
  background: #2c2c2c;
}

.about-visual-card {
  position: relative;
  min-height: 520px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.08);
}

.about-portrait {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, 0.14));
}

.about-projects-panel {
  padding-bottom: 30px;
}

.about-section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 760px;
}

.about-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.about-project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.06);
  transition: transform 0.32s var(--ease-spring), box-shadow 0.22s ease;
}

.about-project-card:hover,
.about-project-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.08);
}

.about-project-image {
  width: 100%;
  aspect-ratio: 1.34;
  object-fit: cover;
  object-position: center;
  background: #efefec;
}

.about-project-copy {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 22px;
}

.about-project-copy h3 {
  font-size: 28px;
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.about-project-copy p {
  margin-top: 8px;
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-project-icon,
.about-project-clock {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
}

.about-project-clock svg {
  display: block;
  width: 100%;
  height: 100%;
}

.about-contact-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.about-connect-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: min(100%, 860px);
  padding: 36px 24px 40px;
  border-radius: 42px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.about-connect-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: #1473ff;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-connect-card p {
  max-width: 640px;
}

.about-contact-meta {
  max-width: 620px;
  color: #6f6f6f;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.about-signoff {
  font-family: "PixelHand", "Comic Sans MS", cursive;
  color: #6a6a6a;
  font-size: clamp(40px, 4.4vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.about-footer-dock {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  margin: 4px auto 0;
}

@media (max-width: 980px) {
  .about-layout {
    width: min(100%, calc(100% - 24px));
    padding-top: 20px;
  }

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

  .about-visual-card {
    min-height: 420px;
    order: -1;
  }

  .about-project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .about-layout {
    width: calc(100% - 20px);
    padding-bottom: 40px;
  }

  .about-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .about-chip,
  .about-action {
    width: 100%;
  }

  .about-panel {
    padding: 24px 18px;
    border-radius: 26px;
  }

  .about-note {
    font-size: clamp(22px, 7vw, 30px);
  }

  .about-copy h1,
  .about-section-head h2,
  .about-contact-panel h2 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .about-copy p,
  .about-section-head p,
  .about-contact-panel p {
    font-size: 17px;
    line-height: 1.16;
  }

  .about-contact-meta {
    font-size: 17px;
  }

  .about-visual-card {
    min-height: 300px;
    padding: 16px;
  }

  .about-project-copy {
    align-items: flex-start;
  }

  .about-project-copy h3 {
    font-size: 24px;
  }

  .about-project-icon,
  .about-project-clock {
    width: 52px;
    height: 52px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(340px, calc(100vw - 24px));
    gap: 16px 12px;
    padding: 20px 16px 18px;
    border-radius: 30px;
  }

  .footer-social-icon,
  .about-connect-icon {
    width: 62px;
    height: 62px;
    font-size: 24px;
  }

  .footer-social-label {
    font-size: 15px;
  }

  .about-connect-card {
    padding: 24px 18px 28px;
    border-radius: 30px;
  }

  .about-signoff {
    font-size: clamp(34px, 10vw, 48px);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
