:root {
  --ink: #0a0a0a;
  --paper: #f3f1ea;
  --acid: #f2cb3f;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--header-height);
  max-width: 100%;
  overflow-x: clip;
}

body {
  overflow-x: hidden;
}

/* Evita que el contenido mínimo de una celda ensanche las grillas responsive. */
.grid > * {
  min-width: 0;
}

body.forge-landing-page {
  margin: 0;
  background: var(--paper);
}

.admin-bar #site-header {
  top: 32px;
}

.admin-bar #scroll-progress {
  top: 32px;
}

body.menu-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 100;
  background: var(--acid);
  color: var(--ink);
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 1rem;
}

#scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 70;
  height: 3px;
  width: 0;
  background: var(--acid);
  pointer-events: none;
}

#site-header {
  transition: background-color 260ms ease, backdrop-filter 260ms ease, transform 260ms ease;
}

#site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
}

.nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
  transition: color 180ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  height: 1px;
  width: 100%;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: white;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  background: rgba(10, 10, 10, 0.97);
  opacity: 0;
  transition: max-height 360ms ease, opacity 250ms ease;
}

.mobile-menu.is-open {
  max-height: calc(100vh - var(--header-height));
  opacity: 1;
}

.mobile-menu nav > a:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  padding: 1rem 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  transform: translate3d(var(--grid-x, 0), var(--grid-y, 0), 0) scale(1.04);
  transition: transform 550ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-glow {
  position: absolute;
  z-index: 2;
  top: 8%;
  right: 7%;
  width: min(44vw, 650px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(242, 203, 63, 0.15);
  filter: blur(120px);
  transform: translate3d(var(--glow-x, 0), var(--glow-y, 0), 0);
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-copy {
  transform: translate3d(0, var(--hero-copy-y, 0px), 0);
  will-change: transform;
}

.hero-main-title {
  font-size: clamp(2rem, 7.3vw, 7.5rem);
}

.hero-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.08em 0 0.03em;
  margin: -0.08em 0 -0.03em;
}

.hero-line > span {
  display: block;
  transform: translate3d(0, 115%, 0) rotate(2.5deg);
  transform-origin: left bottom;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-line:nth-child(1) > span {
  transition-delay: 220ms;
}

.hero-line:nth-child(2) > span {
  transition-delay: 350ms;
}

.hero.hero-ready .hero-line > span {
  transform: translate3d(0, 0, 0) rotate(0);
}

[data-hero-item] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 700ms ease var(--intro-delay, 0ms),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--intro-delay, 0ms);
}

.hero.hero-ready [data-hero-item] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-visual-shell {
  position: absolute;
  inset: 0 auto 0 50%;
  z-index: 0;
  width: 100vw;
  height: auto;
  min-height: 0;
  max-height: none;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-visual {
  --hero-scale: 1.01;
  position: absolute;
  inset: 0;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transform: translate3d(var(--visual-x, 0), calc(var(--visual-y, 0px) + var(--hero-visual-scroll, 0px)), 0)
    scale(var(--hero-scale));
  will-change: transform, clip-path;
  transition: opacity 700ms ease 260ms, clip-path 1.15s cubic-bezier(0.16, 1, 0.3, 1) 180ms,
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.hero-ready .hero-visual {
  --hero-scale: 1.045;
  opacity: 1;
  clip-path: inset(0 0 0 0);
}

.hero.is-tracking .hero-visual {
  transition-duration: 180ms;
}

.hero-pointer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  display: none;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 1px solid rgba(242, 203, 63, 0.7);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(242, 203, 63, 0.9);
  box-shadow: 0 0 0 10px rgba(242, 203, 63, 0.09);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--pointer-x, -100px), var(--pointer-y, -100px), 0) scale(0.4);
  transition: opacity 200ms ease, transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-pointer span {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero.is-tracking .hero-pointer {
  opacity: 1;
  transform: translate3d(var(--pointer-x, -100px), var(--pointer-y, -100px), 0) scale(1);
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #171717;
}

.hero-image-wrap img {
  filter: saturate(0.48) contrast(1.12);
  transform: scale(1.08);
  animation: heroImageDrift 15s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.63) 42%, rgba(5, 5, 5, 0.18) 78%, rgba(5, 5, 5, 0.3) 100%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.76) 0%, transparent 48%, rgba(5, 5, 5, 0.2) 100%);
}

