:root {
  --verde: #063d28;
  --verde-2: #0b5a3e;
  --crema: #f7efe2;
  --papel: #fffbf3;
  --rojo: #d70b18;
  --oro: #d99a25;
  --turquesa: #008d99;
  --tinta: #142019;
  --muted: #5c675f;
  --line: rgba(6, 61, 40, 0.18);
  --shadow: 0 24px 70px rgba(17, 24, 20, 0.18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.18, 1.25, 0.34, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--tinta);
  background:
    linear-gradient(90deg, rgba(6, 61, 40, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 61, 40, 0.05) 1px, transparent 1px),
    var(--crema);
  background-size: 42px 42px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
  animation: paperGrid 24s linear infinite;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto auto;
  place-content: center;
  align-items: center;
  gap: 18px;
  color: var(--papel);
  background:
    linear-gradient(90deg, rgba(217, 154, 37, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 251, 243, 0.08) 1px, transparent 1px),
    var(--verde);
  background-size: 44px 44px;
  transition:
    opacity 620ms var(--ease-out),
    transform 620ms var(--ease-out),
    visibility 620ms step-end;
}

.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  inset: 16%;
  border: 1px solid rgba(255, 251, 243, 0.12);
  transform: rotate(-4deg) scale(0.96);
  animation: loaderFrame 980ms var(--ease-out) infinite alternate;
}

.preloader::after {
  inset: 22%;
  border-color: rgba(215, 11, 24, 0.28);
  transform: rotate(4deg) scale(1);
  animation-delay: -360ms;
}

.preloader-mark {
  width: 72px;
  height: 72px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 2px solid rgba(255, 251, 243, 0.7);
  border-radius: 50%;
  background: var(--papel);
  animation: loaderMark 980ms var(--ease-spring) infinite alternate;
}

.preloader-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preloader > div:last-child {
  position: relative;
  z-index: 1;
}

.preloader span,
.preloader strong {
  display: block;
}

.preloader span {
  color: var(--oro);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.preloader strong {
  margin-top: 4px;
  font-size: clamp(24px, 4vw, 52px);
  line-height: 0.95;
  font-weight: 950;
}

body.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  pointer-events: none;
}

.custom-cursor {
  display: none;
}

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  opacity: 0.42;
}

.site-shell::before {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -130px;
  background:
    linear-gradient(45deg, transparent 0 42%, rgba(215, 11, 24, 0.18) 42% 55%, transparent 55%),
    linear-gradient(-45deg, transparent 0 45%, rgba(217, 154, 37, 0.22) 45% 56%, transparent 56%);
  transform: rotate(8deg);
  animation: textileCorner 9s var(--ease-in-out, ease-in-out) infinite alternate;
}

.site-shell::after {
  width: 420px;
  height: 420px;
  left: -170px;
  bottom: -160px;
  background:
    linear-gradient(45deg, transparent 0 47%, rgba(0, 141, 153, 0.16) 47% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 0 45%, rgba(6, 61, 40, 0.14) 45% 58%, transparent 58%);
  transform: rotate(-12deg);
  animation: textileCorner 11s ease-in-out infinite alternate-reverse;
}

.topbar {
  position: fixed;
  z-index: 40;
  top: 16px;
  left: 50%;
  width: min(1100px, calc(100% - 28px));
  min-height: 68px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 251, 243, 0.7);
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.86);
  box-shadow: 0 16px 44px rgba(6, 61, 40, 0.12);
  backdrop-filter: blur(18px);
  animation: topbarEnter 820ms var(--ease-out) both;
}

.scroll-progress {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(6, 61, 40, 0.1);
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--rojo), var(--oro), var(--turquesa));
  transform: scaleX(var(--scroll-progress, 0.02));
  transform-origin: left;
  transition: transform 160ms linear;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 950;
  color: var(--verde);
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--verde);
  transition:
    transform 450ms var(--ease-spring),
    box-shadow 450ms var(--ease-out);
}

.brand:hover img,
.brand:focus-visible img {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 10px 26px rgba(6, 61, 40, 0.18);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--verde);
  font-size: 14px;
  font-weight: 800;
}

.desktop-nav a {
  position: relative;
  overflow: hidden;
  padding: 11px 14px;
  border-radius: 8px;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease-out);
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--papel);
  background: var(--verde);
  outline: none;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--verde);
  background: rgba(255, 251, 243, 0.86);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(6, 61, 40, 0.1);
  transition:
    transform 240ms var(--ease-spring),
    background 180ms ease,
    color 180ms ease,
    box-shadow 240ms ease;
}

.icon-button:hover,
.icon-button:focus-visible {
  transform: translateY(-2px) rotate(-2deg);
  color: var(--papel);
  background: var(--verde);
  box-shadow: 0 16px 34px rgba(6, 61, 40, 0.18);
  outline: none;
}

.menu-toggle {
  display: none;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  z-index: 35;
  inset: 0;
  padding: 108px 24px 24px;
  background: rgba(255, 251, 243, 0.97);
}

.mobile-menu a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--verde);
  font-size: 25px;
  font-weight: 950;
}

.slide-rail {
  position: fixed;
  z-index: 30;
  top: 50%;
  left: 26px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rail-dot {
  width: 12px;
  height: 12px;
  position: relative;
  border: 2px solid rgba(6, 61, 40, 0.38);
  border-radius: 50%;
  background: var(--papel);
  transition:
    transform 260ms var(--ease-spring),
    background 180ms ease,
    border 180ms ease;
}

.rail-dot span {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  color: var(--verde);
  background: var(--papel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(6, 61, 40, 0.1);
}

.rail-dot:hover span,
.rail-dot:focus-visible span {
  opacity: 1;
}

.rail-dot.is-active {
  transform: scale(1.25);
  border-color: var(--rojo);
  background: var(--rojo);
  animation: railBeat 1.6s ease-in-out infinite;
}

.slides {
  height: 100vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
}

.slide {
  min-height: 100vh;
  scroll-snap-align: start;
  display: grid;
  place-items: center;
  position: relative;
  padding: 108px 24px 72px;
  isolation: isolate;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.58;
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(215, 11, 24, 0.12) 46% 49%, transparent 49% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(217, 154, 37, 0.16) 48% 51%, transparent 51% 100%);
  background-size: 220px 220px, 180px 180px;
  animation: textileDrift 22s linear infinite;
}

.slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, transparent 0 41%, rgba(6, 61, 40, 0.12) 41% 52%, transparent 52%),
    linear-gradient(-135deg, transparent 0 42%, rgba(215, 11, 24, 0.1) 42% 54%, transparent 54%);
  background-size: 170px 92px;
  transform: translateY(24px);
  transition:
    opacity 900ms var(--ease-out),
    transform 900ms var(--ease-out);
}

.slide.is-active::after {
  opacity: 1;
  transform: translateY(0);
}

.slide-content {
  width: min(1120px, 100%);
  position: relative;
  z-index: 1;
}

