/* ===================================================
   SIGNO/ — Premium light landing page
   =================================================== */

*,
*::before,
*::after {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden
}

:root {
  /* Fallback hasta que el globo calcule (JS): CRO + canvas; no usar en Performance (tiene cabecera encima) */
  --globe-viz-height: 220px;
  --bg: #FAF8F4;
  --bg-2: #F5F1EA;
  --panel: #FFFFFF;
  --panel-2: #EDE9E0;
  --line: rgba(28, 18, 8, .07);
  --line-2: rgba(28, 18, 8, .13);
  --fg: #1C1814;
  --fg-2: #3D3830;
  --fg-3: #7A7068;
  --fg-4: #B5ADA4;
  --gold: #8C6020;
  --gold-2: #B07830;
  --gold-glow: 0 0 60px rgba(140, 96, 32, .25);
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --pad: clamp(20px, 4vw, 60px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button {
  font-family: inherit
}

.dot {
  color: var(--gold);
  font-style: normal;
  display: inline-block;
  text-shadow: 0 0 24px rgba(140, 96, 32, .35);
}

em {
  font-style: italic;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
}

.mono {
  font-family: 'Geist Mono', ui-monospace, monospace;
  letter-spacing: .02em;
}

/* grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.6'/></svg>");
}


/* ===========================
   NAV
=========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.nav__inner {
  pointer-events: auto;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 8px 12px 8px 18px;
  background: #FAF8F4;
  border: none;
  border-bottom: 1px solid #E5DFD6;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}

.nav.scrolled .nav__inner {
  background: #FAF8F4;
  border-color: #D9D0C7;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-2);
}

.nav__links a {
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease)
}

.nav__links a:hover {
  color: var(--fg)
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.nav__links a:hover::after {
  transform: scaleX(1)
}

@media (max-width:880px) {
  .nav__links {
    display: none
  }
}

/* Hamburger menu button */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__hamburger span {
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: all .3s var(--ease);
  display: block;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(11px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-11px);
}

@media (max-width:880px) {
  .nav__hamburger {
    display: flex;
    grid-column: 3;
  }

  .nav__cta {
    display: none !important;
  }
}

/* Mobile menu — drops from top, full width */
.mobile-menu {
  position: fixed;
  top: 45px;
  left: 0;
  right: 0;
  z-index: 45;
  background: #FAF8F4;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease);
  display: none;
  border-bottom: none;
}

.mobile-menu.active {
  max-height: 420px;
  border-bottom: 1px solid #E5DFD6;
}

body.menu-open::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(28, 18, 8, .35);
  z-index: 40;
  pointer-events: none;
  animation: menu-overlay-in .3s ease forwards;
}

@keyframes menu-overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 20px;
  width: 100%;
}

.mobile-menu__link {
  display: block;
  padding: 16px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--fg-2);
  transition: color .25s var(--ease), background .25s var(--ease), opacity .4s var(--ease), transform .4s var(--ease);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(-12px);
}

.mobile-menu.active .mobile-menu__link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu__link:nth-child(1) {
  transition-delay: .05s
}

.mobile-menu__link:nth-child(2) {
  transition-delay: .1s
}

.mobile-menu__link:nth-child(3) {
  transition-delay: .15s
}

.mobile-menu__link:nth-child(4) {
  transition-delay: .2s
}

.mobile-menu__link:nth-child(5) {
  transition-delay: .25s
}

.mobile-menu__link:hover {
  color: var(--fg);
  background: rgba(28, 18, 8, .05);
}

.mobile-menu__cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  transition-delay: .3s, .3s, 0s, 0s, 0s;

  background: var(--fg);
  color: #FAF8F4;
  box-shadow: 0 0 0 1px rgba(28, 18, 8, .2), 0 8px 30px -8px rgba(28, 18, 8, .5);
}

.mobile-menu.active .mobile-menu__cta:hover {
  background: var(--fg-2);
  box-shadow: 0 0 0 1px rgba(28, 18, 8, .3), 0 14px 40px -8px rgba(28, 18, 8, .6);
  transform: translateY(-2px);
}

.mobile-menu.active .mobile-menu__cta {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width:880px) {
  .mobile-menu {
    display: block
  }
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap;
}

.d-show-mobile {
  display: none;
}

.btn--primary {
  background: var(--gold);
  color: #FAF8F4;
  box-shadow: 0 0 0 1px rgba(140, 96, 32, .3), 0 8px 30px -8px rgba(140, 96, 32, .4);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(140, 96, 32, .5), 0 14px 40px -8px rgba(140, 96, 32, .55), 0 0 50px rgba(140, 96, 32, .18);
}

.btn--hero {
  background: var(--panel);
  color: var(--fg);
  box-shadow: 0 0 0 1px rgba(28, 18, 8, .1), 0 8px 30px -8px rgba(28, 18, 8, .2);
}

.btn--hero:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(28, 18, 8, .2), 0 14px 40px -8px rgba(28, 18, 8, .3), 0 0 50px rgba(28, 18, 8, .08);
}

.btn--ghost {
  color: var(--fg);
  background: transparent;
  padding: 12px 4px;
}

.btn--ghost .btn__rule {
  display: block;
  height: 1px;
  width: 0;
  background: var(--gold);
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  transition: width .4s var(--ease);
}

.btn--ghost {
  position: relative;
  padding-bottom: 18px;
}

.btn--ghost:hover .btn__rule {
  width: calc(100% - 8px);
}

.btn--ghost.btn--lg:hover .btn__rule {
  width: calc(100% - 56px);
}

.btn--lg {
  padding: 18px 28px;
  font-size: 13px;
}

.nav__cta {
  padding: 10px 16px 10px 20px;
  background: var(--fg);
  color: #FAF8F4;
  box-shadow: 0 0 0 1px rgba(28, 18, 8, .2), 0 8px 30px -8px rgba(28, 18, 8, .5);
}

.nav__cta:hover {
  background: var(--fg-2);
  box-shadow: 0 0 0 1px rgba(28, 18, 8, .3), 0 14px 40px -8px rgba(28, 18, 8, .6);
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 0;
  /* centra el contenido en el área visible bajo el nav fijo (≈56px) */
  padding-top: 45px;
  overflow: hidden;
  isolation: isolate;
  background: transparent; /* mismo crema que el body; transparente para que el gecko (z-index:-1) asome desde el header */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.hero__canvas {
  display: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 96, 32, .14) 0%, transparent 60%);
  filter: blur(100px);
  animation: floatGlow 20s ease-in-out infinite alternate;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(28, 18, 8, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 18, 8, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 10;
  width: min(calc(100% - 40px), 720px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  color: var(--fg);
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Laurel wreath decoration */
.hero__laurel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__laurel svg {
  /* escala con la pantalla igual que el texto, sin techo fijo */
  width: clamp(480px, 78vw, 1060px);
  height: auto;
  color: var(--fg);
  opacity: 0.09;
  flex-shrink: 0;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  font-size: 10.5px;
  letter-spacing: .13em;
  color: var(--fg-2);
  text-transform: uppercase;
  white-space: nowrap;
  margin: 0 auto 20px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(140, 96, 32, .5);
  flex-shrink: 0;
  animation: dotPulse 1.6s ease-in-out infinite;
}

.hero__badge-sep {
  color: var(--fg-4);
}

.hero__badge-break {
  display: none;
}

.hero__badge-sep--2 {}

/* Hero text */
.hero .hero__title {
  color: var(--fg);
  text-align: center;
}

.hero .hero__sub {
  color: var(--fg-2);
  text-align: center;
  margin: 0 0 32px;
}

.hero .dot {
  color: var(--gold);
  text-shadow: 0 0 24px rgba(140, 96, 32, .4);
}

.hero .hl {
  color: var(--gold);
}

.hl--u {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-style: normal;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/* CTAs centred */
.hero__cta {
  justify-content: center;
}

/* Hero feature strip */
/* Ticker hero móvil: oculto en desktop, visible en móvil */
.ticker--hero {
  display: none;
}

.hero .btn--hero,
.cta .btn--hero {
  background: var(--fg);
  color: #FAF8F4;
  box-shadow: 0 0 0 1px rgba(28, 18, 8, .2), 0 8px 30px -8px rgba(28, 18, 8, .5);
}

.hero .btn--hero:hover,
.cta .btn--hero:hover {
  background: var(--fg-2);
  box-shadow: 0 0 0 1px rgba(28, 18, 8, .3), 0 14px 40px -8px rgba(28, 18, 8, .6);
}

.hero .hero__ghost {
  color: var(--fg);
}

.hero .hero__ghost .btn__rule {
  background: var(--gold);
}

/* Proof centred */
.hero__proof {
  justify-content: center;
}

/* Real photo avatars — hide old CSS face pseudo-elements */
.av {
  background-size: cover;
  background-position: center;
}

.av::after {
  display: none !important;
}

/* Scroll cue */
.hero .hero__cue {
  color: var(--fg-3);
}

.hero .hero__cue svg path {
  stroke: rgba(28, 18, 8, .35);
}

/* ===== RIGHT column ===== */
.hero__right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 70px 80px 40px;
}

/* Dot grid behind the panel */
.hero__dots {
  position: absolute;
  inset: -40px -50px -40px 20px;
  background-image: radial-gradient(circle, rgba(28, 18, 8, .13) 1px, transparent 1px);
  background-size: 22px 22px;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 55% 50%, black 0%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 55% 50%, black 0%, black 20%, transparent 75%);
}

/* Browser mockup */
.hero__mock {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(28, 18, 8, .09);
  box-shadow:
    0 2px 4px rgba(28, 18, 8, .04),
    0 12px 40px rgba(28, 18, 8, .12),
    0 32px 80px rgba(28, 18, 8, .08);
  overflow: hidden;
}

/* Chrome bar */
.mock__chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: #faf8f4;
  border-bottom: 1px solid rgba(28, 18, 8, .07);
}

.mock__traffic {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.t-red {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF5F57;
}

.t-yellow {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FFBD2E;
}

.t-green {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #28C840;
}

.mock__nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
  font-size: 8.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-family: 'Geist', sans-serif;
}

/* Body: photo | card */
.mock__body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 260px;
}

.mock__img {
  background-image: url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=600&q=80');
  background-size: cover;
  background-position: center;
  min-height: 220px;
}

.mock__card {
  padding: 22px 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock__card h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin: 0;
  color: var(--fg);
}