.hero-tag {
  position: absolute;
  top: 7.2rem;
  right: clamp(1.5rem, 4vw, 5rem);
  left: auto;
  z-index: 4;
  align-items: center;
  gap: 0.75rem;
  min-width: 230px;
  padding: 1rem;
  color: var(--ink);
  background: var(--acid);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.3);
}

.hero-tag svg {
  width: 1.55rem;
  height: 1.55rem;
}

.hero-tag span {
  display: grid;
}

.hero-tag strong {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.hero-tag small {
  margin-top: 0.1rem;
  font-size: 0.64rem;
  opacity: 0.58;
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.72);
}

.hero-title-rotator {
  position: relative;
  height: 0.88em;
}

.hero-title-rotator > span {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: 100%;
  opacity: 0;
  transform: translate3d(0, 100%, 0) skewY(5deg);
}

.hero.hero-ready .hero-title-rotator > span {
  animation: heroWordCycle 12s cubic-bezier(0.16, 1, 0.3, 1) infinite backwards;
}

.hero.hero-ready .hero-title-rotator > span:nth-child(1) {
  animation-delay: 350ms;
}

.hero.hero-ready .hero-title-rotator > span:nth-child(2) {
  animation-delay: 3.35s;
}

.hero.hero-ready .hero-title-rotator > span:nth-child(3) {
  animation-delay: 6.35s;
}

.hero.hero-ready .hero-title-rotator > span:nth-child(4) {
  animation-delay: 9.35s;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.scroll-cue {
  position: absolute;
  right: 1.5rem;
  bottom: 4rem;
  z-index: 5;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue svg {
  width: 1rem;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

.button {
  --button-hover-bg: white;
  --button-hover-color: var(--ink);
  display: inline-flex;
  position: relative;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--magnetic-x, 0), var(--magnetic-y, 0), 0);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 250ms ease;
}

.button::before {
  content: "";
  position: absolute;
  left: var(--button-x, 50%);
  top: var(--button-y, 50%);
  z-index: 0;
  width: 210%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--button-hover-bg);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover {
  transform: translate3d(var(--magnetic-x, 0), var(--magnetic-y, -2px), 0) scale(1.025);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translate(-50%, -50%) scale(1);
}

.button-label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: currentColor;
  transition: color 220ms ease, transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover .button-label,
.button:focus-visible .button-label {
  color: var(--button-hover-color);
}

.button:hover .button-label {
  transform: translateX(2px);
}

.button:hover .button-label svg {
  transform: translate(3px, -3px) rotate(-6deg);
}

.button svg,
.link-arrow svg {
  width: 1rem;
  height: 1rem;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.button-acid {
  --button-hover-bg: white;
  --button-hover-color: var(--ink);
  color: var(--ink);
  background: var(--acid);
  box-shadow: 0 10px 34px rgba(242, 203, 63, 0.22), 0 0 0 1px rgba(242, 203, 63, 0.38);
}

.button-acid:hover {
  background: var(--acid);
}

.button-dark {
  --button-hover-bg: var(--acid);
  --button-hover-color: var(--ink);
  color: white;
  background: var(--ink);
}

.button-dark:hover {
  color: white;
  background: var(--ink);
}

.button-outline-dark {
  --button-hover-bg: var(--ink);
  --button-hover-color: white;
  border: 1px solid rgba(10, 10, 10, 0.45);
  color: var(--ink);
}

.button-outline-dark:hover {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.hero-primary-cta {
  min-width: 215px;
  box-shadow: 0 14px 45px rgba(242, 203, 63, 0.28), 0 0 0 1px rgba(242, 203, 63, 0.42);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 180ms ease, color 180ms ease;
}

.link-arrow:hover {
  gap: 0.75rem;
}

.bestseller-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.section-space {
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.section-number {
  color: rgba(10, 10, 10, 0.5);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.section-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.85rem, 4.1vw, 4.75rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  #contacto h2 {
    font-size: clamp(3.5rem, 5.2vw, 5.8rem);
  }
}

@media (min-width: 1024px) {
  #testimonios > div > .grid {
    grid-template-columns: clamp(30rem, 47vw, 40.625rem) minmax(0, 1fr);
    gap: 1rem;
  }

  #testimonios .section-title {
    max-width: none;
    font-size: clamp(2rem, 3.15vw, 2.7rem);
  }

  #testimonios .section-title > span {
    display: block;
    white-space: nowrap;
  }
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 2rem;
  animation: marquee 26s linear infinite;
}