.motion-ready .slide .kicker,
.motion-ready .slide h1,
.motion-ready .slide h2,
.motion-ready .slide .hero-text,
.motion-ready .slide .section-copy,
.motion-ready .slide .section-heading > p:last-child,
.motion-ready .slide .hero-actions,
.motion-ready .slide .kinetic-strip,
.motion-ready .slide .product-controls,
.motion-ready .slide .product-frame,
.motion-ready .slide .floating-card,
.motion-ready .slide .product-card,
.motion-ready .slide .case-card,
.motion-ready .slide .project-proof,
.motion-ready .slide .commerce-card,
.motion-ready .slide .estimate-band,
.motion-ready .slide .estimate-card,
.motion-ready .slide .faq-strip article,
.motion-ready .slide .package-card,
.motion-ready .slide .commerce-cta,
.motion-ready .slide .timeline article,
.motion-ready .slide .brand-board,
.motion-ready .slide .metrics div,
.motion-ready .slide .cta-panel {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(34px) scale(0.985);
  transition:
    opacity 760ms var(--ease-out),
    filter 760ms var(--ease-out),
    transform 820ms var(--ease-spring);
}

.motion-ready .slide.is-active .kicker,
.motion-ready .slide.is-active h1,
.motion-ready .slide.is-active h2,
.motion-ready .slide.is-active .hero-text,
.motion-ready .slide.is-active .section-copy,
.motion-ready .slide.is-active .section-heading > p:last-child,
.motion-ready .slide.is-active .hero-actions,
.motion-ready .slide.is-active .kinetic-strip,
.motion-ready .slide.is-active .product-controls,
.motion-ready .slide.is-active .product-frame,
.motion-ready .slide.is-active .floating-card,
.motion-ready .slide.is-active .product-card,
.motion-ready .slide.is-active .case-card,
.motion-ready .slide.is-active .project-proof,
.motion-ready .slide.is-active .commerce-card,
.motion-ready .slide.is-active .estimate-band,
.motion-ready .slide.is-active .estimate-card,
.motion-ready .slide.is-active .faq-strip article,
.motion-ready .slide.is-active .package-card,
.motion-ready .slide.is-active .commerce-cta,
.motion-ready .slide.is-active .timeline article,
.motion-ready .slide.is-active .brand-board,
.motion-ready .slide.is-active .metrics div,
.motion-ready .slide.is-active .cta-panel {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.motion-ready .slide.is-active .kicker {
  transition-delay: 70ms;
}

.motion-ready .slide.is-active h1,
.motion-ready .slide.is-active h2 {
  transition-delay: 130ms;
}

.motion-ready .slide.is-active .hero-text,
.motion-ready .slide.is-active .section-copy,
.motion-ready .slide.is-active .section-heading > p:last-child {
  transition-delay: 210ms;
}

.motion-ready .slide.is-active .hero-actions {
  transition-delay: 300ms;
}

.motion-ready .slide.is-active .kinetic-strip,
.motion-ready .slide.is-active .product-controls,
.motion-ready .slide.is-active .project-proof,
.motion-ready .slide.is-active .estimate-band,
.motion-ready .slide.is-active .commerce-cta,
.motion-ready .slide.is-active .cta-panel {
  transition-delay: 390ms;
}

.motion-ready .slide.is-active .product-frame,
.motion-ready .slide.is-active .brand-board {
  transition-delay: 260ms;
}

.motion-ready .slide.is-active .floating-card,
.motion-ready .slide.is-active .timeline article:nth-child(1),
.motion-ready .slide.is-active .product-card:nth-child(1),
.motion-ready .slide.is-active .case-card:nth-child(1),
.motion-ready .slide.is-active .commerce-card:nth-child(1),
.motion-ready .slide.is-active .estimate-card:nth-child(1),
.motion-ready .slide.is-active .faq-strip article:nth-child(1),
.motion-ready .slide.is-active .package-card:nth-child(1),
.motion-ready .slide.is-active .metrics div:nth-child(1) {
  transition-delay: 420ms;
}

.motion-ready .slide.is-active .timeline article:nth-child(2),
.motion-ready .slide.is-active .product-card:nth-child(2),
.motion-ready .slide.is-active .case-card:nth-child(2),
.motion-ready .slide.is-active .commerce-card:nth-child(2),
.motion-ready .slide.is-active .estimate-card:nth-child(2),
.motion-ready .slide.is-active .faq-strip article:nth-child(2),
.motion-ready .slide.is-active .package-card:nth-child(2),
.motion-ready .slide.is-active .metrics div:nth-child(2) {
  transition-delay: 520ms;
}

.motion-ready .slide.is-active .timeline article:nth-child(3),
.motion-ready .slide.is-active .product-card:nth-child(3),
.motion-ready .slide.is-active .case-card:nth-child(3),
.motion-ready .slide.is-active .commerce-card:nth-child(3),
.motion-ready .slide.is-active .estimate-card:nth-child(3),
.motion-ready .slide.is-active .faq-strip article:nth-child(3),
.motion-ready .slide.is-active .package-card:nth-child(3),
.motion-ready .slide.is-active .metrics div:nth-child(3) {
  transition-delay: 620ms;
}

.motion-ready .slide.is-active .estimate-card:nth-child(4) {
  transition-delay: 700ms;
}

.motion-ready .slide.is-active .faq-strip article:nth-child(4) {
  transition-delay: 760ms;
}

.hero-grid,
.process-grid,
.trust-grid,
.order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: 48px;
}

.hero-copy,
.hero-stage,
.section-heading > *,
.slide-content > * {
  min-width: 0;
}

.kicker {
  margin: 0 0 12px;
  color: var(--rojo);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  max-width: 900px;
  color: var(--verde);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  font-size: 68px;
}

h2 {
  font-size: 54px;
}

h3 {
  margin: 0;
  color: var(--verde);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 950;
}

.hero-text,
.section-copy,
.section-heading p,
.product-card p,
.case-card p,
.project-proof p,
.commerce-card p,
.estimate-card span,
.commerce-cta p,
.timeline p,
.cta-panel p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.68;
}

.hero-text {
  margin: 22px 0 0;
  max-width: 640px;
}

.section-copy {
  margin: 24px 0 28px;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 14px 18px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 950;
  cursor: pointer;
  transition:
    transform 260ms var(--ease-spring),
    box-shadow 260ms ease,
    background 180ms ease,
    border 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: -120% -40%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.34) 48%, transparent 56%);
  transform: translateX(-70%) rotate(8deg);
  transition: transform 680ms var(--ease-out);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(70%) rotate(8deg);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px) scale(1.015);
  outline: none;
}

.button.primary {
  color: var(--papel);
  background: var(--verde);
  box-shadow: 0 16px 36px rgba(6, 61, 40, 0.22);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #052e1f;
  box-shadow: 0 20px 44px rgba(6, 61, 40, 0.3);
}

.button.ghost {
  color: var(--verde);
  border-color: var(--line);
  background: rgba(255, 251, 243, 0.64);
}

.button.full {
  width: 100%;
}

.kinetic-strip {
  width: 100%;
  max-width: min(620px, 100%);
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(6, 61, 40, 0.14);
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.68);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.kinetic-track {
  display: flex;
  width: max-content;
  gap: 10px;
  padding: 9px 12px;
  animation: kineticMove 16s linear infinite;
}