.mock__card p {
  font-size: 10.5px;
  color: var(--fg-3);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.mock__btn {
  display: inline-block;
  background: var(--fg);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  font-family: 'Geist', sans-serif;
}

/* Stats chip */
.mock__chip {
  position: absolute;
  bottom: 10px;
  right: 20px;
  background: #fff;
  border: 1px solid rgba(28, 18, 8, .1);
  border-radius: 14px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 30px rgba(28, 18, 8, .13), 0 2px 6px rgba(28, 18, 8, .06);
  z-index: 3;
  animation: chipFloat 5s ease-in-out infinite;
}

.chip__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(140, 96, 32, .1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chip__text strong {
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1;
  color: var(--fg);
}

.chip__text span {
  display: block;
  font-size: 10.5px;
  color: var(--fg-3);
  margin-top: 2px;
  white-space: nowrap;
}

/* ---- Mobile portrait ---- */
@media (max-width:768px) {
  .hero {
    height: 100svh;
    min-height: unset;
  }

  .hero__grid,
  .hero__glow {
    display: none;
  }

  .hero__inner {
    padding-bottom: 0;
    margin-top: -12px;
    position: static; /* badge referencia .hero para posicionarse arriba */
  }

  .hero__badge {
    position: absolute;
    top: 108px;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
    z-index: 11;
  }

  .d-hide-mobile {
    display: none !important;
  }

  .d-show-mobile {
    display: inline !important;
  }

  .hero__title {
    font-size: clamp(42px, 12vw, 70px);
    margin: 0 0 12px;
  }

  .hero__sub {
    font-size: 15px;
    max-width: 34ch;
    margin: 0 auto 18px;
  }

  .hero__cta {
    margin-bottom: 20px;
  }

  .hero__proof {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .proof-text {
    text-align: center;
  }

  .proof-text strong {
    display: inline;
  }

  .proof-text strong::after {
    content: " ";
  }

  .proof-text span {
    display: inline;
  }

  .ticker {
    margin-top: 32px;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .ticker__track {
    font-size: clamp(18px, 5vw, 26px);
    gap: 20px;
    animation-duration: 28s;
  }

  .ticker__track span {
    gap: 20px;
  }

  .ticker__track--2 {
    display: inline-flex;
    animation-direction: reverse;
    animation-duration: 32s;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(28, 18, 8, .03);
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--fg-2);
  backdrop-filter: blur(10px);
}

.badge__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(140, 96, 32, .45);
  position: relative;
}

.badge__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg);
}

.hero__title {
  font-size: clamp(52px, 7.5vw, 108px);
  line-height: .92;
  letter-spacing: -0.045em;
  font-weight: 600;
  margin: 0 0 22px;
  max-width: 14ch;
  text-align: center;
}

.hero__title .line {
  display: block;
  overflow: hidden;
}

.hero__title .line>span {
  display: block;
}

.hero__sub {
  color: var(--fg-2);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.55;
  max-width: 46ch;
  margin: 0 auto 30px;
}

.hl {
  color: var(--gold);
  font-style: italic;
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: 1.06em;
}

.hero__features {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__features li {
  display: flex;
  gap: 12px;
  align-items: center;
}

.ico {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: rgba(28, 18, 8, .03);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ico svg {
  width: 18px;
  height: 18px;
}

.hero__features strong {
  display: block;
  font-size: 13.5px;
  color: var(--fg);
  font-weight: 500;
}

.hero__features span {
  font-size: 12.5px;
  color: var(--fg-3);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

/* New Avatar Component (Radix/Shadcn style) */
.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  position: relative;
  display: flex;
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -12px;
  transition: transform 0.2s var(--ease);
}

.avatar:first-child {
  margin-left: 0;
}

.avatar:hover {
  transform: translateY(-2px);
  z-index: 10;
}

.avatar-image {
  aspect-ratio: 1 / 1;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.avatar-fallback {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  background: var(--panel-2);
  color: var(--fg-2);
  font-size: 11px;
  font-weight: 600;
}

.proof-text {
  text-align: left;
}

.proof-text strong {
  display: block;
  font-size: 13.5px;
  color: var(--fg);
  font-weight: 500;
}

.proof-text span {
  font-size: 12.5px;
  color: var(--fg-3);
}

@media (max-width:768px) {
  .hero__proof {
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .proof-text {
    text-align: center;
    width: 100%;
  }

  .proof-text strong {
    display: block;
    margin-bottom: 4px;
  }

  .proof-text span {
    display: block;
  }
}

/* hero reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-reveal="0"] {
  transition-delay: .05s
}

.reveal[data-reveal="1"] {
  transition-delay: .18s
}

.reveal[data-reveal="2"] {
  transition-delay: .32s
}

.reveal[data-reveal="3"] {
  transition-delay: .44s
}

.reveal[data-reveal="4"] {
  transition-delay: .56s
}

.reveal[data-reveal="5"] {
  transition-delay: .7s
}

/* scroll cue */
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: .3em;
  color: rgba(28, 18, 8, .35);
  text-transform: uppercase;
  z-index: 3;
  animation: cueBob 2.6s ease-in-out infinite;
}

@keyframes cueBob {

  0%,
  100% {
    transform: translate(-50%, 0)
  }

  50% {
    transform: translate(-50%, 6px)
  }
}

@media (max-width:1080px) {
  .hero__cue {
    display: none
  }
}

/* Mobile hero CTA — stack buttons vertically */
@media (max-width:768px) {
  .hero__cta {
    flex-direction: column;
    gap: 16px;
    width: auto;
  }

  .hero__cta .btn {
    width: auto;
    justify-content: center;
  }

  .hero__cta .hero__ghost {
    width: fit-content;
    align-self: center;
  }

  .btn--ghost {
    padding: 12px 4px;
    padding-bottom: 18px;
  }
}

/* ===========================
   HERO 3D ORB
=========================== */
.hero__visual {
  position: relative;
  height: min(90vh, 900px);
  display: grid;
  place-items: center;
}

.orb {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.orb__halo {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 96, 32, .28) 0%, rgba(140, 96, 32, .05) 30%, transparent 65%);
  filter: blur(100px);
  right: -180px;
  animation: haloPulse 3s ease-in-out infinite alternate;
}

@keyframes haloPulse {
  from {
    transform: scale(.92);
    opacity: .7
  }

  to {
    transform: scale(1.05);
    opacity: 1
  }
}

.orb__rim {
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 65% 35%, rgba(255, 255, 255, .55) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, transparent 62%, rgba(140, 96, 32, .10) 64%, transparent 66%);
  animation: rimSpin 15s linear infinite;
}

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

.orb__sphere {
  position: relative;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #F0E8D8 0%, #D4C4A8 30%, #B89870 70%),
    #C4A870;
  box-shadow:
    inset -40px -60px 100px rgba(80, 50, 10, .25),
    inset 30px 40px 80px rgba(255, 255, 255, .55),
    0 60px 120px rgba(140, 96, 32, .18),
    0 20px 60px rgba(0, 0, 0, .08);
  transform: rotate(-8deg);
  animation: sphereWobble 4s ease-in-out infinite alternate;
}

@keyframes sphereWobble {
  from {
    transform: rotate(-8deg) translateY(-20px)
  }

  to {
    transform: rotate(2deg) translateY(20px)
  }
}

.orb__hi {
  position: absolute;
  top: 14%;
  left: 20%;
  width: 55%;
  height: 35%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .80) 0%, rgba(255, 255, 255, .28) 35%, transparent 70%);
  filter: blur(6px);
}

.orb__lo {
  position: absolute;
  bottom: 10%;
  right: 18%;
  width: 45%;
  height: 30%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(140, 96, 32, .40) 0%, rgba(140, 96, 32, .08) 40%, transparent 70%);
  filter: blur(8px);
  mix-blend-mode: multiply;
}

.orb__band {
  position: absolute;
  left: 0;
  right: 0;
  top: 48%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(28, 18, 8, .10), transparent);
  transform: rotate(-12deg);
}

.orb__band--2 {
  top: 62%;
  transform: rotate(-12deg);
  background: linear-gradient(to right, transparent, rgba(140, 96, 32, .22), transparent);
}

.orb__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(28, 18, 8, .08);
  pointer-events: none;
}

.orb__ring--1 {
  width: 620px;
  height: 620px;
  animation: ringSpin 10s linear infinite;
}

.orb__ring--2 {
  width: 730px;
  height: 730px;
  border-color: rgba(28, 18, 8, .05);
  border-style: dashed;
  animation: ringSpin 17.5s linear infinite reverse;
}

.orb__ring--3 {
  width: 840px;
  height: 840px;
  border-color: rgba(140, 96, 32, .10);
}

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

.orb__arc {
  position: absolute;
  width: 840px;
  height: 840px;
  pointer-events: none;
  animation: ringSpin 9s linear infinite;
}

.orb__particles {
  position: absolute;
  inset: 0;
  pointer-events: none
}

.orb__particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(140, 96, 32, .6);
  animation: partFloat 8s ease-in-out infinite;
}

.orb__particles span:nth-child(1) {
  top: 20%;
  left: 15%;
  animation-delay: 0s
}

.orb__particles span:nth-child(2) {
  top: 38%;
  left: 88%;
  animation-delay: .6s;
  background: var(--fg-4);
  box-shadow: 0 0 6px rgba(28, 18, 8, .25)
}

.orb__particles span:nth-child(3) {
  top: 78%;
  left: 22%;
  animation-delay: 1.2s;
}

.orb__particles span:nth-child(4) {
  top: 62%;
  left: 80%;
  animation-delay: 1.8s;
  background: var(--fg-4);
  box-shadow: 0 0 5px rgba(28, 18, 8, .25)
}

.orb__particles span:nth-child(5) {
  top: 14%;
  left: 60%;
  animation-delay: 2.4s
}

.orb__particles span:nth-child(6) {
  top: 48%;
  left: 8%;
  animation-delay: 3s
}

.orb__particles span:nth-child(7) {
  top: 88%;
  left: 55%;
  animation-delay: 3.6s
}

.orb__particles span:nth-child(8) {
  top: 30%;
  left: 42%;
  animation-delay: 4.2s;
  background: var(--fg-4);
  box-shadow: 0 0 5px rgba(28, 18, 8, .25)
}

.orb__particles span:nth-child(9) {
  top: 8%;
  left: 32%;
  animation-delay: 4.8s
}

.orb__particles span:nth-child(10) {
  top: 72%;
  left: 90%;
  animation-delay: 5.4s
}

.orb__particles span:nth-child(11) {
  top: 25%;
  left: 75%;
  animation-delay: 6s
}

.orb__particles span:nth-child(12) {
  top: 65%;
  left: 25%;
  animation-delay: 6.6s;
  background: var(--fg-4);
  box-shadow: 0 0 6px rgba(28, 18, 8, .25)
}

.orb__particles span:nth-child(13) {
  top: 45%;
  left: 85%;
  animation-delay: 7.2s
}

.orb__particles span:nth-child(14) {
  top: 55%;
  left: 15%;
  animation-delay: 7.8s;
  background: var(--fg-4);
  box-shadow: 0 0 5px rgba(28, 18, 8, .25)
}

.orb__particles span:nth-child(15) {
  top: 35%;
  left: 70%;
  animation-delay: 8.4s
}

@keyframes partFloat {

  0%,
  100% {
    transform: translateY(0);
    opacity: .3
  }

  50% {
    transform: translateY(-30px);
    opacity: 1
  }
}

.orb__chip {
  position: absolute;
  background: rgba(250, 248, 244, .88);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(20px);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  animation: chipFloat 6s ease-in-out infinite;
}

.orb__chip--1 {
  top: 18%;
  right: -20px;
}

.orb__chip--2 {
  bottom: 28%;
  left: -30px;
  animation-delay: 1s;
}

.orb__chip--3 {
  bottom: 8%;
  right: 10%;
  animation-delay: 2s;
}

@keyframes chipFloat {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-8px)
  }
}

.dotg {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(140, 96, 32, .5);
  animation: dotPulse 1.6s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: .7
  }

  50% {
    opacity: 1;
    transform: scale(1.15)
  }
}

@media (max-width:1080px) {
  .hero__visual {
    height: 520px;
    margin-top: 20px;
  }

  .orb__sphere {
    width: 300px;
    height: 300px;
  }

  .orb__halo {
    width: 440px;
    height: 440px;
  }

  .orb__ring--1 {
    width: 340px;
    height: 340px;
  }

  .orb__ring--2 {
    width: 420px;
    height: 420px;
  }

  .orb__ring--3 {
    width: 480px;
    height: 480px;
  }

  .orb__arc {
    width: 480px;
    height: 480px;
  }
}

/* ===========================
   LOGO BAR
=========================== */
.logobar {
  display: none;
  position: relative;
  z-index: 2;
  margin: 60px auto 0;
  max-width: var(--max);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .6);
  backdrop-filter: blur(20px);
}

.logobar__inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  padding: 22px 30px;
  gap: 20px;
}

.logoitem {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg-3);
  transition: color .3s var(--ease);
}

.logoitem:hover {
  color: var(--fg);
}

.logo-glyph {
  width: 28px;
  height: 28px;
}

.logo-glyph svg {
  width: 100%;
  height: 100%;
}

.logo-text strong {
  display: block;
  font-size: 14.5px;
  color: var(--fg-2);
  font-weight: 600;
  letter-spacing: -.01em;
}

.logoitem:hover .logo-text strong {
  color: var(--fg);
}

.logo-text span {
  font-size: 11px;
  color: var(--fg-4);
  letter-spacing: .04em;
}

