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

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

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

html {
  scroll-behavior: smooth
}

: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;
}

.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: var(--bg);
  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;
  /* Anclado al hero en todas las pantallas */
  position: absolute;
  top: 88px;
  left: 0;
  right: 0;
  width: fit-content;
  margin-inline: auto;
  z-index: 11;
  white-space: nowrap;
}

.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;
  }

  .hero__badge {
    top: 108px;
  }

  .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-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;
  }
}


/* ===========================
   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;
}

.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: #4A3420;
  border-radius: var(--r-lg);
  padding: 36px 32px 32px;
  overflow: hidden;
  color: rgba(250, 248, 244, .9);
}

.about__card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 10%, rgba(180, 130, 60, .3) 0%, transparent 60%);
  pointer-events: none;
}

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

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

.about__card-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(250, 248, 244, .1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.about__card-meta li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.about__meta-key {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(250, 248, 244, .35);
  font-family: 'Geist Mono', ui-monospace, monospace;
  flex-shrink: 0;
}

.about__meta-val {
  font-size: 13px;
  font-weight: 500;
  color: rgba(250, 248, 244, .85);
  text-align: right;
}

/* 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);
}

/* Visual hero */
.proj-visual {
  width: 100%;
  max-width: 960px;
  margin: 36px auto 0;
  padding: 0 var(--pad);
}

.proj-browser {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow:
    0 2px 0 0 var(--line) inset,
    0 4px 24px rgba(28,18,8,.07),
    0 16px 48px rgba(28,18,8,.05);
  background: var(--panel);
}

/* Chrome bar */
.proj-browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
}

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

.proj-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}

.proj-browser-dots span:nth-child(1) { background: #f87171; }
.proj-browser-dots span:nth-child(2) { background: #fbbf24; }
.proj-browser-dots span:nth-child(3) { background: #4ade80; }

.proj-browser-url {
  flex: 1;
  font-size: 12px;
  font-family: 'Geist Mono', monospace;
  color: var(--fg-3);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 10px;
}

/* Live chip */
.proj-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s var(--ease), border-color .2s var(--ease);
  cursor: pointer;
}

.proj-live-chip:hover {
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  border-color: color-mix(in srgb, var(--gold) 60%, transparent);
}

.proj-live-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: chipPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes chipPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.proj-live-chip svg {
  transition: transform .2s var(--ease);
}

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

/* Image inside browser */
.proj-thumb-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  border: none;
  background: var(--panel-2);
}

.proj-thumb-inner .work__art {
  inset: 36px 0 0;
  padding: 36px;
}

.proj-thumb-inner .work__chrome {
  height: 36px;
  font-size: 13px;
}

.proj-thumb-inner .work__chrome span {
  width: 10px;
  height: 10px;
}

.proj-thumb-inner .wa__big {
  font-size: clamp(28px, 5vw, 56px) !important;
  line-height: 1.05 !important;
}

.proj-thumb-inner .wa__big.small {
  font-size: clamp(22px, 4vw, 44px) !important;
}

.proj-thumb-inner .wa__big.xl {
  font-size: clamp(36px, 7vw, 80px) !important;
}

.proj-thumb-inner .wa__type b {
  font-size: clamp(26px, 5vw, 54px) !important;
}

.proj-thumb-inner .wa__type span {
  font-size: clamp(12px, 2vw, 20px) !important;
  letter-spacing: .2em;
}

/* Content */
.proj-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 52px var(--pad) 100px;
}

.proj-kicker {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 16px;
}

.proj-kicker .proj-dot {
  color: var(--gold);
  margin: 0 6px;
}

.proj-h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--fg);
  margin: 0 0 20px;
}

.proj-h1 em {
  font-style: italic;
  color: var(--fg);
}

.proj-lead {
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
  max-width: 60ch;
}

/* Divider */
.proj-divider {
  margin: 48px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.proj-divider::before,
.proj-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-2);
}

.proj-divider span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Two-col blocks */
.proj-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 52px;
}

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

.proj-h2 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

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

/* Stats */
.proj-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 52px;
}

@media (max-width: 480px) {
  .proj-stats { grid-template-columns: 1fr 1fr; }
}

.proj-stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
}

.proj-stat-val {
  display: block;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--fg);
  line-height: 1;
  margin-bottom: 6px;
}

.proj-stat-lbl {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
  letter-spacing: .04em;
}

/* Services */
.proj-services {
  margin-bottom: 56px;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.proj-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13px;
  color: var(--fg-2);
  background: var(--panel);
}

/* CTA */
.proj-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.proj-cta-pre {
  font-size: 15px;
  color: var(--fg-3);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   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);
}