.marquee-track svg {
  width: 1rem;
  height: 1rem;
}

.bestseller-card {
  min-width: 0;
}

.bestseller-card > a {
  display: block;
}

.bestseller-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e2e0d9;
}

.bestseller-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.34), transparent 42%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.bestseller-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.03);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 350ms ease;
}

.bestseller-card:hover .bestseller-media img,
.bestseller-card:focus-within .bestseller-media img {
  transform: scale(1.065);
  filter: saturate(1) contrast(1.02);
}

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

.bestseller-rank {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.bestseller-arrow {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 3;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  transform: translateY(0.8rem) scale(0.8);
  opacity: 0;
  transition: opacity 260ms ease, transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.bestseller-arrow svg {
  width: 1rem;
  height: 1rem;
}

.bestseller-card:hover .bestseller-arrow,
.bestseller-card:focus-within .bestseller-arrow {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.bestseller-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 0.4rem;
  border-bottom: 1px solid rgba(10, 10, 10, 0.14);
}

.bestseller-info small {
  color: rgba(10, 10, 10, 0.42);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bestseller-info h4 {
  margin-top: 0.35rem;
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

@media (min-width: 1280px) {
  .bestseller-heading {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .bestseller-grid .bestseller-info {
    height: 5.5rem;
  }

  .bestseller-grid .bestseller-info > div {
    width: 100%;
  }

  .bestseller-grid .bestseller-info small {
    display: block;
    min-height: 1rem;
    line-height: 1;
  }

  .bestseller-grid .bestseller-info h4 {
    min-height: 2.3rem;
  }
}

.bestseller-info > strong {
  padding-top: 1.15rem;
  white-space: nowrap;
  font-size: 0.78rem;
}

@media (hover: none) {
  .bestseller-arrow {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.sequence-section {
  position: relative;
  overflow: hidden;
}

.sequence-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

.sequence-stage {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #121212;
  isolation: isolate;
}

.sequence-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.45), transparent 45%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.7), transparent 35%);
  pointer-events: none;
}

.sequence-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
}

.sequence-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: min(70%, 470px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 203, 63, 0.52);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.sequence-orbit::before,
.sequence-orbit::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid rgba(242, 203, 63, 0.2);
  border-radius: inherit;
}

.sequence-orbit::after {
  inset: -2px;
  border-color: transparent;
  border-top-color: var(--acid);
  animation: spin 8s linear infinite;
}

.sequence-label {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.65rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sequence-label strong {
  color: var(--acid);
}

.sequence-label-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 6px rgba(242, 203, 63, 0.15);
}

.feature-row {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  align-items: center;
  gap: 1rem;
  max-width: 420px;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.35);
}