@media (max-width:920px) {
  .logobar__inner {
    grid-template-columns: repeat(3, 1fr);
    padding: 18px;
  }
}

@media (max-width:520px) {
  .logobar__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================
   TICKER
=========================== */
.ticker {
  margin: 120px 0 80px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  padding: 30px 0;
}

.ticker__track {
  display: inline-flex;
  gap: 42px;
  animation: tick 50s linear infinite;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(36px, 6vw, 78px);
  color: var(--fg);
  white-space: nowrap;
}

.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 42px;
}

.ticker__track i {
  color: var(--gold);
  font-style: normal;
}

.ticker__track--2 {
  display: none;
}

@media (max-width:768px) {
  /* Ocultar ticker original, mostrar solo el del hero */
  .ticker:not(.ticker--hero) {
    display: none;
  }

  .ticker--hero {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    margin: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: absolute;
    bottom: 38px;
    left: 0;
    right: 0;
    overflow: hidden;
  }

  /* "desplaza" oculto en móvil */
  .hero__cue {
    display: none;
  }

  .ticker__track {
    font-size: clamp(18px, 5vw, 26px);
    gap: 20px;
    animation-duration: 28s;
  }

  .ticker__track span {
    gap: 20px;
  }

  .ticker__track--2 {
    display: inline-flex;
    animation-direction: reverse;
    animation-duration: 32s;
  }
}

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

/* ===========================
   SECTION HEADERS
=========================== */
.section__head {
  max-width: var(--max);
  margin: 0 auto 60px;
  padding: 0 var(--pad);
}

.section__head--center {
  text-align: center;
}

.section__head--center .eyebrow {
  justify-content: center;
}

.section__head--center .section__lead {
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 24px;
}

.eyebrow--center {
  justify-content: center;
  display: flex;
}

.eyebrow__bar {
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
  box-shadow: 0 0 8px rgba(140, 96, 32, .35);
}

.section__title {
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: .98;
  letter-spacing: -0.04em;
  font-weight: 500;
  margin: 0;
  max-width: 18ch;
}

.section__head--center .section__title {
  margin-left: auto;
  margin-right: auto;
}

.section__lead {
  margin-top: 24px;
  color: var(--fg-3);
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  max-width: 54ch;
}

/* ===========================
   SERVICES BENTO
=========================== */
.services {
  padding: 100px 0;
}

.bento {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .55));
  border-radius: var(--r-lg);
  padding: 28px;
  overflow: hidden;
  transition: border-color .35s var(--ease), transform .5s var(--ease);
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(140, 96, 32, .06), transparent 40%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}

.card:hover {
  border-color: rgba(28, 18, 8, .18);
}

.card:hover::after {
  opacity: 1;
}

.card--lg {
  grid-column: span 4;
  min-height: 380px;
}

.card--md {
  grid-column: span 2;
  min-height: 380px;
}

@media (max-width: 980px) {
  .card--lg {
    grid-column: span 6;
  }

  .card--md {
    grid-column: span 3;
  }
}

@media (max-width: 640px) {
  .card--md {
    grid-column: span 6;
  }
}

.card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.tag {
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--fg-3);
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  padding: 5px 10px;
  border-radius: 999px;
}

.num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--fg-4);
  font-size: 18px;
}

.card h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 14px;
}

.card p {
  color: var(--fg-3);
  font-size: 14px;
  line-height: 1.55;
  max-width: 38ch;
  margin: 0 0 22px;
}

.card__demo {
  display: flex;
  gap: 14px;
  margin-top: auto;
}

.card__demo--design {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  margin-top: auto;
}

.card--feature {
  display: flex;
  flex-direction: column;
}

.mini-mock {
  background: #F0EDE4;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  height: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}

.card--lg:hover .mini-mock {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg)
}

.mini-mock--alt {
  transform: perspective(800px) rotateY(4deg) rotateX(2deg)
}

.card--lg:hover .mini-mock--alt {
  transform: perspective(800px) rotateY(0deg) rotateX(0deg)
}

.mm__bar {
  display: flex;
  gap: 5px;
}

.mm__bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #D4CDBE;
}

.mm__bar span:first-child {
  background: var(--gold);
}

.mm__row {
  display: flex;
  gap: 8px;
  align-items: center
}

.mm__h {
  width: 28px;
  height: 8px;
  background: var(--fg-2);
  border-radius: 2px;
}

.mm__t1 {
  width: 60%;
  height: 6px;
  background: #D4CDBE;
  border-radius: 2px;
}

.mm__t1.short {
  width: 40%
}

.mm__t2 {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  margin-left: auto;
}

.mm__hero {
  flex: 1;
  background: #3B2A1A;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
  gap: 6px;
}

.mm__hero::before,
.mm__hero::after { content: none; }

.mm__hi-tag {
  width: 28%;
  height: 4px;
  background: var(--gold);
  border-radius: 999px;
  margin-bottom: 2px;
}

.mm__hi-title {
  width: 84%;
  height: 9px;
  background: rgba(250, 248, 244, .9);
  border-radius: 2px;
}

.mm__hi-body {
  width: 58%;
  height: 5px;
  background: rgba(250, 248, 244, .28);
  border-radius: 2px;
}

.mm__cta {
  width: 60%;
  height: 14px;
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(140, 96, 32, .28);
}

.mm__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mm__grid i {
  background: #E8E3D8;
  border-radius: 4px;
  display: block;
}

.mm__grid i:nth-child(1) {
  background: #C8C1B3;
  background-image: radial-gradient(circle, rgba(28,18,8,.1) 1px, transparent 1px);
  background-size: 5px 5px;
}

.mm__grid i:nth-child(2) {
  background: var(--gold);
}

.mm__grid i:nth-child(3) {
  background: var(--fg-3);
}

.mm__grid i:nth-child(4) {
  background: var(--bg-2);
}

.mm__palette {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 1px 0;
}

.mm__palette span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mm__palette span:nth-child(1) { background: var(--fg); }
.mm__palette span:nth-child(2) { background: var(--gold); }
.mm__palette span:nth-child(3) { background: #C8C1B3; }
.mm__palette span:nth-child(4) { background: var(--panel-2); border: 1px solid rgba(28,18,8,.15); }

/* SEO ranks */
.seo-rank {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.rk {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
}

.rk span {
  flex: 1;
  color: var(--fg-2);
}

.rk__pos {
  font-family: 'Geist Mono', monospace;
  color: var(--gold);
  font-weight: 600;
}

/* seo lens card */
.card--seo-lens {
  display: flex;
  flex-direction: column;
}

.seo-lens-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
  margin-top: auto;
  border-radius: var(--r-md);
  background: var(--panel-2);
  border: 1px solid var(--line);
  cursor: grab;
}

.seo-lens-wrap:active {
  cursor: grabbing;
}

.seo-tags-base,
.seo-tags-reveal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  padding: 0 8px;
  pointer-events: none;
}

.seo-tags-reveal {
  clip-path: circle(16px at 50% 50%);
  z-index: 3;
}

.seo-row {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: seoScroll 22s linear infinite;
}

.seo-row[data-dir="-1"] {
  animation-direction: reverse;
}

@keyframes seoScroll {
  from {
    transform: translateX(0);
  }

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

.seo-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 10px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--fg-3);
  white-space: nowrap;
}

.seo-tag svg {
  flex-shrink: 0;
  color: var(--fg-4);
}

.seo-tag--lit {
  background: var(--panel);
  border-color: rgba(140, 96, 32, .35);
  color: var(--gold);
  font-weight: 600;
  transform: scale(1.12);
  box-shadow: 0 0 0 1px rgba(140, 96, 32, .15), 0 2px 8px rgba(140, 96, 32, .12);
}

.seo-tag--lit svg {
  color: var(--gold);
}

.seo-lens {
  position: absolute;
  z-index: 10;
  top: 35%;
  left: 35%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 12px rgba(28, 18, 8, .18));
  touch-action: none;
  user-select: none;
  pointer-events: all;
}

.seo-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20%;
  z-index: 4;
  pointer-events: none;
}

.seo-fade--l {
  left: 0;
  background: linear-gradient(to right, var(--panel-2), transparent);
}

.seo-fade--r {
  right: 0;
  background: linear-gradient(to left, var(--panel-2), transparent);
}

/* Performance · gráfico de área (paleta signo/) */
.perf-chart {
  margin-top: auto;
  border-radius: var(--r-md);
  background: var(--panel-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.perf-chart__top {
  padding: 14px 18px 10px;
}

.perf-chart__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.perf-chart__tit {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-weight: 500;
}

.perf-chart__badge {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold);
  background: rgba(140, 96, 32, .12);
  border: 1px solid rgba(140, 96, 32, .22);
  border-radius: 999px;
  padding: 4px 10px;
}

.perf-chart__scoreline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}