.kinetic-track span {
  flex: 0 0 auto;
  color: var(--verde);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.kinetic-track span::after {
  content: "/";
  margin-left: 10px;
  color: var(--rojo);
}

.hero-stage {
  min-height: 620px;
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1100px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
}

.product-frame {
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
  position: relative;
  border: 2px solid var(--verde);
  border-radius: 8px;
  overflow: hidden;
  background: var(--papel);
  box-shadow: var(--shadow);
  transform:
    translate3d(var(--shift-x), var(--shift-y), 0)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    rotate(1.5deg);
  transform-style: preserve-3d;
  transition:
    transform 220ms ease,
    box-shadow 420ms ease;
}

.motion-ready .slide.is-active .product-frame {
  transform:
    translate3d(var(--shift-x), var(--shift-y), 0)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    rotate(1.5deg);
}

.product-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 251, 243, 0.75);
  border-radius: 6px;
  pointer-events: none;
}

.product-frame::before {
  content: "";
  position: absolute;
  inset: -35% -65%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.55) 50%, transparent 58%);
  transform: translateX(-55%) rotate(10deg);
  animation: shineSweep 5.6s ease-in-out infinite;
}

.product-frame img,
.product-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 700ms var(--ease-out);
}

.hero-stage:hover .product-frame {
  box-shadow: 0 32px 82px rgba(6, 61, 40, 0.26);
}

.hero-stage:hover .product-frame img,
.hero-stage:hover .product-frame video {
  transform: scale(1.06);
}

.floating-card {
  position: absolute;
  width: 205px;
  padding: 14px;
  border: 1px solid rgba(255, 251, 243, 0.74);
  border-radius: 8px;
  color: var(--papel);
  background: rgba(6, 61, 40, 0.94);
  box-shadow: 0 18px 40px rgba(6, 61, 40, 0.22);
  transform: translate3d(0, 0, 42px);
  animation: cardFloat 4.8s ease-in-out infinite;
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card strong {
  font-size: 15px;
  font-weight: 950;
}

.floating-card span {
  margin-top: 5px;
  color: rgba(255, 251, 243, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.card-one {
  top: 70px;
  left: 0;
}

.card-two {
  right: 0;
  bottom: 72px;
  background: rgba(215, 11, 24, 0.95);
  animation-delay: -1.9s;
}

.motion-ready .slide.is-active .card-one {
  transform: translate3d(calc(var(--shift-x) * -0.32), calc(var(--shift-y) * -0.36), 44px);
}

.motion-ready .slide.is-active .card-two {
  transform: translate3d(calc(var(--shift-x) * 0.36), calc(var(--shift-y) * 0.32), 44px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p {
  margin: 0;
}

.product-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -12px 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-controls::-webkit-scrollbar {
  display: none;
}

.product-filter {
  min-height: 42px;
  flex: 0 0 auto;
  border: 1px solid rgba(6, 61, 40, 0.14);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--verde);
  background: rgba(255, 251, 243, 0.72);
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  transition:
    transform 240ms var(--ease-spring),
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.product-filter:hover,
.product-filter:focus-visible,
.product-filter.is-active {
  color: var(--papel);
  background: var(--verde);
  border-color: var(--verde);
  transform: translateY(-2px);
  outline: none;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.22fr 0.89fr 0.89fr;
  gap: 16px;
}

.product-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.88);
  box-shadow: 0 14px 36px rgba(6, 61, 40, 0.12);
  transition:
    transform 420ms var(--ease-spring),
    box-shadow 420ms ease,
    border-color 420ms ease;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(217, 154, 37, 0.12) 42% 46%, transparent 46%),
    linear-gradient(-135deg, transparent 0 45%, rgba(215, 11, 24, 0.08) 45% 49%, transparent 49%);
  background-size: 150px 150px;
  opacity: 0;
  transition: opacity 360ms ease;
}

.product-card img,
.product-card video {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  background: #fff;
  transition:
    transform 720ms var(--ease-out),
    filter 420ms ease;
}

.product-card.product-pin img,
.product-card.product-pin > video {
  object-position: center top;
}

.product-card.product-llavero img {
  object-position: center 42%;
}

.product-card.product-llavero > video {
  object-position: center;
}

.product-card.featured img,
.product-card.featured video {
  height: 300px;
}

.product-card div {
  padding: 18px;
}

.product-card p {
  margin: 12px 0 0;
  font-size: 15px;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-10px) rotate(-0.6deg);
  border-color: rgba(215, 11, 24, 0.28);
  box-shadow: 0 24px 58px rgba(6, 61, 40, 0.2);
}

.product-card.is-product-dimmed {
  opacity: 0.42;
  filter: saturate(0.78);
  transform: scale(0.985);
}

.product-card.is-product-highlight {
  border-color: rgba(215, 11, 24, 0.42);
  box-shadow: 0 28px 66px rgba(6, 61, 40, 0.22);
}

.product-card.is-touched,
.case-card.is-touched,
.commerce-card.is-touched,
.package-card.is-touched,
.estimate-card.is-touched,
.timeline article.is-touched {
  transform: translateY(-6px) scale(0.992);
}

.motion-ready .slide.is-active .product-card:hover,
.motion-ready .slide.is-active .product-card:focus-within {
  transform: translateY(-10px) rotate(-0.6deg);
}

.product-card:hover::after,
.product-card:focus-within::after {
  opacity: 1;
}

.product-card:hover > img,
.product-card:focus-within > img,
.product-card:hover > video,
.product-card:focus-within > video {
  transform: scale(1.075);
  filter: saturate(1.08) contrast(1.03);
}

.product-video,
.hero-video {
  display: block;
}

.product-cta {
  width: 100%;
  margin-top: 16px;
}

.product-tag {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--rojo);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.projects-slide {
  background: linear-gradient(180deg, rgba(6, 61, 40, 0.06), rgba(255, 251, 243, 0.2));
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.9);
  box-shadow: 0 16px 38px rgba(6, 61, 40, 0.13);
  transition:
    transform 420ms var(--ease-spring),
    box-shadow 420ms ease,
    border-color 420ms ease;
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(135deg, transparent 0 43%, rgba(217, 154, 37, 0.12) 43% 47%, transparent 47%),
    linear-gradient(-135deg, transparent 0 46%, rgba(0, 141, 153, 0.1) 46% 50%, transparent 50%);
  background-size: 150px 150px;
  transition: opacity 360ms ease;
}

.case-card:hover,
.case-card:focus-within {
  transform: translateY(-9px) rotate(-0.45deg);
  border-color: rgba(215, 11, 24, 0.28);
  box-shadow: 0 26px 62px rgba(6, 61, 40, 0.2);
}

.motion-ready .slide.is-active .case-card:hover,
.motion-ready .slide.is-active .case-card:focus-within {
  transform: translateY(-9px) rotate(-0.45deg);
}

.case-card:hover::after,
.case-card:focus-within::after {
  opacity: 1;
}

.case-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background:
    linear-gradient(135deg, rgba(6, 61, 40, 0.94), rgba(11, 90, 62, 0.9));
}