.feature-row span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.feature-row strong {
  font-family: "Syne", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.feature-row.is-active {
  color: white;
  border-color: var(--acid);
}

.feature-row.is-active span {
  color: var(--acid);
}

.product-media {
  position: relative;
  display: block;
  height: clamp(380px, 43vw, 540px);
  overflow: hidden;
  background: #d9d7d0;
}

.product-card {
  position: relative;
}

.product-card-hitarea {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.product-card-hitarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 35%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 400ms ease;
}

.product-media:hover img,
.product-card:hover .product-media img,
.product-card:focus-within .product-media img {
  transform: scale(1.055);
  filter: saturate(1);
}

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

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  padding: 0.5rem 0.75rem;
  color: var(--ink);
  background: var(--acid);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-badge-dark {
  color: white;
  background: var(--ink);
}

.product-quick-link {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  color: var(--ink);
  background: var(--acid);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  transform: translateY(calc(100% + 1rem));
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-media:hover .product-quick-link,
.product-media:focus-visible .product-quick-link,
.product-card:hover .product-quick-link,
.product-card:focus-within .product-quick-link {
  transform: translateY(0);
}

.product-quick-link svg {
  width: 1rem;
  height: 1rem;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
}

.service-item > svg {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
}

.service-item > div {
  display: grid;
  gap: 0.25rem;
}

.service-item strong {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.service-item span {
  color: rgba(10, 10, 10, 0.48);
  font-size: 0.72rem;
}

.testimonials-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(min(84vw, 420px), 1fr);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  border: 1px solid rgba(10, 10, 10, 0.15);
  background: #ebe9e1;
  scroll-snap-align: start;
}

.testimonial-card svg {
  width: 0.9rem;
  height: 0.9rem;
}

.testimonial-card blockquote {
  margin-top: 4rem;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.035em;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 2rem;
}

.testimonial-card footer > span:last-child {
  display: grid;
  gap: 0.18rem;
}

.testimonial-card footer strong {
  font-size: 0.76rem;
  text-transform: uppercase;
}

.testimonial-card footer small {
  color: rgba(10, 10, 10, 0.45);
  font-size: 0.68rem;
}

.testimonial-featured {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.testimonial-featured footer small {
  color: rgba(255, 255, 255, 0.42);
}

.avatar {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  flex: none;
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  font-size: 0.7rem;
  font-weight: 800;
}

.slider-button {
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  place-items: center;
  border: 1px solid rgba(10, 10, 10, 0.25);
  transition: color 180ms ease, background 180ms ease;
}

.slider-button:hover {
  color: white;
  background: var(--ink);
}

.slider-button svg {
  width: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 1.3rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  color: white;
  background: var(--ink);
}

.contact-form label {
  display: grid;
  gap: 0.6rem;
}

.contact-form label > span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  padding: 0.55rem 0 0.85rem;
  color: white;
  background: transparent;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--acid);
}

.contact-form .button-dark {
  color: var(--ink);
  background: var(--acid);
}

.contact-form .button-dark:hover {
  background: white;
}

.footer-title {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand-logo {
  width: auto;
  height: 3rem;
  object-fit: contain;
}

.footer-brand-name {
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.2rem;
  font-size: 0.82rem;
}

.footer-links a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.63);
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--acid);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

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

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

@keyframes heroImageDrift {
  0% {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.15) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes heroWordCycle {
  0%, 4% {
    opacity: 0;
    transform: translate3d(0, 100%, 0) skewY(5deg);
  }
  10%, 28% {
    opacity: 1;
    transform: translate3d(0, 0, 0) skewY(0);
  }
  34%, 100% {
    opacity: 0;
    transform: translate3d(0, -105%, 0) skewY(-5deg);
  }
}

@media (max-width: 1023px) {
  .hero-image-wrap {
    clip-path: none;
  }

  .sequence-section::before {
    width: 100%;
  }
}

@media (max-width: 639px) {
  .hero {
    min-height: 100svh;
  }

  .hero-layout {
    min-height: 100svh;
  }

  /* Aprovecha en móvil el espacio libre del sello de calidad oculto. */
  .hero-copy {
    margin-bottom: clamp(6rem, 15svh, 9rem);
  }

  .hero-image-wrap {
    clip-path: none;
  }

  .text-outline {
    -webkit-text-stroke-width: 1px;
  }

  .sequence-stage {
    min-height: 480px;
  }

  .service-item + .service-item {
    border-top: 1px solid rgba(10, 10, 10, 0.15);
  }

  .product-quick-link {
    transform: translateY(0);
  }

  .section-title,
  .sequence-section h2,
  #contacto h2,
  .cta-title {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  main h1,
  main h2,
  main h3,
  main h4 {
    max-width: 100%;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .section-title {
    font-size: clamp(1.7rem, 8.6vw, 3.05rem);
    text-wrap: wrap;
  }

  .section-title > span,
  .sequence-section h2 > span,
  #contacto h2 > span {
    display: block;
    max-width: 100%;
  }

  .sequence-section h2 {
    font-size: clamp(2.2rem, 9.5vw, 3.25rem);
  }

  #contacto h2 {
    font-size: clamp(2.9rem, 12.8vw, 3.75rem);
  }

  .cta-title {
    font-size: clamp(1.15rem, 5.8vw, 1.55rem) !important;
  }

  .hero-stats {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }

  .hero-stats > div {
    display: grid;
    grid-template-columns: 5.7rem minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    border-left: 0;
    padding-left: 0;
  }

  .hero-stats > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 0.8rem;
  }

  .hero-stats dd {
    margin-top: 0;
    font-size: 1.25rem;
  }

  .footer-brand {
    max-width: 100%;
    gap: 0.75rem;
  }

  .footer-brand-name {
    min-width: 0;
    font-size: 1.25rem;
  }
}