.perf-chart__score {
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.perf-chart__score-note {
  font-size: 12px;
  color: var(--fg-3);
  max-width: 22ch;
}

.perf-chart__grid {
  display: grid;
  grid-template-columns: 1fr minmax(112px, 118px);
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.perf-chart__plot {
  /* Sin padding horizontal: el área llega del borde del card hasta el separador dorado */
  padding: 12px 0 14px;
  min-height: 111px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.perf-chart__mask {
  width: 100%;
  display: block;
  flex: 1;
  min-height: 93px;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.05s var(--ease) 0.22s;
  will-change: clip-path;
}

.card.in-up.in .perf-chart__mask {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .perf-chart__mask {
    clip-path: inset(0 0 0 0);
    transition: none;
    will-change: auto;
  }
}

.perf-chart__svg {
  width: 100%;
  height: 102px;
  display: block;
}

.perf-chart__rail {
  border-left: 2px solid var(--gold);
  padding: 14px 12px 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: rgba(140, 96, 32, .035);
}

.perf-chart__rail-kpi {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.perf-chart__rail-meta {
  font-size: 10px;
  line-height: 1.35;
  color: var(--fg-3);
  font-weight: 500;
}

/* CRO */
.cro {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.cro__row {
  display: grid;
  grid-template-columns: 60px 1fr 50px;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
}

.cro__row span {
  color: var(--fg-3);
}

.cro__row b {
  font-family: 'Geist Mono', monospace;
  color: var(--fg);
}

/* CRO animated bars card */
.card--cro-anim {
  display: flex;
  flex-direction: column;
}

.cro-visual {
  position: relative;
  overflow: hidden;
  height: var(--globe-viz-height);
  margin-top: auto;
  border-radius: var(--r-md);
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.cro-ellipse,
.cro-grid,
.cro-overlay,
.cro-bars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cro-ellipse {
  z-index: 1;
}

.cro-grid {
  z-index: 2;
  background-image: linear-gradient(to right, rgba(28, 18, 8, .06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 18, 8, .06) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%);
  opacity: .7;
}

.cro-bars {
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cro-bars svg {
  display: block;
  width: 100%;
  height: auto;
}

.cro-bars svg rect {
  transition: height .5s cubic-bezier(.6, .6, 0, 1), y .5s cubic-bezier(.6, .6, 0, 1), fill .5s cubic-bezier(.6, .6, 0, 1);
}

.cro-visual.hovered .cro-bars {
  transform: scale(1.5);
  transition: transform .5s cubic-bezier(.6, .6, 0, 1);
}

.cro-bars {
  transition: transform .5s cubic-bezier(.6, .6, 0, 1);
}

.cro-overlay {
  z-index: 4;
  transform: translateY(100%);
  transition: transform .5s cubic-bezier(.6, .6, 0, 1);
}

.cro-visual.hovered .cro-overlay {
  transform: translateY(0);
}

.cro-chip {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(250, 248, 244, .93);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 12px 5px 8px;
  transform: translateY(6px);
  opacity: 0;
  transition: opacity .35s ease, transform .35s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
}

.cro-visual.hovered .cro-chip {
  opacity: 1;
  transform: translateY(0);
}

.cro-chip__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.cro-chip__label {
  font-size: 11px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: .01em;
}

.cro-chip__divider {
  width: 1px;
  height: 11px;
  background: var(--line-2);
  flex-shrink: 0;
}

.cro-chip__stat {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  white-space: nowrap;
}

.cro-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  display: flex;
  gap: 6px;
  transition: opacity .3s ease;
}

.cro-visual.hovered .cro-badges {
  opacity: 0;
}

.cro-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(250, 248, 244, .7);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  color: var(--fg);
}

.cro-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cro-badge__dot--main {
  background: var(--gold);
}

.cro-badge__dot--sec {
  background: var(--gold-2);
}

/* Bucket / maintenance card */
.card--maint {
  display: flex;
  flex-direction: column;
}

.bucket-wrap {
  position: relative;
  margin-top: 32px;
  width: 100%;
  aspect-ratio: 655/280;
  overflow: visible;
  /* Las píldoras escalan con el ancho de la ilustración (no quedan fijas en 160px) */
  container-type: inline-size;
  container-name: bucket;
}

@media (min-width: 769px) {
  .bucket-wrap {
    margin-top: 76px;
  }
}

.bucket-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bucket-svg--back {
  z-index: 1;
}

.bucket-svg--front {
  z-index: 3;
  pointer-events: none;
}

.bucket-stage {
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  bottom: -100px;
  z-index: 2;
}

/* Ancho en el contenedor posicionado para que el % del clamp use .bucket-stage como referencia */
.bucket-chip {
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translateX(-50%) translateY(-50%);
  /* Fallback si no hay container queries; con bucket-wrap como contenedor usa 38cqi */
  width: clamp(120px, 40%, 160px);
  width: clamp(100px, 38cqi, 240px);
  box-sizing: border-box;
}

.bucket-chip__inner {
  display: flex;
  align-items: center;
  gap: 6px;
  gap: clamp(4px, 1.4cqi, 8px);
  width: 100%;
  box-sizing: border-box;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 10px 5px 5px;
  padding: clamp(4px, 1.2cqi, 7px) clamp(8px, 2.4cqi, 12px) clamp(4px, 1.2cqi, 7px) clamp(4px, 1.2cqi, 7px);
  box-shadow: 0 2px 10px rgba(28, 18, 8, .12);
  white-space: nowrap;
}

.bucket-chip__icon {
  width: 24px;
  height: 24px;
  width: clamp(20px, 6.5cqi, 28px);
  height: clamp(20px, 6.5cqi, 28px);
  border-radius: 50%;
  background: var(--panel-2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.bucket-chip__icon svg {
  width: 12px;
  height: 12px;
  width: clamp(10px, 3.4cqi, 14px);
  height: clamp(10px, 3.4cqi, 14px);
}

.bucket-chip p {
  margin: 0 !important;
}

.bucket-chip__title {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
  font-size: clamp(10px, 3.4cqi, 13px);
}

.bucket-chip__sub {
  font-size: 9.5px;
  color: var(--fg-3);
  line-height: 1.2;
}

/* enter/exit animations */
@keyframes chipIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(calc(-50% - 80px)) scale(0.82);
  }

  25% {
    opacity: 1;
    transform: translateX(-50%) translateY(calc(-50% - 80px)) scale(0.82);
  }

  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }
}

@keyframes chipOut {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(-50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-50%) scale(0.92);
  }
}

.bucket-chip--in {
  animation: chipIn 2.2s cubic-bezier(.455, .03, .515, .955) forwards;
}

.bucket-chip--out {
  animation: chipOut 0.45s cubic-bezier(.455, .03, .515, .955) forwards;
}

@media (max-width:768px) {
  .card.card--maint {
    overflow: visible;
  }

  /* Misma escala cubo + píldoras (antes scale 1.2 al cubo dejaba la caja enorme frente a las píldoras) */
  .card.card--maint .bucket-chip {
    top: calc(45% + 12px);
  }
}

/* Globo en card principal · sin sub-caja · canvas transparente */
.feat-globe {
  margin-top: auto;
  margin-left: -28px;
  margin-right: -28px;
  margin-bottom: -6px;
  width: calc(100% + 56px);
  position: relative;
  background: transparent;
  pointer-events: none;
}

.card--feature .feat-globe {
  flex-shrink: 0;
}

.feat-globe__canvas {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  background: transparent;
  cursor: grab;
  pointer-events: auto;
  touch-action: none;
}

.feat-globe__canvas:active {
  cursor: grabbing;
}

.feat-globe__error {
  margin: 0;
  padding: 20px 28px;
  text-align: center;
  font-size: 13px;
  color: var(--fg-3);
  pointer-events: none;
}

.feat-globe--error .feat-globe__canvas {
  display: none;
}

.feat-globe--error {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Status */
.status {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.status__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  color: var(--fg-2);
}

.status__item i {
  margin-left: auto;
  color: var(--fg-3);
  font-size: 11px;
}

/* GEO card */
.card--geo {
  display: flex;
  flex-direction: column;
}

.geo-visual {
  margin-top: auto;
  position: relative;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.geo-chat-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.geo-message-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.geo-message {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.geo-message--user {
  align-items: flex-end;
}

.geo-message--assistant {
  align-items: flex-start;
}

.geo-bubble {
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-words;
}

.geo-bubble--user {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--panel);
  color: var(--fg);
}

.geo-bubble--assistant {
  max-width: 90%;
  padding: 0;
  color: var(--fg-2);
  line-height: 1.6;
}

.geo-input-bar {
  flex-shrink: 0;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--panel);
}

.geo-input-wrapper {
  position: relative;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(28, 18, 8, .05);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: flex-end;
  padding: 8px;
  gap: 8px;
}

.geo-input {
  flex: 1;
  resize: none;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg);
  font-family: 'Geist', sans-serif;
  min-height: 28px;
  max-height: 120px;
  overflow-y: auto;
}

.geo-input::placeholder {
  color: var(--fg-4);
}

.geo-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.geo-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--fg-3);
  color: var(--fg-4);
  cursor: not-allowed;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.geo-send-btn:not(:disabled) {
  background: var(--fg);
  color: #FAF8F4;
  cursor: pointer;
}

.geo-send-btn:not(:disabled):hover {
  transform: translateY(-1px);
}

.geo-send-btn--sending {
  transform: scale(0.85) !important;
  opacity: 0.7;
}

.geo-typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 8px 2px;
}

.geo-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fg-3);
  animation: geo-bounce 1s infinite ease-in-out;
}

.geo-typing span:nth-child(2) { animation-delay: 0.2s; }
.geo-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes geo-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.geo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(140, 96, 32, .12), rgba(140, 96, 32, .06));
  border: 1px solid rgba(140, 96, 32, .2);
  border-radius: 999px;
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: .04em;
  align-self: center;
  margin-top: 8px;
  margin-bottom: 12px;
  margin-left: 16px;
  margin-right: 16px;
}

.geo-badge__icon {
  font-size: 14px;
  animation: geoSparkle 2s ease-in-out infinite;
}

@keyframes geoSparkle {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: .7;
  }
}

/* Security card */
.card--security {
  display: flex;
  flex-direction: column;
}

.sec-visual {
  margin-top: auto;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--panel-2);
  min-height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sec-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.sec2-cpu-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  padding: 12px 8px;
}

/* chip colors → web palette */
.sec2-cpu-svg [fill="#1A1614"] {
  fill: var(--fg-2);
}

/* ===========================
   PROCESS / TIMELINE
=========================== */
.process {
  padding: 100px 0;
  position: relative;
}

.process .timeline {
  margin: 0 auto;
  padding: 0 var(--pad);
}

.process .timeline::before {
  display: none;
}

.timeline {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
}

.timeline__rail {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
}

.timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(to bottom, transparent, var(--gold));
  box-shadow: 0 0 20px rgba(140, 96, 32, .35);
  transition: height .15s linear;
}

.timeline__steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 30px 0;
}

.step {
  position: relative;
  padding: 30px 36px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
  border-radius: var(--r-lg);
  width: calc(50% - 60px);
  transition: border-color .4s var(--ease), background .4s var(--ease);
}

.step::before {
  content: "";
  position: absolute;
  top: 40px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-2);
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}

.step.active::before {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 18px rgba(140, 96, 32, .45);
}

.step.active {
  border-color: rgba(140, 96, 32, .28);
}

.step:nth-child(odd) {
  align-self: flex-start;
}

.step:nth-child(odd)::before {
  right: -67px;
}

.step:nth-child(even) {
  align-self: flex-end;
}

.step:nth-child(even)::before {
  left: -67px;
}

.step__num {
  font-family: 'Geist Mono', monospace;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .1em;
}

.step__week {
  font-size: 11px;
  color: var(--fg-4);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin: 6px 0 14px;
}

.step h3 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0 0 10px;
}

.step p {
  color: var(--fg-3);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.step__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.step__list li {
  font-size: 11.5px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--fg-3);
  letter-spacing: .04em;
}

@media (max-width:780px) {
  .timeline__rail {
    left: 18px;
  }

  .step {
    width: calc(100% - 50px);
    margin-left: auto;
  }

  .step:nth-child(odd) {
    align-self: flex-end;
  }

  .step:nth-child(odd)::before,
  .step:nth-child(even)::before {
    left: -37px;
    right: auto;
  }
}

/* ===========================
   WORKS
=========================== */
.works {
  padding: 100px 0;
}

.works__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width:820px) {
  .works__grid {
    grid-template-columns: 1fr;
  }
}

.work {
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
}

.work__thumb {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s var(--ease);
}

.work--tall .work__thumb {
  aspect-ratio: 16/13;
}

.work:hover .work__thumb {
  border-color: rgba(28, 18, 8, .20);
  transform: translateY(-4px) rotateX(2deg);
}

.work__chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: rgba(250, 248, 244, .90);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  z-index: 2;
  font-size: 11px;
  color: var(--fg-3);
  font-family: 'Geist Mono', monospace;
}

.work__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D4CDBE;
}

.work__chrome b {
  margin-left: auto;
  font-weight: 400;
  color: var(--fg-3);
}

.work__art {
  position: absolute;
  inset: 32px 0 0;
  padding: 30px;
}