.case-media img {
  width: 100%;
  height: clamp(260px, 28vw, 360px);
  border-radius: 6px;
  object-fit: cover;
  transition:
    transform 720ms var(--ease-out),
    filter 420ms ease;
}

.case-card:hover .case-media img,
.case-card:focus-within .case-media img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.case-copy {
  padding: 20px;
}

.case-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--rojo);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.case-copy p {
  margin: 12px 0 0;
  font-size: 15px;
}

.project-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(6, 61, 40, 0.16);
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.92);
  box-shadow: 0 14px 32px rgba(6, 61, 40, 0.1);
}

.project-proof strong {
  color: var(--verde);
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.project-proof p {
  margin: 0;
  max-width: 660px;
  font-size: 15px;
}

.commerce-slide {
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.3), rgba(217, 154, 37, 0.08));
}

.commerce-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  gap: 14px;
}

.commerce-card {
  min-height: 270px;
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.9);
  box-shadow: 0 16px 38px rgba(6, 61, 40, 0.12);
  transition:
    transform 380ms var(--ease-spring),
    box-shadow 380ms ease,
    border-color 380ms ease;
}

.commerce-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--oro);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 680ms var(--ease-out);
}

.slide.is-active .commerce-card::before,
.commerce-card.is-mobile-revealed::before {
  transform: scaleY(1);
}

.commerce-card::after {
  content: "";
  position: absolute;
  inset: -40% -55%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.46) 50%, transparent 58%);
  transform: translateX(-42%) rotate(12deg);
}

.slide.is-active .commerce-card::after,
.commerce-card.is-mobile-revealed::after {
  animation: mobileShineOnce 1400ms ease-out 360ms both;
}

.commerce-card.is-featured {
  color: var(--papel);
  background:
    linear-gradient(135deg, rgba(215, 11, 24, 0.1), transparent 48%),
    var(--verde);
  border-color: rgba(255, 251, 243, 0.22);
}

.commerce-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--rojo);
  font-size: 13px;
  font-weight: 950;
}

.commerce-card.is-featured span {
  color: var(--oro);
}

.commerce-card.is-featured h3,
.commerce-card.is-featured p {
  color: var(--papel);
}

.commerce-card p {
  margin: 12px 0 0;
  font-size: 16px;
}

.commerce-card:hover,
.commerce-card:focus-within,
.package-card:hover,
.package-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(215, 11, 24, 0.28);
  box-shadow: 0 24px 58px rgba(6, 61, 40, 0.18);
}

.motion-ready .slide.is-active .commerce-card:hover,
.motion-ready .slide.is-active .commerce-card:focus-within,
.motion-ready .slide.is-active .package-card:hover,
.motion-ready .slide.is-active .package-card:focus-within {
  transform: translateY(-8px);
}

.check-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 10px 0;
  padding-left: 24px;
  color: rgba(255, 251, 243, 0.82);
  font-size: 15px;
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--oro);
  box-shadow: inset 0 0 0 3px var(--verde);
}

.estimate-band {
  display: grid;
  grid-template-columns: minmax(230px, 0.78fr) minmax(0, 1.35fr);
  gap: 16px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(6, 61, 40, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(217, 154, 37, 0.12), transparent 42%),
    rgba(255, 251, 243, 0.9);
  box-shadow: 0 14px 32px rgba(6, 61, 40, 0.1);
}

.estimate-band > div:first-child span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--rojo);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.estimate-band h3 {
  max-width: 360px;
  font-size: 25px;
}

.estimate-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.estimate-card {
  min-height: 142px;
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(6, 61, 40, 0.12);
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.86);
  transition:
    transform 360ms var(--ease-spring),
    border-color 360ms ease,
    box-shadow 360ms ease;
}

.estimate-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--rojo);
  opacity: 0.86;
}

.estimate-card:hover,
.estimate-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(215, 11, 24, 0.26);
  box-shadow: 0 18px 36px rgba(6, 61, 40, 0.13);
}

.motion-ready .slide.is-active .estimate-card:hover,
.motion-ready .slide.is-active .estimate-card:focus-within {
  transform: translateY(-6px);
}

.estimate-card strong,
.estimate-card span {
  display: block;
}

.estimate-card strong {
  color: var(--verde);
  font-size: 20px;
  font-weight: 950;
}

.estimate-card span {
  margin-top: 9px;
  font-size: 14px;
  line-height: 1.45;
}

.faq-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.faq-strip article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(6, 61, 40, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.92), rgba(255, 251, 243, 0.78));
  box-shadow: 0 12px 26px rgba(6, 61, 40, 0.08);
  transition:
    transform 360ms var(--ease-spring),
    border-color 360ms ease,
    box-shadow 360ms ease;
}

.faq-strip article:hover,
.faq-strip article:focus-within {
  transform: translateY(-5px);
  border-color: rgba(217, 154, 37, 0.38);
  box-shadow: 0 18px 38px rgba(6, 61, 40, 0.13);
}

.motion-ready .slide.is-active .faq-strip article:hover,
.motion-ready .slide.is-active .faq-strip article:focus-within {
  transform: translateY(-5px);
}

.faq-strip strong,
.faq-strip span {
  display: block;
}

.faq-strip strong {
  color: var(--verde);
  font-size: 15px;
  font-weight: 950;
  line-height: 1.2;
}

.faq-strip span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.package-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.package-card {
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.82);
  box-shadow: 0 12px 28px rgba(6, 61, 40, 0.1);
  transition:
    transform 380ms var(--ease-spring),
    box-shadow 380ms ease,
    border-color 380ms ease;
}

.package-card strong,
.package-card span {
  display: block;
}

.package-card strong {
  color: var(--verde);
  font-size: 16px;
  font-weight: 950;
}

.package-card span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.commerce-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(6, 61, 40, 0.18);
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.92);
  box-shadow: 0 16px 34px rgba(6, 61, 40, 0.1);
}

.commerce-cta p {
  margin: 0;
  max-width: 650px;
  font-size: 16px;
}

.process-slide {
  background: linear-gradient(180deg, rgba(255, 251, 243, 0.2), rgba(6, 61, 40, 0.08));
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(255, 251, 243, 0.24);
  border-radius: 8px;
  color: var(--papel);
  background: var(--verde);
  box-shadow: 0 18px 42px rgba(6, 61, 40, 0.18);
  transition:
    transform 360ms var(--ease-spring),
    box-shadow 360ms ease;
}

.timeline article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--oro);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 620ms var(--ease-out);
}

.slide.is-active .timeline article::before {
  transform: scaleY(1);
}

.timeline article:hover {
  transform: translateX(-8px);
  box-shadow: 0 24px 54px rgba(6, 61, 40, 0.25);
}

.motion-ready .slide.is-active .timeline article:hover {
  transform: translateX(-8px);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--oro);
  font-size: 14px;
  font-weight: 950;
}

.timeline h3 {
  color: var(--papel);
}

.timeline p {
  margin: 10px 0 0;
  color: rgba(255, 251, 243, 0.76);
  font-size: 15px;
}