@media (max-width: 767px) {
  #casa .section-title {
    font-size: clamp(1.5rem, 6.3vw, 2.5rem);
  }
}

@media (max-width: 479px) {
  .hero-main-title {
    font-size: 7.8vw;
  }
}

@media (max-width: 359px) {
  .section-title {
    font-size: 8.2vw;
  }

  #casa .section-title {
    font-size: 5.8vw;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar #site-header {
    top: 46px;
  }

  .admin-bar #scroll-progress {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-line > span,
  [data-hero-item],
  .hero-visual {
    opacity: 1;
    clip-path: none;
    transform: none;
  }

  .hero.hero-ready .hero-title-rotator > span {
    animation: none !important;
  }

  .hero-title-rotator > span:first-child {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero-pointer {
    display: grid;
  }
}

/* ===== Agregado para landing GymGenius ===== */

/* Botón con borde claro para usar sobre fondos oscuros (ink). */
.button-outline-light {
  --button-hover-bg: white;
  --button-hover-color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
}

.button-outline-light:hover {
  color: white;
  background: transparent;
  border-color: white;
}

/* Tarjeta de producto sin foto todavía: icono + etiqueta en vez de imagen. */
.product-media-empty {
  display: flex;
}

.product-media-empty .empty-media-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 0.6rem;
  color: rgba(10, 10, 10, 0.32);
  text-align: center;
}

.product-media-empty .empty-media-inner svg {
  width: 2.4rem;
  height: 2.4rem;
}

.product-media-empty .empty-media-inner span {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Tile de categoría sin foto (usa el mismo componente que bestseller-media). */
.bestseller-media-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(10, 10, 10, 0.26);
}

.bestseller-media-icon svg {
  width: 3rem;
  height: 3rem;
}

/* El botón "Ver producto" (span, sin link) debe verse pero no reaccionar al puntero. */
.button[aria-disabled="true"] {
  cursor: default;
  pointer-events: none;
}

/* Aislamiento frente a estilos globales de temas de WordPress (por ejemplo, Blocksy). */
body.forge-landing-page {
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
}

body.forge-landing-page h1,
body.forge-landing-page h2,
body.forge-landing-page h3,
body.forge-landing-page h4,
body.forge-landing-page h5,
body.forge-landing-page h6 {
  color: inherit;
}

body.forge-landing-page .button,
body.forge-landing-page input,
body.forge-landing-page textarea {
  font-family: "Manrope", sans-serif;
}

/* Blocksy aplica transform:none a algunos pseudo-elementos de enlaces. */
body.forge-landing-page .button::before {
  content: "" !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: absolute !important;
  left: var(--button-x, 50%) !important;
  top: var(--button-y, 50%) !important;
  z-index: 0 !important;
  width: 210% !important;
  aspect-ratio: 1 !important;
  border-radius: 50% !important;
  background: var(--button-hover-bg) !important;
  transform: translate(-50%, -50%) scale(0) !important;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  pointer-events: none;
}

body.forge-landing-page .button:hover::before,
body.forge-landing-page .button:focus-visible::before {
  transform: translate(-50%, -50%) scale(1) !important;
}

body.forge-landing-page .button-label {
  position: relative;
  z-index: 1;
}

body.forge-landing-page .button-acid,
body.forge-landing-page .button-acid:hover {
  color: var(--ink) !important;
  background: var(--acid) !important;
}

body.forge-landing-page .button-dark,
body.forge-landing-page .button-dark:hover {
  color: white !important;
  background: var(--ink) !important;
}

body.forge-landing-page .button-outline-light,
body.forge-landing-page .button-outline-light:hover {
  color: white !important;
  background: transparent !important;
}

body.forge-landing-page .button-outline-dark,
body.forge-landing-page .button-outline-dark:hover {
  color: var(--ink) !important;
  background: transparent !important;
}

body.forge-landing-page .contact-form input,
body.forge-landing-page .contact-form textarea {
  color: white;
  background: transparent;
  font-size: 1rem;
  line-height: 1.5rem;
}

body.forge-landing-page .contact-form .button-dark,
body.forge-landing-page .contact-form .button-dark:hover {
  color: var(--ink) !important;
  background: var(--acid) !important;
}