.work--marina {
  background: linear-gradient(135deg, #0d2030, #050a10);
}

.work__art--marina .wa__sky {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(140, 96, 32, .14), transparent 60%),
    linear-gradient(180deg, #14304a 0%, #06121f 100%);
}

.work__art--marina .wa__type {
  position: absolute;
  bottom: 30px;
  left: 30px;
  z-index: 2;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: .92;
  color: #f5f5f0;
}

.work__art--marina .wa__type span {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: #c8a04a;
  font-size: .55em;
}

.work__art--marina .wa__type b {
  display: block;
}

.work__art--marina .wa__menu {
  position: absolute;
  top: 30px;
  right: 30px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.work__art--marina .wa__menu i {
  width: 22px;
  height: 6px;
  background: rgba(255, 255, 255, .15);
  border-radius: 99px;
}

.work__art--marina .wa__menu i:last-child {
  background: #c8a04a;
  width: 30px;
}

.work--clinica {
  background: #f5f3ee;
}

.work__art--clinica {
  color: #0a0a0a;
}

.work__art--clinica .wa__big {
  font-size: 56px;
  line-height: .95;
  letter-spacing: -.04em;
  font-weight: 500;
}

.work__art--clinica .wa__big i {
  color: #8C6020;
  text-shadow: none;
}

.work__art--clinica em {
  font-family: 'Instrument Serif', serif;
  color: #555;
  font-size: .9em;
}

.work__art--clinica .wa__pill {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: #1C1814;
  color: #f5f3ee;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.work__art--clinica .wa__chart {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 160px;
  height: 80px;
  background: linear-gradient(180deg, rgba(140, 96, 32, .4), transparent);
  clip-path: polygon(0 100%, 0 60%, 15% 70%, 30% 50%, 45% 55%, 60% 30%, 75% 35%, 100% 10%, 100% 100%);
}

.work--studio {
  background: #1a1a1a;
}

.work__art--studio {
  font-family: 'Instrument Serif', serif;
}

.work__art--studio .wa__num {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 90px;
  line-height: 1;
  color: rgba(255, 255, 255, .06);
  font-style: italic;
}

.work__art--studio .wa__big {
  font-size: 42px;
  line-height: .95;
  letter-spacing: -.02em;
  font-weight: 300;
  color: #f5f5f0;
}

.work__art--studio .wa__big.small {
  font-size: 36px;
  max-width: 8ch;
}

.work__art--studio .wa__strip {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.work__art--studio .wa__strip i {
  height: 50px;
  background: #252525;
  border-radius: 6px;
}

.work--barber {
  background: linear-gradient(135deg, #251a0a, #0a0805);
}

.work__art--barber {
  font-family: 'Geist', sans-serif;
}

.work__art--barber .wa__bar {
  position: absolute;
  top: 60px;
  left: 30px;
  right: 30px;
  height: 1px;
  background: #c8a04a;
  box-shadow: 0 0 8px rgba(200, 160, 74, .5);
}

.work__art--barber .wa__big {
  font-size: 64px;
  letter-spacing: .04em;
  line-height: 1;
  font-weight: 700;
  color: #f5f3ee;
  margin-top: 90px;
}

.work__art--barber .wa__big.xl {
  font-size: 72px;
}

.work__art--barber .wa__price {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: #c8a04a;
  font-size: 18px;
}

.work__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 4px;
}

.work__meta strong {
  display: block;
  font-size: 16px;
  font-weight: 500;
}

.work__meta span {
  font-size: 13px;
  color: var(--fg-3);
}

.work__year {
  font-family: 'Geist Mono', monospace;
  color: var(--fg-4);
  font-size: 13px;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 50px auto 0;
  padding: 16px 24px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.more-link:hover {
  background: rgba(28, 18, 8, .04);
  border-color: var(--line-2);
}

/* ===========================
   DASHBOARD
=========================== */
.dashboard {
  padding: 120px 0;
  position: relative;
}

.dash {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .6));
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.panel--main {
  grid-column: span 4;
  min-height: 340px;
}

.panel--conv {
  grid-column: span 2;
}

.panel--pages {
  grid-column: span 3;
  padding-left: 14px;
  padding-right: 18px;
}

.panel--funnel {
  grid-column: span 3;
}

.panel--rank {
  grid-column: span 4;
}

.panel--live {
  grid-column: span 2;
}

@media (max-width:980px) {
  .panel--main {
    grid-column: span 6;
  }

  .panel--conv {
    grid-column: span 6;
  }

  .panel--pages,
  .panel--funnel {
    grid-column: span 6;
  }

  .panel--pages {
    padding-left: 22px;
    padding-right: 22px;
  }

  .panel--rank {
    grid-column: span 6;
  }

  .panel--live {
    grid-column: span 6;
  }
}

.panel__eye {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--fg-3);
  text-transform: uppercase;
}

.panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.panel__big {
  font-size: 54px;
  font-weight: 500;
  letter-spacing: -.04em;
  margin: 6px 0 4px;
  line-height: 1;
}

.panel__delta {
  font-size: 12px;
  color: var(--gold);
  font-family: 'Geist Mono', monospace;
}

.panel__delta.up {
  color: var(--gold);
}

.panel__tabs {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.panel__tabs span {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--fg-3);
  cursor: pointer;
}

.panel__tabs .active {
  background: var(--gold);
  color: #FAF8F4;
}

.chart {
  position: relative;
  height: 200px;
}

.chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chart__tt {
  position: absolute;
  pointer-events: none;
  background: rgba(250, 248, 244, .96);
  border: 1px solid var(--line-2);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  backdrop-filter: blur(10px);
  transform: translate(-50%, -110%);
  white-space: normal;
  max-width: 200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transition: opacity .2s, top .15s, left .15s;
}

.chart__tt b {
  color: var(--gold);
  font-family: 'Geist Mono', monospace;
}

.chart__tt span {
  color: var(--fg-3);
}

.chart.live .chart__tt {
  opacity: 1;
}

.panel__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 10.5px;
  color: var(--fg-4);
  letter-spacing: .1em;
  text-transform: uppercase;
}

.panel__foot--organic {
  flex-wrap: wrap;
  gap: 6px 14px;
  row-gap: 4px;
}


.panel__foot--legend {
  align-items: center;
  gap: 10px;
}

.legend {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-2);
}

.legend li b {
  margin-left: auto;
  font-family: 'Geist Mono', monospace;
  color: var(--fg);
}

.d {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* live */
.live__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.live__big {
  font-size: 60px;
  font-weight: 500;
  letter-spacing: -.04em;
  margin-top: 8px;
  line-height: 1;
}

.live__sub {
  color: var(--fg-3);
  font-size: 13px;
  margin-bottom: 18px;
}

.live__foot {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 11px;
  color: var(--fg-3);
}

/* ===========================
   STATS COUNTERS
=========================== */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 80px 0;
}

.stats__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 28px);
  align-items: start;
}

.stat {
  text-align: center;
}

.stat__figure {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  color: #966b43;
  line-height: 1;
}

.stat__figure .count {
  display: inline-block;
  font-size: clamp(2.5rem, 4.5vw, 3.35rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  font-variant-numeric: proportional-nums;
}

.stat__figure--stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.stat__figure--stack .count {
  line-height: 0.95;
}

.stat__unit {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.95rem, 1.55vw, 1.15rem);
  color: #966b43;
  line-height: 1.1;
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.stat__label {
  margin: 18px 0 0;
  padding: 0;
  max-width: 14ch;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #4a4a4a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.stat__label--single {
  max-width: 20ch;
}

.stat__label span {
  display: block;
}

@media (max-width:760px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===========================
   TESTIMONIALS
=========================== */
.testi {
  padding: 100px 0;
}

.testi__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (max-width:780px) {
  .testi__grid {
    grid-template-columns: 1fr;
  }
}

.quote {
  margin: 0;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .6);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}

.quote:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
}

.qmark {
  width: 36px;
  height: 36px;
}

.quote blockquote {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.4;
  letter-spacing: -.015em;
  font-weight: 400;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.ava {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.ava--1 {
  background: linear-gradient(135deg, #c5b09a, #8a6a50);
}

.ava--2 {
  background: linear-gradient(135deg, #a0b4c0, #607080);
}

.ava--3 {
  background: linear-gradient(135deg, #b0a0c0, #706080);
}

.ava--4 {
  background: linear-gradient(135deg, #a0c0b0, #608070);
}

.quote figcaption strong {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
}

.quote figcaption span {
  display: block;
  font-size: 12.5px;
  color: var(--fg-3);
}

/* ===========================
   STACK
=========================== */
.stack {
  padding: 80px 0;
}

.logo-cloud {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  max-width: var(--max);
  margin: 60px auto 0;
}

@media (min-width: 768px) {
  .logo-cloud {
    grid-template-columns: repeat(4, 1fr);
  }
}

.logo-cloud__line {
  pointer-events: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
}

.logo-cloud__line--top {
  top: -1px;
  border-top: 1px solid var(--line);
}

.logo-cloud__line--bottom {
  bottom: -1px;
  border-bottom: 1px solid var(--line);
}

.logo-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 32px 16px;
}

@media (min-width: 768px) {
  .logo-card {
    padding: 32px;
  }
}

.logo-card__img {
  pointer-events: none;
  height: 16px;
  user-select: none;
  transition: filter 0.3s var(--ease);
}

@media (min-width: 768px) {
  .logo-card__img {
    height: 20px;
  }
}

.logo-card__plus {
  position: absolute;
  z-index: 10;
  width: 24px;
  height: 24px;
  color: var(--fg-4);
  pointer-events: none;
}

.logo-card__plus--rb {
  right: -12.5px;
  bottom: -12.5px;
}

.logo-card__plus--lb {
  left: -12.5px;
  bottom: -12.5px;
}

.bg-secondary {
  background: var(--bg-2);
}

.border-r {
  border-right: 1px solid var(--line);
}

.border-b {
  border-bottom: 1px solid var(--line);
}

@media (min-width: 768px) {
  .md\:border-r {
    border-right: 1px solid var(--line);
  }

  .md\:border-b {
    border-bottom: 1px solid var(--line);
  }

  .md\:border-r-0 {
    border-right: none;
  }

  .md\:border-b-0 {
    border-bottom: none;
  }

  .md\:bg-secondary {
    background: var(--bg-2);
  }

  .md\:bg-background {
    background: var(--bg);
  }

  .md\:block {
    display: block;
  }

  .md\:hidden {
    display: none;
  }
}

@media (max-width: 767px) {
  .hidden-mobile {
    display: none;
  }

  /* En móvil el grid es 2 columnas. Las tarjetas en posición impar quedan en
     la columna derecha; su cruz --rb se saldría fuera del borde del grid. */
  .logo-cloud > .logo-card:nth-child(odd) .logo-card__plus--rb {
    display: none;
  }
}


/* ===========================
   ABOUT (sticky)
=========================== */
.about {
  padding: 120px 0;
  position: relative;
}

.about__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: stretch;
}

/* LEFT */
.about__left {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
}

.about__title {
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 500;
  margin: 24px 0 40px;
}

.about__card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--fg);
  border: 1px solid var(--line-2);
  box-shadow: 0 2px 24px rgba(28, 18, 8, .07);
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Faint "02" numeral decorativo */
.about__card::before {
  content: '02';
  position: absolute;
  bottom: 80px; right: 16px;
  font-size: 130px;
  line-height: 1;
  font-weight: 700;
  color: var(--gold);
  opacity: .05;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -.04em;
  user-select: none;
}

.about__card-glow {
  display: none;
}

.about__card-quote {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: -.02em;
  padding: 36px 32px 36px;
  margin: 0;
  flex: 1;
  position: relative;
  z-index: 1;
  color: var(--fg);
}

.about__card-quote .dot {
  color: var(--gold);
}

/* Tray inferior dos tonos */
.about__card-meta {
  list-style: none;
  margin: 0;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--bg-2);
  border-top: 1px solid var(--line-2);
  position: relative;
  z-index: 1;
}

.about__card-meta li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 10px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: background .2s;
}

.about__card-meta li:hover {
  background: #FFFFFF;
}

.about__meta-key {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--fg-4);
  font-family: 'Geist Mono', ui-monospace, monospace;
  order: 2;
}

.about__meta-val {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
  order: 1;
  line-height: 1.2;
}

.about__meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #27ae60;
  flex-shrink: 0;
  animation: meta-pulse 2.4s ease-in-out infinite;
}

@keyframes meta-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(39, 174, 96, .5); }
  50% { opacity: .7; transform: scale(.85); box-shadow: 0 0 0 5px rgba(39, 174, 96, 0); }
}

/* RIGHT */
.about__right {
  display: flex;
  flex-direction: column;
  padding-top: 56px;
}

.about__item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  flex: 1;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  align-content: start;
  transition: border-color .3s var(--ease);
}

.about__item:last-child {
  border-bottom: 1px solid var(--line);
}

.about__item:hover {
  border-color: var(--line-2);
}

.about__item-num {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--fg-4);
  letter-spacing: .06em;
  padding-top: 5px;
}

.about__item-body h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  line-height: 1.2;
}

.about__item-body h3 .muted {
  color: var(--fg-4);
  font-weight: 400;
}

.about__item-body p {
  color: var(--fg-2);
  line-height: 1.65;
  margin: 0;
  font-size: 15px;
}

@media (max-width: 960px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__left {
    position: static;
  }

  .about__right {
    padding-top: 0;
  }
}

@media (max-width: 600px) {
  .about__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .about__item-num {
    padding-top: 0;
  }
}

/* ===========================
   BLOG PREVIEW
=========================== */
.blog-preview {
  padding: 100px 0;
}

.blog-preview__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-preview__cta {
  max-width: var(--max);
  margin: 48px auto 0;
  padding: 0 var(--pad);
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .blog-preview__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-preview__grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   FAQ
=========================== */
.faq {
  padding: 100px 0;
}

.faq__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 28px 0;
  color: var(--fg);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: -.015em;
  text-align: left;
}