.brand-board {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-1deg);
  transition:
    transform 520ms var(--ease-spring),
    box-shadow 520ms ease;
}

.motion-ready .slide.is-active .brand-board {
  transform: rotate(-1deg);
}

.brand-board:hover {
  transform: rotate(0deg) translateY(-8px);
  box-shadow: 0 30px 78px rgba(6, 61, 40, 0.22);
}

.motion-ready .slide.is-active .brand-board:hover {
  transform: rotate(0deg) translateY(-8px);
}

.brand-board img {
  width: 100%;
  height: auto;
  max-height: 650px;
  object-fit: contain;
  padding: 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.metrics div {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 251, 243, 0.78);
  transition:
    transform 360ms var(--ease-spring),
    background 360ms ease,
    box-shadow 360ms ease;
}

.metrics strong {
  color: var(--rojo);
  font-size: 40px;
  line-height: 1;
  font-weight: 950;
  display: inline-flex;
  transform-origin: left bottom;
}

.slide.is-active .metrics strong {
  animation: metricPop 880ms var(--ease-spring) both;
}

.metrics div:hover {
  transform: translateY(-7px);
  background: rgba(255, 251, 243, 0.94);
  box-shadow: 0 18px 38px rgba(6, 61, 40, 0.14);
}

.motion-ready .slide.is-active .metrics div:hover {
  transform: translateY(-7px);
}

.metrics span {
  margin-top: 8px;
  color: var(--verde);
  font-size: 13px;
  font-weight: 850;
}

.order-slide {
  color: var(--papel);
  background:
    linear-gradient(90deg, rgba(215, 11, 24, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(217, 154, 37, 0.1) 1px, transparent 1px),
    var(--verde);
  background-size: 52px 52px;
}

.order-slide::before {
  opacity: 0.18;
}

.order-slide h2,
.order-slide .kicker {
  color: var(--papel);
}

.order-slide .section-copy {
  color: rgba(255, 251, 243, 0.78);
}

.cta-panel {
  padding: 28px;
  border: 1px solid rgba(255, 251, 243, 0.18);
  border-radius: 8px;
  background: var(--papel);
  color: var(--tinta);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  transition:
    transform 440ms var(--ease-spring),
    box-shadow 440ms ease;
}

.cta-panel:hover {
  transform: translateY(-8px) rotate(0.4deg);
  box-shadow: 0 32px 84px rgba(0, 0, 0, 0.3);
}

.motion-ready .slide.is-active .cta-panel:hover {
  transform: translateY(-8px) rotate(0.4deg);
}

.cta-label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--rojo);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.cta-panel p {
  margin: 14px 0 24px;
  font-size: 16px;
}

.deck-controls {
  position: fixed;
  z-index: 31;
  right: 24px;
  bottom: 24px;
  display: flex;
  gap: 8px;
  animation: controlsEnter 880ms var(--ease-out) 260ms both;
}

.floating-whatsapp {
  position: fixed;
  z-index: 32;
  right: 24px;
  bottom: 86px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--papel);
  background: var(--rojo);
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(215, 11, 24, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 240ms ease,
    transform 180ms ease,
    background 180ms ease;
}

body.show-floating-wa .floating-whatsapp {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  animation: whatsappPulse 2.8s ease-in-out infinite;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-2px);
  background: #b80915;
  outline: none;
}

@keyframes paperGrid {
  0% {
    background-position:
      0 0,
      0 0,
      0 0;
  }
  100% {
    background-position:
      42px 0,
      0 42px,
      0 0;
  }
}

@keyframes loaderFrame {
  0% {
    opacity: 0.28;
    transform: rotate(-4deg) scale(0.96);
  }
  100% {
    opacity: 0.68;
    transform: rotate(3deg) scale(1.02);
  }
}

@keyframes loaderMark {
  0% {
    transform: translateY(0) rotate(-4deg) scale(0.96);
  }
  100% {
    transform: translateY(-4px) rotate(4deg) scale(1.02);
  }
}

@keyframes kineticMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-48%);
  }
}

@keyframes textileCorner {
  0% {
    translate: 0 0;
    opacity: 0.3;
  }
  100% {
    translate: 18px 14px;
    opacity: 0.52;
  }
}

@keyframes textileDrift {
  0% {
    background-position:
      0 0,
      0 0;
  }
  100% {
    background-position:
      220px 220px,
      -180px 180px;
  }
}