.faq__item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
  margin-left: 20px;
}

.faq__item.open svg {
  transform: rotate(180deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq__item.open .faq__a {
  max-height: 300px;
}

.faq__a p {
  color: var(--fg-3);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  padding: 0 0 28px;
  max-width: 70ch;
}

/* ===========================
   CTA
=========================== */
.cta {
  position: relative;
  padding: 140px 0;
  isolation: isolate;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta__glow {
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 96, 32, .14) 0%, transparent 60%);
  filter: blur(100px);
  animation: floatGlow 20s ease-in-out infinite alternate;
}

.cta__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(28, 18, 8, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 18, 8, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.cta__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
}

.cta__title {
  font-size: clamp(48px, 7vw, 110px);
  line-height: .96;
  letter-spacing: -.04em;
  font-weight: 500;
  margin: 24px 0 28px;
}

.cta__lead {
  color: var(--fg-2);
  font-size: clamp(15px, 1.2vw, 18px);
  max-width: 48ch;
  margin: 0 auto;
}

.cta__row {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin: 50px 0 30px;
  flex-wrap: wrap;
}

.cta__meta {
  display: flex;
  gap: 12px;
  justify-content: center;
  font-size: 12.5px;
  color: var(--fg-3);
  flex-wrap: wrap;
  align-items: center;
}

.cta__meta .dotg {
  margin-right: 8px;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  border-top: 1px solid var(--line);
  padding: 80px var(--pad) 40px;
}

.footer__top {
  max-width: var(--max);
  margin: 0 auto;
}

.footer__big {
  font-size: clamp(80px, 18vw, 280px);
  line-height: .85;
  letter-spacing: -.05em;
  font-weight: 600;
  margin: 0;
  background: linear-gradient(180deg, var(--fg) 0%, rgba(28, 18, 8, .12) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
}

.footer__big img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer__big span {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  font-family: 'Geist', sans-serif;
  font-weight: 300;
}

.footer__cols {
  max-width: var(--max);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width:760px) {
  .footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

.footer__eye {
  display: block;
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer__cols p {
  color: var(--fg-3);
  font-size: 14px;
  line-height: 1.6;
  max-width: 36ch;
}

.footer__cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__cols ul a {
  color: var(--fg-2);
  font-size: 14px;
  transition: color .25s;
}

.footer__cols ul a:hover {
  color: var(--gold);
}

.footer__rule {
  height: 1px;
  background: var(--line);
  margin: 60px 0 24px;
}

.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--fg-3);
  max-width: var(--max);
  margin: 0 auto;
  flex-wrap: wrap;
}

.dotg-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============== FOOTER EXTRAS ============== */
.footer__wa-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__wa-dot {
  flex-shrink: 0;
}

.footer__wa-num {
  color: var(--fg-3);
  font-size: 13px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  letter-spacing: .04em;
}

.footer__qr-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--fg-2);
  font-size: 14px;
  font-family: inherit;
  transition: color .25s;
  text-align: left;
}

.footer__qr-btn:hover {
  color: var(--gold);
}

.footer__avail {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__avail li {
  color: var(--fg-2);
  font-size: 14px;
}

.footer__avail-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--fg) !important;
}

/* ============== QR MODAL ============== */
/* trigger button — plain text style */
.qr-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

/* QR modal */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.qr-modal.is-open,
.qr-modal.is-closing {
  pointer-events: auto;
}

.qr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 18, 8, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .35s ease;
}

.qr-modal.is-open .qr-modal__backdrop {
  opacity: 1;
}

.qr-modal__panel {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 48px 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 320px;
  width: calc(100vw - 40px);
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
  will-change: transform, opacity;
}

.qr-modal.is-open .qr-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.qr-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.qr-modal__close:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.qr-modal__label {
  font-size: 11px;
  color: var(--fg-3);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0;
}

.qr-modal__img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  display: block;
  border: 1px solid var(--line);
}

.qr-modal__link {
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: .04em;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
}

.qr-modal__link:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ============== utility scroll-reveal ============== */
.in-up {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}

.in-up.in {
  opacity: 1;
  transform: none;
  filter: none;
}
/* =============================================
   PROJECT OVERLAY
   ============================================= */

.proj-overlay {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: var(--bg);
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}

.proj-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.proj-panel {
  min-height: 100%;
  transform: translateY(24px);
  transition: transform .4s var(--ease);
}

.proj-overlay.is-open .proj-panel {
  transform: translateY(0);
}

/* Topbar */
.proj-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  height: 56px;
  background: rgba(250, 248, 244, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.proj-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 6px;
}

.proj-close {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--fg-2);
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.proj-close:hover {
  background: var(--panel-2);
  border-color: rgba(28,18,8,.18);
  color: var(--fg);
}

/* ═══════════════════════════════════════════════════════
   CASE STUDY — Nexo (informe visual · chrome propio)
═══════════════════════════════════════════════════════ */
.case { color: var(--fg); }

/* Reveal scroll — gated por .cr-ready (a prueba de fallos) */
.case.cr-ready [data-cr] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
}
.case.cr-ready [data-cr].cr-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .case.cr-ready [data-cr] { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ── HERO ── */
.case-hero { max-width: 960px; margin: 0 auto; padding: clamp(40px, 7vw, 76px) var(--pad) 0; }
.case-hero__inner { max-width: 820px; }
.case-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Geist Mono', monospace; font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--fg-3);
}
.case-eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(140, 96, 32, .14);
}
.case-title {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(48px, 9vw, 104px); line-height: .94; letter-spacing: -.025em;
  margin: 20px 0 0; color: var(--fg);
}
.case-title__alt { color: var(--gold); font-style: italic; }
.case-tagline {
  margin: 24px 0 0; max-width: 60ch;
  font-size: clamp(16px, 2.1vw, 20px); line-height: 1.6; color: var(--fg-2);
}

/* Browser frame (preview en vivo) */
.case-browser {
  margin: clamp(30px, 5vw, 48px) 0 0;
  border-radius: 16px; overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -34px rgba(28,18,8,.4), 0 2px 0 0 var(--line) inset;
}
.case-browser__bar {
  display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 14px;
  background: var(--panel-2); border-bottom: 1px solid var(--line);
}
.case-browser__dots { display: flex; gap: 7px; flex-shrink: 0; }
.case-browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.case-browser__dots i:nth-child(1) { background: #f87171; }
.case-browser__dots i:nth-child(2) { background: #fbbf24; }
.case-browser__dots i:nth-child(3) { background: #4ade80; }
.case-browser__url {
  flex: 1; font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--fg-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.case-browser__live {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  padding: 7px 13px; border-radius: 999px; background: var(--gold); color: #fff;
  font-size: 12px; font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.case-browser__live:hover { transform: translateY(-1px); background: var(--gold-2); }
.case-browser__live-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: case-pulse 1.8s ease-in-out infinite; }
@keyframes case-pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.case-browser__shot { background: var(--panel-2); max-height: 520px; overflow: hidden; }
@media (min-width: 900px) {
  .case-hero { max-width: 1140px; }
  .case-browser__shot { max-height: 680px; }
}
.case-browser__shot img { width: 100%; height: auto; display: block; }

/* ── SPEC STRIP ── */
.case-spec {
  max-width: 960px; margin: clamp(26px, 4vw, 40px) auto 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 18px 50px -34px rgba(28,18,8,.3); overflow: hidden;
}
.case-spec__item { display: flex; flex-direction: column; gap: 5px; padding: 18px 20px; border-left: 1px solid var(--line); }
.case-spec__item:first-child { border-left: 0; }
.case-spec__k { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-4); }
.case-spec__v { font-size: 14px; font-weight: 500; color: var(--fg); letter-spacing: -.01em; }
@media (max-width: 760px) {
  .case-spec { grid-template-columns: 1fr 1fr; }
  .case-spec__item:nth-child(odd) { border-left: 0; }
  .case-spec__item { border-top: 1px solid var(--line); }
  .case-spec__item:nth-child(1), .case-spec__item:nth-child(2) { border-top: 0; }
}

/* ── BLOQUES ── */
.case-block { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 80px) var(--pad) 0; }
.case-num {
  display: block; font-family: 'Instrument Serif', serif;
  font-size: clamp(36px, 6vw, 66px); line-height: 1; color: transparent;
  -webkit-text-stroke: 1.2px var(--gold); text-stroke: 1.2px var(--gold);
  opacity: .55; margin-bottom: 14px;
}
.case-h2 {
  font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(30px, 5vw, 50px); line-height: 1.06; letter-spacing: -.02em;
  color: var(--fg); margin: 0 0 22px;
}
.case-statement {
  font-family: 'Instrument Serif', serif; font-size: clamp(25px, 4.2vw, 40px);
  line-height: 1.18; letter-spacing: -.015em; color: var(--fg); margin: 0 0 24px; max-width: 24ch;
}
.case-statement em { font-style: italic; color: var(--gold); }
.case-body { font-size: 16px; line-height: 1.78; color: var(--fg-2); margin: 0 0 18px; }
.case-body strong { color: var(--fg); font-weight: 600; }
.case-body em { font-style: italic; color: var(--gold); }

/* ── ANTES / DESPUÉS ── */
.case-shift {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 14px;
  margin: 30px 0 0;
}
.shift {
  display: flex; flex-direction: column; gap: 8px; padding: 24px 22px;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--panel);
}
.shift--after { border-color: rgba(140,96,32,.32); background: linear-gradient(180deg, rgba(140,96,32,.05), var(--panel)); }
.shift__tag { font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-4); }
.shift--after .shift__tag { color: var(--gold); }
.shift__big { font-family: 'Instrument Serif', serif; font-size: clamp(40px, 7vw, 64px); line-height: .9; color: var(--fg-4); }
.shift--after .shift__big { color: var(--gold); }
.shift__txt { font-size: 13.5px; line-height: 1.55; color: var(--fg-3); }
.shift__arrow { display: flex; align-items: center; justify-content: center; color: var(--gold); }
@media (max-width: 600px) {
  .case-shift { grid-template-columns: 1fr; }
  .shift__arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* ── PALETA (showcase) ── */
.palette { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 0; }
.sw {
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--panel);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.sw:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(28,18,8,.4); }
.sw__chip { height: 128px; display: flex; align-items: flex-end; padding: 12px; }
.sw--forest .sw__chip { background: #1C2B16; }
.sw--sage .sw__chip { background: #9FAD8E; }
.sw--bone .sw__chip { background: #F4F4ED; box-shadow: inset 0 0 0 1px var(--line); }
.sw__hex { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .04em; }
.sw--forest .sw__hex { color: rgba(244,244,237,.92); }
.sw--sage .sw__hex { color: #1C2B16; }
.sw--bone .sw__hex { color: #5A5E4E; }
.sw__meta { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; }
.sw__name { font-size: 16px; font-weight: 600; color: var(--fg); letter-spacing: -.01em; }
.sw__role { font-size: 12.5px; line-height: 1.55; color: var(--fg-3); }
@media (max-width: 640px) { .palette { grid-template-columns: 1fr; } .sw { display: grid; grid-template-columns: 110px 1fr; } .sw__chip { height: 100%; } }

.palette-note {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 20px;
  padding: 22px 24px; background: var(--bg-2); border-left: 2.5px solid var(--gold); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.palette-note .case-body { margin: 0; flex: 1 1 300px; }
.palette-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.pchip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--fg-2);
  padding: 5px 11px 5px 9px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel);
}
.pchip::before { content: ''; width: 12px; height: 12px; border-radius: 4px; background: var(--c); }
.pchip--light::before { box-shadow: inset 0 0 0 1px var(--line-2); }

/* ── LADDER (mapa visual = escalera de conversión) ── */
.ladder { position: relative; list-style: none; margin: 30px 0 0; padding: 0; }
.ladder::before { content: ''; position: absolute; left: 17px; top: 14px; bottom: 30px; width: 2px; background: var(--line-2); }
.rung { position: relative; display: flex; gap: 16px; padding-bottom: 16px; }
.rung__node {
  position: relative; z-index: 1; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--gold); color: var(--gold);
  font-family: 'Instrument Serif', serif; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.rung__card {
  flex: 1; display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.rung__card:hover { transform: translateX(2px); box-shadow: 0 14px 34px -22px rgba(28,18,8,.4); }
.rung__icon { flex-shrink: 0; width: 30px; height: 30px; color: var(--gold); }
.rung__icon svg { width: 100%; height: 100%; }
.rung__txt { display: flex; flex-direction: column; gap: 5px; }
.rung__txt strong { font-size: 14.5px; font-weight: 600; color: var(--fg); letter-spacing: -.01em; line-height: 1.35; }
.rung__txt span { font-size: 13.5px; line-height: 1.6; color: var(--fg-3); }
.rung__txt em { font-style: italic; color: var(--fg-2); }
.brandchips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.bchip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 500; color: var(--fg-2);
  padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2);
}
.bchip svg { width: 14px; height: 14px; color: var(--gold); }

/* ── TIPOGRAFÍA (specimen) ── */
.case-type { margin: 28px 0; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: var(--panel); }
.ty { display: flex; align-items: center; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.ty:last-child { border-bottom: 0; }
.ty__w { font-family: 'Montserrat', 'Geist', sans-serif; font-size: clamp(40px, 8vw, 58px); line-height: 1; color: var(--fg); letter-spacing: -.02em; width: 1.6em; flex-shrink: 0; }
.ty__d { display: flex; flex-direction: column; gap: 3px; }
.ty__d strong { font-size: 15px; font-weight: 600; color: var(--fg); }
.ty__d span { font-family: 'Geist Mono', monospace; font-size: 11.5px; color: var(--fg-3); letter-spacing: .02em; }

/* ── TARJETAS (conversión / técnico) ── */
.case-conv, .case-tech { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 0; }
.cv, .tc { display: flex; flex-direction: column; gap: 7px; padding: 22px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); }
.cv__t, .tc__t { font-size: 14px; font-weight: 600; color: var(--fg); letter-spacing: -.01em; }
.cv__t::before, .tc__t::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 9px; vertical-align: middle; }
.cv__d, .tc__d { font-size: 13.5px; line-height: 1.6; color: var(--fg-3); }
.cv__d em, .tc__d em { font-style: italic; color: var(--fg-2); }
@media (max-width: 600px) { .case-conv, .case-tech { grid-template-columns: 1fr; } }

/* ── RESULTADO · mockup móvil ── */
.case-result {
  max-width: 960px; margin: clamp(52px, 8vw, 84px) auto 0; padding: clamp(40px, 6vw, 64px) var(--pad);
  background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr; gap: 36px; justify-items: center; text-align: center;
}
.case-result__head { max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.case-result__head .case-h2 { margin: 14px 0 10px; }
.case-result__head .case-body { margin: 0 0 22px; }
.case-result__btn { align-self: center; }
.phone {
  position: relative; width: min(280px, 76vw); aspect-ratio: 390 / 844;
  background: #1C1814; border-radius: 42px; padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(28,18,8,.55), 0 0 0 2px rgba(28,18,8,.06);
}
.phone__notch { position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 38%; height: 22px; background: #1C1814; border-radius: 0 0 14px 14px; z-index: 2; }
.phone__screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@media (min-width: 720px) {
  .case-result { grid-template-columns: 1fr auto; justify-items: start; text-align: left; align-items: center; gap: 48px; }
  .case-result__head { align-items: flex-start; }
  .case-result__btn { align-self: flex-start; }
}

/* ── ENTREGABLES ── */
.case-deliver { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.case-deliver li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--fg); padding: 11px 0; border-bottom: 1px solid var(--line); }
.case-deliver li em { font-style: normal; color: var(--fg-3); }
.ck { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.ck::after { content: ''; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px; border: 1.6px solid var(--bg); border-top: 0; border-left: 0; transform: rotate(43deg); }
@media (max-width: 560px) { .case-deliver { grid-template-columns: 1fr; } }

/* ── STATS ── */
.case-stats {
  margin-top: clamp(52px, 8vw, 84px); background: var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: clamp(44px, 6vw, 72px) var(--pad);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center;
}
.case-stat { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.case-stat__v { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(48px, 8vw, 84px); line-height: .92; letter-spacing: -.02em; color: var(--fg); }
.case-stat__v small { font-size: .4em; color: var(--gold); margin-left: 2px; }
.case-stat__l { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .03em; color: var(--fg-3); max-width: 22ch; }
@media (max-width: 620px) { .case-stats { grid-template-columns: 1fr; gap: 34px; } }

/* ── CTA ── */
.case-cta { max-width: 760px; margin: 0 auto; padding: clamp(52px, 8vw, 84px) var(--pad) clamp(70px, 10vw, 110px); display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.case-cta__pre {
  font-family: 'Instrument Serif', serif; font-size: clamp(24px, 4vw, 40px);
  line-height: 1.12; letter-spacing: -.02em; color: var(--fg); margin: 0; max-width: 20ch;
}

/* ── CASA SOL Y LUNA · swatches propios ── */
.sw--turquoise .sw__chip { background: #0E96A0; }
.sw--pine .sw__chip { background: #10201F; }
.sw--cream .sw__chip { background: #FBF8F3; box-shadow: inset 0 0 0 1px var(--line); }
.sw--turquoise .sw__hex { color: rgba(253,251,247,.92); }
.sw--pine .sw__hex { color: rgba(244,239,230,.85); }
.sw--cream .sw__hex { color: #5A5E58; }

/* ── CASA SOL Y LUNA · demo de temas de acento (live, solo CSS) ──
   Un único ciclo de 9s partido en tercios exactos (0–33 / 33–66 / 66–100%).
   Tarjeta, punto y etiqueta comparten el mismo reparto de tiempo mediante el
   truco del animation-delay negativo — ver nota junto a cada regla de delay. */
.csl-theme-demo { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 24px 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.csl-theme-card { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; background: #FBF8F3; border: 1px solid rgba(23,27,26,.12); flex-shrink: 0; }
.csl-theme-eyebrow { font-family: 'Instrument Sans', 'Geist', sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #171B1A; white-space: nowrap; }
.csl-theme-icon { width: 15px; height: 15px; border-radius: 50%; background: #0E96A0; animation: csl-theme-bg 9s infinite, csl-theme-pop 9s infinite; flex-shrink: 0; }
.csl-theme-btn { font-family: 'Instrument Sans', 'Geist', sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 8px 16px; border-radius: 999px; background: #0E96A0; animation: csl-theme-bg 9s infinite; white-space: nowrap; }
.csl-theme-side { display: flex; flex-direction: column; gap: 10px; flex: 1 1 180px; min-width: 160px; }
.csl-theme-labels { position: relative; height: 20px; }
.csl-theme-lbl { position: absolute; inset: 0; display: flex; align-items: center; font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: .02em; color: var(--fg-3); opacity: 0; animation: csl-theme-lbl 9s infinite; }
/* Fase 1 = 0–33% del ciclo: sin delay, coincide con el arranque. */
.csl-theme-lbl--1 { animation-delay: 0s; }
/* Fase 2 (terracota) empieza al 33% (=3s) → hace falta "adelantar" el reloj
   interno 6s (2 tercios) para que su ventana 0–33% caiga justo ahí. */
.csl-theme-lbl--2 { animation-delay: -6s; }
/* Fase 3 (azul noche) empieza al 66% (=6s) → adelanto de 3s (1 tercio). */
.csl-theme-lbl--3 { animation-delay: -3s; }
.csl-theme-dots { display: flex; gap: 8px; }
.csl-theme-dot { width: 22px; height: 4px; border-radius: 2px; background: var(--line-2); transition: none; }
.csl-theme-dot--1 { animation: csl-theme-dot1 9s infinite; animation-delay: 0s; }
.csl-theme-dot--2 { animation: csl-theme-dot2 9s infinite; animation-delay: -6s; }
.csl-theme-dot--3 { animation: csl-theme-dot3 9s infinite; animation-delay: -3s; }
@keyframes csl-theme-bg {
  0%, 28%  { background: #0E96A0; box-shadow: 0 10px 24px -10px rgba(14,150,160,.55); }
  33%, 61% { background: #B96A45; box-shadow: 0 10px 24px -10px rgba(185,106,69,.55); }
  66%, 94% { background: #25506B; box-shadow: 0 10px 24px -10px rgba(37,80,107,.55); }
  100%     { background: #0E96A0; box-shadow: 0 10px 24px -10px rgba(14,150,160,.55); }
}
@keyframes csl-theme-pop {
  0%, 24%, 33%, 100% { transform: scale(1); }
  30.5% { transform: scale(1.45); }
  57%, 66% { transform: scale(1); }
  63.5% { transform: scale(1.45); }
  90%, 99% { transform: scale(1); }
  96.5% { transform: scale(1.45); }
}
@keyframes csl-theme-lbl { 0%, 28% { opacity: 1; transform: translateY(0); } 29% { opacity: 0; transform: translateY(-4px); } 32%, 100% { opacity: 0; transform: translateY(4px); } }
@keyframes csl-theme-dot1 { 0%, 28% { background: #0E96A0; width: 26px; } 32%, 100% { background: var(--line-2); width: 22px; } }
@keyframes csl-theme-dot2 { 0%, 28% { background: #B96A45; width: 26px; } 32%, 100% { background: var(--line-2); width: 22px; } }
@keyframes csl-theme-dot3 { 0%, 28% { background: #25506B; width: 26px; } 32%, 100% { background: var(--line-2); width: 22px; } }
@media (prefers-reduced-motion: reduce) { .csl-theme-icon, .csl-theme-btn, .csl-theme-lbl, .csl-theme-dot { animation: none; } }
@media (max-width: 480px) {
  .csl-theme-card { flex-wrap: wrap; justify-content: center; border-radius: 20px; max-width: 100%; box-sizing: border-box; }
  .csl-theme-eyebrow { flex: 1 1 100%; text-align: center; }
  .csl-theme-side { flex: 1 1 100%; align-items: center; }
  .csl-theme-lbl { justify-content: center; }
  .csl-theme-dots { justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   GOHIGHRATED · caso de estudio (negocio propio)
   Robamos a propósito la paleta y el lenguaje de Google.
══════════════════════════════════════════════════════════ */

/* Paleta de 4 colores de Google (reutiliza .palette / .sw pero en 4 columnas) */
.palette--google { grid-template-columns: repeat(4, 1fr); }
.sw--gblue   .sw__chip { background: #4285F4; }
.sw--gred    .sw__chip { background: #EA4335; }
.sw--gyellow .sw__chip { background: #FBBC05; }
.sw--ggreen  .sw__chip { background: #34A853; }
.sw--gblue .sw__hex, .sw--gred .sw__hex, .sw--ggreen .sw__hex { color: rgba(255,255,255,.95); }
.sw--gyellow .sw__hex { color: #202124; }

/* Chip NFC giratorio — la firma visual del producto, replicada en vivo */
.ghr-demo { margin: 30px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 26px 40px; padding: 30px 34px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.ghr-chip { position: relative; width: 128px; height: 128px; flex: none; }
.ghr-chip__ping { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(66,133,244,.5); animation: ghr-ping 2.4s ease-out infinite; }
.ghr-chip__ping--2 { animation-delay: .8s; }
.ghr-chip__ping--3 { animation-delay: 1.6s; }
.ghr-chip__ring { position: absolute; inset: 10px; border-radius: 50%; background: conic-gradient(#4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75% 100%); animation: ghr-spin 6s linear infinite; }
.ghr-chip__core { position: absolute; inset: 15px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(20,40,90,.2); }
.ghr-chip__tap { font-family: 'Poppins', 'Geist', sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .07em; color: #202124; }
.ghr-chip__stars { color: #FBBC05; font-size: 14px; letter-spacing: 2px; margin-top: 3px; }
@keyframes ghr-spin { to { transform: rotate(360deg); } }
@keyframes ghr-ping { 0% { transform: scale(.9); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.ghr-demo__text { flex: 1 1 220px; min-width: 200px; }
.ghr-demo__text p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--fg-3); }
.ghr-demo__text strong { color: var(--fg); font-weight: 600; }
.ghr-demo__tag { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 10px; font-family: 'Geist Mono', monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-4); }
.ghr-demo__tag::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #34A853; }
@media (prefers-reduced-motion: reduce) { .ghr-chip__ring, .ghr-chip__ping { animation: none; } }

/* Muestra tipográfica Poppins */
.ghr-type { font-family: 'Poppins', 'Geist', sans-serif; }
.ghr-type .ty__w { font-family: 'Poppins', 'Geist', sans-serif; letter-spacing: -.03em; }
.ghr-type .ty__d strong { font-family: 'Poppins', 'Geist', sans-serif; }

/* Píldora camaleón — cicla por los 4 colores de Google (demo del CTA que sigue al scroll) */
.ghr-cta-demo { margin: 28px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 30px; padding: 26px 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.ghr-cta-pill { font-family: 'Poppins', 'Geist', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #fff; padding: 12px 26px; border-radius: 999px; background: #4285F4; animation: ghr-cta-bg 8s infinite; white-space: nowrap; flex: none; }
.ghr-cta-side { display: flex; flex-direction: column; gap: 11px; flex: 1 1 200px; min-width: 180px; }
.ghr-cta-labels { position: relative; height: 20px; }
.ghr-cta-lbl { position: absolute; inset: 0; display: flex; align-items: center; font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--fg-3); opacity: 0; animation: ghr-cta-lbl 8s infinite; }
.ghr-cta-lbl--1 { animation-delay: 0s; }
.ghr-cta-lbl--2 { animation-delay: -6s; }
.ghr-cta-lbl--3 { animation-delay: -4s; }
.ghr-cta-lbl--4 { animation-delay: -2s; }
.ghr-cta-dots { display: flex; gap: 8px; }
.ghr-cta-dot { width: 20px; height: 4px; border-radius: 2px; background: var(--line-2); }
.ghr-cta-dot--1 { animation: ghr-cta-d1 8s infinite; }
.ghr-cta-dot--2 { animation: ghr-cta-d2 8s infinite; animation-delay: -6s; }
.ghr-cta-dot--3 { animation: ghr-cta-d3 8s infinite; animation-delay: -4s; }
.ghr-cta-dot--4 { animation: ghr-cta-d4 8s infinite; animation-delay: -2s; }
@keyframes ghr-cta-bg {
  0%, 22%  { background: #4285F4; box-shadow: 0 10px 22px -10px rgba(66,133,244,.6); }
  25%, 47% { background: #EA4335; box-shadow: 0 10px 22px -10px rgba(234,67,53,.6); }
  50%, 72% { background: #FBBC05; color: #202124; box-shadow: 0 10px 22px -10px rgba(251,188,5,.6); }
  75%, 97% { background: #34A853; box-shadow: 0 10px 22px -10px rgba(52,168,83,.6); }
  100%     { background: #4285F4; box-shadow: 0 10px 22px -10px rgba(66,133,244,.6); }
}
@keyframes ghr-cta-lbl { 0%, 20% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes ghr-cta-d1 { 0%, 20% { background: #4285F4; width: 24px; } 24%, 100% { background: var(--line-2); width: 20px; } }
@keyframes ghr-cta-d2 { 0%, 20% { background: #EA4335; width: 24px; } 24%, 100% { background: var(--line-2); width: 20px; } }
@keyframes ghr-cta-d3 { 0%, 20% { background: #FBBC05; width: 24px; } 24%, 100% { background: var(--line-2); width: 20px; } }
@keyframes ghr-cta-d4 { 0%, 20% { background: #34A853; width: 24px; } 24%, 100% { background: var(--line-2); width: 20px; } }
@media (prefers-reduced-motion: reduce) { .ghr-cta-pill, .ghr-cta-lbl, .ghr-cta-dot { animation: none; } }
@media (max-width: 480px) {
  .ghr-cta-side { flex: 1 1 100%; align-items: center; }
  .ghr-cta-lbl { justify-content: center; }
  .ghr-cta-dots { justify-content: center; }
  .ghr-demo__text { flex: 1 1 100%; }
}
@media (max-width: 560px) { .palette--google { grid-template-columns: repeat(2, 1fr); } }



/* ═══════════════════════════════════════════════════════
   WORKS GRID — imagen real (13 proyectos)
═══════════════════════════════════════════════════════ */

.works__grid--img {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 980px) {
  .works__grid--img {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .works__grid--img {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* Tarjeta con imagen real */
.work--img .work__thumb {
  background: var(--panel-2);
  aspect-ratio: 16/10;
  overflow: hidden;
}

.work__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s var(--ease), filter .4s var(--ease);
  filter: saturate(.88) brightness(.94);
}

.work--img:hover .work__img {
  transform: scale(1.05);
  filter: saturate(1) brightness(1);
}

/* Overlay hint al hover */
.work__img-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
  background: linear-gradient(to top, rgba(14,10,4,.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity .35s var(--ease);
}

.work--img:hover .work__img-overlay {
  opacity: 1;
}

.work__img-overlay span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255,255,255,.92);
  text-transform: uppercase;
  font-family: 'Geist Mono', monospace;
}

/* Tarjeta hidden — oculta hasta que el usuario expande */
.work--hidden {
  display: none;
}

.works__grid--expanded .work--hidden {
  display: flex;
  animation: workFadeIn .4s var(--ease) both;
}

@keyframes workFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Stagger en tarjetas expandidas */
.works__grid--expanded .work--hidden:nth-child(7)  { animation-delay: .04s; }
.works__grid--expanded .work--hidden:nth-child(8)  { animation-delay: .09s; }
.works__grid--expanded .work--hidden:nth-child(9)  { animation-delay: .14s; }
.works__grid--expanded .work--hidden:nth-child(10) { animation-delay: .19s; }
.works__grid--expanded .work--hidden:nth-child(11) { animation-delay: .24s; }
.works__grid--expanded .work--hidden:nth-child(12) { animation-delay: .29s; }
.works__grid--expanded .work--hidden:nth-child(13) { animation-delay: .34s; }

/* Botón expandir portfolio */
.more-link--expand {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════
   OVERLAY — imagen de portada
═══════════════════════════════════════════════════════ */

.proj-thumb-inner--img {
  background: var(--panel-2);
}

/* ═══════════════════════════════════════════════════════
   DEMO BUTTON
═══════════════════════════════════════════════════════ */

.proj-demo-wrap {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.proj-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  cursor: pointer;
}

.proj-demo-btn:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.proj-demo-btn svg {
  flex-shrink: 0;
  transition: transform .22s var(--ease);
}

.proj-demo-btn:hover svg {
  transform: translateX(2px) translateY(-2px);
}

/* ─── WhatsApp float ─────────────────────────────────────── */
#geckoLayer {
  position: fixed;
  inset: 0;
  z-index: 51;            /* encima del nav (50): el gecko parece externo a la web */
  pointer-events: none;
}
#geckoLayer canvas { display: block; }

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.wa-btn {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--fg);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(28,18,8,.2), 0 8px 30px -8px rgba(28,18,8,.5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  text-decoration: none;
  position: relative;
  animation: wa-in .5s var(--ease) .5s both;
  flex-shrink: 0;
}

.wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 1px rgba(28,18,8,.3), 0 14px 40px -8px rgba(28,18,8,.6);
}

.wa-btn__badge {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid var(--bg);
  animation: wa-pulse 2.5s ease-in-out 9s infinite;
}

.wa-bubble {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  width: 272px;
  box-shadow: 0 0 0 1px rgba(28,18,8,.06), 0 8px 30px -8px rgba(28,18,8,.18);
  position: relative;
  opacity: 0;
  transform: translateY(8px) scale(.97);
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}

.wa-bubble--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.wa-bubble__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-3);
  transition: background .2s var(--ease), color .2s var(--ease);
}

.wa-bubble__close:hover {
  background: var(--panel-2);
  color: var(--fg);
}

.wa-bubble__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-right: 20px;
}

.wa-bubble__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  position: relative;
  flex-shrink: 0;
  font-family: 'Geist Mono', ui-monospace, monospace;
}

.wa-bubble__dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid var(--panel);
}

.wa-bubble__name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
}

.wa-bubble__role {
  display: block;
  font-size: 10px;
  color: var(--fg-3);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 1px;
}

.wa-bubble__msg {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.55;
  margin: 0;
}

@keyframes wa-in {
  from { opacity: 0; transform: scale(.8) translateY(12px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.6); }
}

@media (max-width: 640px) {
  .wa-float { bottom: 16px; right: 16px; }
  .wa-bubble { width: 252px; }
}

/* ─────────────────────────────────────────────────────────────
   GECKO FAB + PANEL — Perenquén mascota
───────────────────────────────────────────────────────────── */

/* Contenedor flotante (esquina inferior izquierda) */
.gecko-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* ── Botón FAB ─────────────────────────────────────────────── */
.gecko-fab {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--fg);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 1px rgba(28,18,8,.2), 0 8px 30px -8px rgba(28,18,8,.5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative;
  overflow: hidden;
  animation: wa-in .5s var(--ease) .5s both;
  flex-shrink: 0;
}

.gecko-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 1px rgba(28,18,8,.3), 0 14px 40px -8px rgba(28,18,8,.6);
}

.gecko-fab__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease;
}

/* Línea diagonal de tachado (estado desactivado) */
.gecko-fab__strike {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}

.gecko-fab__strike svg {
  width: 100%;
  height: 100%;
}

.gecko-fab--off .gecko-fab__strike {
  opacity: 1;
}

/* ── Panel informativo ─────────────────────────────────────── */
.gecko-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  width: 284px;
  box-shadow: 0 0 0 1px rgba(28,18,8,.06), 0 8px 30px -8px rgba(28,18,8,.18);
  position: relative;
  opacity: 0;
  transform: translateY(8px) scale(.97);
  transform-origin: bottom left;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.gecko-panel--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Botón cerrar */
.gecko-panel__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  background: none;
  cursor: pointer;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
  flex-shrink: 0;
}

.gecko-panel__close:hover {
  color: var(--fg);
  border-color: var(--line-2);
  background: var(--bg-2);
}

/* Cabecera del panel */
.gecko-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-right: 28px; /* evita solapar el botón de cerrar */
}

.gecko-panel__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--fg);
}

.gecko-panel__name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: -.01em;
  line-height: 1.2;
}

.gecko-panel__tag {
  display: block;
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-top: 3px;
  font-family: 'Geist Mono', monospace;
}

/* Descripción */
.gecko-panel__desc {
  font-size: 13px;
  line-height: 1.58;
  color: var(--fg-2);
  margin: 0 0 16px;
}

/* Fila del toggle */
.gecko-panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.gecko-panel__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  cursor: pointer;
  user-select: none;
}

/* ── Toggle switch ─────────────────────────────────────────── */
.gecko-toggle {
  position: relative;
  width: 44px;
  height: 26px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 99px;
  outline-offset: 2px;
}

.gecko-toggle__track {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: var(--panel-2);
  border: 1.5px solid var(--line-2);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}

.gecko-toggle__thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(28,18,8,.22);
  transition: transform .25s var(--ease), box-shadow .2s var(--ease);
  z-index: 1;
}

/* Estado activo */
.gecko-toggle[aria-checked="true"] .gecko-toggle__track {
  background: var(--fg);
  border-color: var(--fg);
}

.gecko-toggle[aria-checked="true"] .gecko-toggle__thumb {
  transform: translateX(18px);
  box-shadow: 0 1px 4px rgba(28,18,8,.35);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
  .gecko-float { bottom: 16px; left: 16px; }
  .gecko-panel { width: calc(100vw - 96px); min-width: 220px; }
}