@keyframes topbarEnter {
  0% {
    opacity: 0;
    transform: translate(-50%, -18px) scale(0.98);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes controlsEnter {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shineSweep {
  0%,
  48% {
    transform: translateX(-58%) rotate(10deg);
    opacity: 0;
  }
  58% {
    opacity: 1;
  }
  72%,
  100% {
    transform: translateX(58%) rotate(10deg);
    opacity: 0;
  }
}

@keyframes cardFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes metricPop {
  0% {
    transform: translateY(14px) scale(0.72);
    opacity: 0;
  }
  68% {
    transform: translateY(-3px) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes railBeat {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(215, 11, 24, 0.32);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(215, 11, 24, 0);
  }
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 16px 34px rgba(215, 11, 24, 0.28);
  }
  50% {
    box-shadow: 0 18px 42px rgba(215, 11, 24, 0.46);
  }
}

@keyframes mobileTopbarEnter {
  0% {
    opacity: 0;
    transform: translate3d(0, -18px, 0) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes mobileShineOnce {
  0%,
  34% {
    opacity: 0;
    transform: translateX(-58%) rotate(10deg);
  }
  48% {
    opacity: 0.85;
  }
  78%,
  100% {
    opacity: 0;
    transform: translateX(58%) rotate(10deg);
  }
}

@keyframes mobileCardFlash {
  0%,
  38% {
    opacity: 0;
  }
  58% {
    opacity: 0.46;
  }
  100% {
    opacity: 0;
  }
}

@keyframes mobileWhatsAppBreath {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 14px 30px rgba(215, 11, 24, 0.28);
  }
  50% {
    transform: translate3d(0, -2px, 0) scale(1.012);
    box-shadow: 0 18px 38px rgba(215, 11, 24, 0.42);
  }
}

@media (pointer: fine) and (min-width: 761px) {
  .custom-cursor {
    width: 22px;
    height: 22px;
    position: fixed;
    z-index: 120;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    border: 1px solid rgba(215, 11, 24, 0.75);
    border-radius: 50%;
    mix-blend-mode: multiply;
    transform: translate3d(var(--cursor-x, -40px), var(--cursor-y, -40px), 0) translate(-50%, -50%)
      scale(var(--cursor-scale, 1));
    transition:
      opacity 180ms ease,
      transform 70ms linear,
      width 180ms ease,
      height 180ms ease,
      background 180ms ease;
  }

  .custom-cursor span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rojo);
  }

  body.cursor-ready .custom-cursor {
    opacity: 1;
  }

  body.cursor-active .custom-cursor {
    width: 58px;
    height: 58px;
    background: rgba(217, 154, 37, 0.16);
    border-color: rgba(6, 61, 40, 0.55);
  }
}

@media (max-width: 1040px) {
  .slide-rail {
    display: none;
  }

  .hero-grid,
  .process-grid,
  .trust-grid,
  .order-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .product-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .case-grid,
  .commerce-grid,
  .faq-strip,
  .package-row {
    grid-template-columns: 1fr;
  }

  .estimate-band {
    grid-template-columns: 1fr;
  }

  .estimate-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card.featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  html {
    scroll-behavior: auto;
  }

  body {
    animation: none;
    -webkit-overflow-scrolling: touch;
  }

  body.menu-open {
    overflow: auto;
  }

  .site-shell {
    overflow-x: clip;
  }

  .site-shell::before,
  .site-shell::after {
    position: absolute;
    animation: none;
    opacity: 0.16;
  }

  .site-shell::before {
    top: 84px;
    right: -230px;
  }

  .site-shell::after {
    left: -240px;
    bottom: 18%;
  }

  .slide::before {
    opacity: 0.18;
    animation: none;
    background-size: 150px 150px, 130px 130px;
  }

  .slide::after {
    display: none;
  }

  .desktop-nav {
    order: 3;
    width: 100%;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-top: 8px;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    touch-action: pan-x pan-y;
  }

  .desktop-nav::-webkit-scrollbar {
    display: none;
  }

  .desktop-nav a {
    flex: 0 0 auto;
    padding: 9px 11px;
    font-size: 12px;
    background: rgba(255, 251, 243, 0.72);
    border: 1px solid rgba(6, 61, 40, 0.12);
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .topbar {
    position: sticky;
    top: 8px;
    left: auto;
    width: calc(100% - 20px);
    min-height: 96px;
    margin: 8px auto 0;
    transform: none;
    flex-wrap: wrap;
    padding: 8px 10px 10px;
    backdrop-filter: none;
    box-shadow: 0 12px 28px rgba(6, 61, 40, 0.12);
    animation: mobileTopbarEnter 520ms var(--ease-out) both;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .slide {
    min-height: auto;
    display: block;
    padding: 34px 16px 64px;
    scroll-margin-top: 126px;
    scroll-snap-align: none;
    touch-action: pan-y;
  }

  .slides {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .slide-content {
    touch-action: pan-y;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 21px;
  }

  .hero-text,
  .section-copy,
  .section-heading p {
    font-size: 16px;
    line-height: 1.6;
  }

  .hero-stage {
    min-height: auto;
    display: block;
    perspective: none;
  }

  .product-frame {
    width: min(340px, 100%);
    margin: 22px auto 0;
    transform: translate3d(0, 0, 0) rotate(-1deg);
    transition:
      transform 520ms var(--ease-spring),
      box-shadow 420ms ease;
  }

  .product-frame::before {
    opacity: 0;
    animation: none;
  }

  .product-frame.is-mobile-revealed::before,
  .slide.is-active .product-frame::before {
    animation: mobileShineOnce 1400ms ease-out 520ms both;
  }

  .floating-card {
    width: 180px;
    animation: none;
  }

  .card-one {
    top: 10px;
  }

  .card-two {
    bottom: 10px;
  }

  .product-showcase,
  .case-grid,
  .commerce-grid,
  .estimate-grid,
  .faq-strip,
  .package-row,
  .metrics {
    grid-template-columns: 1fr;
  }

  .product-card {
    transform: translate3d(0, 0, 0);
    transition:
      transform 420ms var(--ease-spring),
      box-shadow 420ms ease,
      border-color 420ms ease;
  }

  .product-card::after {
    opacity: 0;
  }

  .product-card.is-mobile-revealed::after,
  .slide.is-active .product-card::after {
    animation: mobileCardFlash 980ms ease-out both;
  }

  .product-card img,
  .product-card video,
  .product-card.featured img,
  .product-card.featured video {
    height: clamp(390px, 112vw, 560px);
    transform: translate3d(0, 0, 0);
  }

  .product-card > div {
    padding: 18px;
    background:
      linear-gradient(135deg, rgba(255, 251, 243, 0.95), rgba(255, 251, 243, 0.82));
  }

  .product-card h3 {
    font-size: 29px;
  }

  .product-card p {
    font-size: 16px;
    line-height: 1.52;
  }

  .case-media {
    gap: 7px;
    padding: 7px;
  }

  .case-media img {
    height: clamp(240px, 68vw, 340px);
  }

  .case-copy {
    padding: 18px;
  }

  .product-card,
  .case-card,
  .commerce-card,
  .estimate-card,
  .faq-strip article,
  .package-card,
  .timeline article,
  .metrics div {
    min-height: auto;
  }

  .case-card,
  .commerce-card,
  .estimate-band,
  .estimate-card,
  .faq-strip article,
  .package-card,
  .project-proof,
  .commerce-cta {
    box-shadow: 0 12px 28px rgba(6, 61, 40, 0.1);
  }

  .commerce-card {
    padding: 20px;
  }

  .estimate-band {
    padding: 16px;
  }

  .estimate-band h3 {
    max-width: none;
    font-size: 22px;
  }

  .commerce-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .commerce-cta .button {
    width: 100%;
  }

  .project-proof {
    align-items: stretch;
    flex-direction: column;
  }

  .project-proof strong {
    white-space: normal;
  }

  .project-proof .button {
    width: 100%;
  }

  .deck-controls {
    display: none;
  }

  .floating-whatsapp {
    left: auto;
    right: 16px;
    bottom: 16px;
    min-width: 148px;
    min-height: 52px;
    padding: 0 18px;
    transform: translate3d(0, 16px, 0);
  }

  body.show-floating-wa .floating-whatsapp {
    transform: translate3d(0, 0, 0);
    animation: mobileWhatsAppBreath 3.1s ease-in-out infinite;
  }

  .motion-ready .slide .kicker,
  .motion-ready .slide h1,
  .motion-ready .slide h2,
  .motion-ready .slide .hero-text,
  .motion-ready .slide .section-copy,
  .motion-ready .slide .section-heading > p:last-child,
  .motion-ready .slide .hero-actions,
  .motion-ready .slide .kinetic-strip,
  .motion-ready .slide .product-controls,
  .motion-ready .slide .product-frame,
  .motion-ready .slide .floating-card,
  .motion-ready .slide .product-card,
  .motion-ready .slide .case-card,
  .motion-ready .slide .project-proof,
  .motion-ready .slide .commerce-card,
  .motion-ready .slide .estimate-band,
  .motion-ready .slide .estimate-card,
  .motion-ready .slide .faq-strip article,
  .motion-ready .slide .package-card,
  .motion-ready .slide .commerce-cta,
  .motion-ready .slide .timeline article,
  .motion-ready .slide .brand-board,
  .motion-ready .slide .metrics div,
  .motion-ready .slide .cta-panel {
    opacity: 1;
    filter: none;
    transform: translate3d(0, 0, 0) scale(1);
    transition: none;
    transition-delay: 0ms;
    will-change: auto;
  }

  body.mobile-motion-ready.motion-ready .slide .mobile-reveal {
    opacity: 0;
    transform:
      translate3d(var(--mobile-x, 0), var(--mobile-y, 28px), 0)
      rotate(var(--mobile-rotate, 0deg))
      scale(0.985);
    transition:
      opacity 560ms var(--ease-out),
      transform 700ms var(--ease-spring);
    transition-delay: var(--mobile-delay, 0ms);
    will-change: opacity, transform;
  }

  body.mobile-motion-ready.motion-ready .slide .product-card.mobile-reveal,
  body.mobile-motion-ready.motion-ready .slide .case-card.mobile-reveal,
  body.mobile-motion-ready.motion-ready .slide .project-proof.mobile-reveal,
  body.mobile-motion-ready.motion-ready .slide .estimate-band.mobile-reveal,
  body.mobile-motion-ready.motion-ready .slide .estimate-card.mobile-reveal,
  body.mobile-motion-ready.motion-ready .slide .faq-strip article.mobile-reveal,
  body.mobile-motion-ready.motion-ready .slide .brand-board.mobile-reveal,
  body.mobile-motion-ready.motion-ready .slide .cta-panel.mobile-reveal {
    --mobile-y: 34px;
    transform:
      translate3d(var(--mobile-x, 0), var(--mobile-y, 34px), 0)
      rotate(var(--mobile-rotate, 0deg))
      scale(0.975);
  }

  body.mobile-motion-ready.motion-ready .slide .mobile-reveal.is-mobile-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  body.mobile-cinematic .cinema-item {
    opacity: var(--cinema-opacity, 1);
    transition:
      opacity 220ms linear,
      transform 220ms linear;
  }

  body.mobile-cinematic .product-card.cinema-item.is-mobile-revealed,
  body.mobile-cinematic .case-card.cinema-item.is-mobile-revealed,
  body.mobile-cinematic .project-proof.cinema-item.is-mobile-revealed,
  body.mobile-cinematic .commerce-card.cinema-item.is-mobile-revealed,
  body.mobile-cinematic .estimate-card.cinema-item.is-mobile-revealed,
  body.mobile-cinematic .package-card.cinema-item.is-mobile-revealed,
  body.mobile-cinematic .timeline article.cinema-item.is-mobile-revealed,
  body.mobile-cinematic .brand-board.cinema-item.is-mobile-revealed,
  body.mobile-cinematic .cta-panel.cinema-item.is-mobile-revealed {
    transform:
      translate3d(0, var(--cinema-y, 0px), 0)
      rotate(var(--cinema-rotate, 0deg))
      scale(var(--cinema-scale, 1));
  }

  body.mobile-cinematic .hero-stage.cinema-item {
    transform: translate3d(0, var(--cinema-y, 0px), 0) scale(var(--cinema-scale, 1));
  }

  body.mobile-stage-director {
    background-position:
      calc(var(--mobile-scroll-progress, 0) * -90px) 0,
      0 calc(var(--mobile-scroll-progress, 0) * 120px),
      0 0;
  }

  body.mobile-stage-director .topbar {
    transform: translate3d(0, calc(var(--mobile-scroll-velocity, 0) * -5px), 0);
    box-shadow:
      0 14px 34px rgba(6, 61, 40, calc(0.12 + var(--mobile-scroll-velocity, 0) * 0.12)),
      0 1px 0 rgba(6, 61, 40, 0.08);
    transition:
      transform 180ms linear,
      box-shadow 180ms linear;
  }

  body.mobile-stage-director.is-scrolling-up .topbar {
    transform: translate3d(0, 0, 0);
  }

  body.mobile-stage-director .scroll-progress {
    height: 4px;
    background: rgba(6, 61, 40, 0.09);
  }

  body.mobile-stage-director .scroll-progress span {
    box-shadow: 0 0 16px rgba(215, 11, 24, calc(var(--mobile-scroll-velocity, 0) * 0.36));
  }

  body.mobile-stage-director .slide {
    min-height: 100svh;
    overflow: clip;
    --section-focus: 0;
    --section-shift: 0px;
  }

  body.mobile-stage-director .slide::before {
    opacity: calc(0.12 + var(--section-focus, 0) * 0.16);
    transform:
      translate3d(0, var(--section-shift, 0px), 0)
      scale(1.045);
    transition: opacity 120ms linear;
    will-change: transform, opacity;
  }

  body.mobile-stage-director .slide-content {
    transform: translate3d(0, calc(var(--section-center, 0) * -8px), 0);
    transition: transform 180ms linear;
    will-change: transform;
  }

  body.mobile-stage-director .mobile-depth-item.is-mobile-revealed {
    opacity: var(--depth-opacity, 1);
    transform:
      translate3d(var(--depth-x, 0px), var(--depth-y, 0px), 0)
      scale(var(--depth-scale, 1));
    transform-origin: left center;
    transition:
      opacity 180ms linear,
      transform 180ms linear;
    will-change: opacity, transform;
  }

  body.mobile-stage-director h1.mobile-depth-item.is-mobile-revealed,
  body.mobile-stage-director h2.mobile-depth-item.is-mobile-revealed {
    transform:
      translate3d(var(--depth-x, 0px), var(--depth-y, 0px), 0)
      scale(var(--depth-scale, 1));
    text-shadow:
      0 calc(var(--mobile-scroll-velocity, 0) * 5px) 18px rgba(6, 61, 40, calc(var(--mobile-scroll-velocity, 0) * 0.13));
  }

  body.mobile-stage-director .hero-actions.mobile-depth-item.is-mobile-revealed,
  body.mobile-stage-director .product-controls.mobile-depth-item.is-mobile-revealed {
    transform:
      translate3d(0, calc(var(--depth-y, 0px) * 0.45), 0)
      scale(var(--depth-scale, 1));
  }

  body.mobile-stage-director .kinetic-track {
    animation-duration: var(--mobile-marquee-duration, 16s);
  }

  body.mobile-stage-director .product-frame {
    box-shadow:
      0 22px 60px rgba(6, 61, 40, 0.24),
      0 0 0 1px rgba(255, 251, 243, 0.48) inset;
  }

  body.mobile-stage-director .mobile-media-item {
    transform:
      translate3d(0, var(--media-y, 0px), 0)
      scale(var(--media-scale, 1.04));
    opacity: var(--media-opacity, 1);
    backface-visibility: hidden;
    transition:
      transform 160ms linear,
      opacity 160ms linear;
    will-change: transform, opacity;
  }

  body.mobile-stage-director .product-card,
  body.mobile-stage-director .case-card,
  body.mobile-stage-director .commerce-card,
  body.mobile-stage-director .estimate-card,
  body.mobile-stage-director .package-card,
  body.mobile-stage-director .timeline article,
  body.mobile-stage-director .brand-board,
  body.mobile-stage-director .cta-panel,
  body.mobile-stage-director .project-proof {
    box-shadow:
      0 18px 46px rgba(6, 61, 40, 0.16);
  }

  body.mobile-stage-director .project-proof,
  body.mobile-stage-director .package-card,
  body.mobile-stage-director .cta-panel,
  body.mobile-stage-director .product-filter,
  body.mobile-stage-director .menu-toggle {
    position: relative;
    overflow: hidden;
  }

  body.mobile-stage-director .product-card::before,
  body.mobile-stage-director .case-card::before,
  body.mobile-stage-director .project-proof::before,
  body.mobile-stage-director .package-card::before,
  body.mobile-stage-director .cta-panel::before {
    content: "";
    position: absolute;
    pointer-events: none;
    opacity: calc(0.16 + var(--cinema-focus, 0) * 0.54);
    transition: opacity 180ms linear;
  }

  body.mobile-stage-director .product-card::before,
  body.mobile-stage-director .case-card::before,
  body.mobile-stage-director .package-card::before,
  body.mobile-stage-director .cta-panel::before {
    inset: 0 0 auto;
    height: 5px;
    z-index: 3;
    background: linear-gradient(90deg, var(--rojo), var(--oro), var(--turquesa));
    transform: scaleX(calc(0.28 + var(--cinema-focus, 0) * 0.72));
    transform-origin: left;
  }

  body.mobile-stage-director .product-card::after,
  body.mobile-stage-director .case-card::after {
    opacity: calc(0.08 + var(--cinema-focus, 0) * 0.34);
    transform:
      translate3d(calc((1 - var(--cinema-focus, 0)) * -18px), 0, 0)
      scale(1.02);
    transition:
      opacity 180ms linear,
      transform 180ms linear;
  }

  body.mobile-stage-director .project-proof::before {
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background:
      linear-gradient(90deg, rgba(215, 11, 24, 0.14), transparent 42%),
      linear-gradient(135deg, transparent 0 44%, rgba(217, 154, 37, 0.14) 44% 49%, transparent 49%);
    transform: translate3d(0, 0, 0);
  }

  body.mobile-stage-director .button,
  body.mobile-stage-director .product-filter,
  body.mobile-stage-director .menu-toggle {
    touch-action: manipulation;
  }

  body.mobile-stage-director .button::after,
  body.mobile-stage-director .product-filter::after,
  body.mobile-stage-director .menu-toggle::after {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(
      circle at var(--tap-x, 50%) var(--tap-y, 50%),
      rgba(255, 255, 255, 0.52),
      transparent 38%
    );
    transform: scale(0.92);
  }

  body.mobile-stage-director .button.is-touched::after,
  body.mobile-stage-director .product-filter.is-touched::after,
  body.mobile-stage-director .menu-toggle.is-touched::after {
    animation: mobileTapBurst 620ms var(--ease-out) both;
  }

  body.mobile-stage-director .button.is-touched,
  body.mobile-stage-director .product-filter.is-touched,
  body.mobile-stage-director .menu-toggle.is-touched {
    transform: translate3d(0, -2px, 0) scale(0.985);
  }

  body.mobile-stage-director .floating-whatsapp {
    transform:
      translate3d(0, calc(16px - var(--mobile-scroll-velocity, 0) * 10px), 0)
      scale(calc(1 + var(--mobile-scroll-velocity, 0) * 0.018));
  }

  body.mobile-stage-director.show-floating-wa .floating-whatsapp {
    transform:
      translate3d(0, calc(var(--mobile-scroll-velocity, 0) * -5px), 0)
      scale(calc(1 + var(--mobile-scroll-velocity, 0) * 0.018));
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stage {
    min-height: auto;
  }

  .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 10px;
  }

  .hero-stage {
    display: block;
  }

  .product-frame {
    margin: 0 auto;
  }

  .case-media {
    grid-template-columns: 1fr;
  }

  .case-media img {
    height: clamp(300px, 105vw, 460px);
  }
}

@media (max-width: 760px) {
  .preloader {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
    text-align: center;
  }

  .preloader-mark {
    margin: 0 auto;
  }

  body.menu-open {
    overflow: hidden;
  }

  .topbar {
    top: 0;
    width: 100%;
    margin: 0 auto;
    min-height: 64px;
    align-items: center;
    flex-wrap: nowrap;
    border-radius: 0 0 8px 8px;
    background: var(--papel);
  }

  .scroll-progress {
    bottom: 4px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  body.menu-open .menu-toggle {
    color: var(--papel);
    background: var(--verde);
  }

  body.menu-open .menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(42deg);
  }

  body.menu-open .menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-42deg);
  }

  .menu-toggle span {
    transition: transform 260ms var(--ease-spring);
  }

  .mobile-menu {
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 92px 22px 28px;
    background:
      linear-gradient(90deg, rgba(217, 154, 37, 0.12) 1px, transparent 1px),
      linear-gradient(180deg, rgba(6, 61, 40, 0.06) 1px, transparent 1px),
      rgba(255, 251, 243, 0.98);
    background-size: 36px 36px;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu-label {
    margin-bottom: 18px;
    color: var(--rojo);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
  }

  .mobile-menu a {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    animation: mobileMenuLink 520ms var(--ease-out) both;
  }

  .mobile-menu a:nth-child(3) {
    animation-delay: 50ms;
  }

  .mobile-menu a:nth-child(4) {
    animation-delay: 100ms;
  }

  .mobile-menu a:nth-child(5) {
    animation-delay: 150ms;
  }

  .mobile-menu a:nth-child(6) {
    animation-delay: 200ms;
  }

  .mobile-menu a:nth-child(7) {
    animation-delay: 250ms;
  }

  .mobile-menu a:last-child {
    margin-top: 10px;
    padding: 17px 18px;
    border: 0;
    border-radius: 8px;
    color: var(--papel);
    background: var(--verde);
    font-size: 20px;
    text-align: center;
  }

  .slide {
    padding-top: 26px;
  }

  .kinetic-strip {
    margin-top: 14px;
  }

  .product-controls {
    position: relative;
    top: auto;
    z-index: 2;
    margin: 0 0 16px;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    overscroll-behavior-inline: contain;
  }

  .product-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0;
    overflow: visible;
    padding: 0 0 18px;
    touch-action: pan-y;
  }

  .product-card,
  .product-card.featured {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    transform:
      translate3d(0, var(--cinema-y, 0px), 0)
      rotate(var(--cinema-rotate, 0deg))
      scale(var(--cinema-scale, 1));
    transform-origin: center;
    will-change: transform;
  }

  .product-card.is-product-dimmed {
    opacity: 0.42;
    filter: saturate(0.78);
    transform: scale(0.985);
  }

  .product-card.is-product-highlight {
    border-color: rgba(215, 11, 24, 0.48);
  }

  .floating-card.is-touched,
  .product-frame.is-touched {
    transform: translateY(-4px) scale(0.99);
  }

  .floating-whatsapp {
    font-size: 16px;
  }

  .products-slide .section-heading {
    gap: 12px;
    margin-bottom: 12px;
  }

  .products-slide .section-heading h2 {
    font-size: 33px;
    line-height: 1;
  }

  .products-slide .section-heading p:last-child {
    font-size: 15px;
    line-height: 1.48;
  }

  .products-slide .product-controls {
    margin-bottom: 10px;
  }

  .products-slide .product-filter {
    min-height: 38px;
    padding: 0 12px;
  }
}

@keyframes mobileMenuLink {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes mobileTapBurst {
  0% {
    opacity: 0.78;
    transform: scale(0.84);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
