/* ═══════════════════════════════════════════════════════════
   TANDEM CONSULTING — design system
   navy #17324d · blue #2b6f9e · gold #c79a3b · deep #05080f
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #05080f;
  --bg-2: #0a1220;
  --navy: #17324d;
  --blue: #2b6f9e;
  --cyan: #7ee0ff;
  --gold: #c79a3b;
  --gold-2: #e8c56a;
  --text: #e8eef5;
  --muted: #8fa3b8;
  --line: rgba(232, 238, 245, 0.08);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: #0a0a0a;
}

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

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

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

.container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

/* ── scrollbar ── */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #1c2c42;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s var(--ease);
}

.preloader.done {
  transform: translateY(-100%);
}

.preloader__inner {
  text-align: center;
}

.preloader__logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.preloader__dot {
  color: var(--gold);
}

.preloader__count {
  font-family: var(--font-mono);
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

.preloader__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transition: width 0.2s linear;
}

/* ═══════════ PROGRESS ═══════════ */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  box-shadow: 0 0 12px rgba(199, 154, 59, 0.5);
}

/* ═══════════ CURSOR ═══════════ */
.cursor,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor {
  width: 6px;
  height: 6px;
  background: var(--gold-2);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(199, 154, 59, 0.5);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s;
}

.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  border-color: rgba(126, 224, 255, 0.7);
}

@media (hover: none),
(pointer: coarse) {

  .cursor,
  .cursor-ring {
    display: none;
  }
}

/* ═══════════ FONDO ═══════════ */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: drift 26s ease-in-out infinite alternate;
}

.orb--gold {
  width: 44vw;
  height: 44vw;
  top: -18vw;
  right: -12vw;
  background: radial-gradient(circle, rgba(199, 154, 59, 0.5), transparent 65%);
}

.orb--cyan {
  width: 40vw;
  height: 40vw;
  bottom: -14vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(43, 111, 158, 0.55), transparent 65%);
  animation-delay: -8s;
}

.orb--navy {
  width: 30vw;
  height: 30vw;
  top: 40%;
  left: 55%;
  background: radial-gradient(circle, rgba(23, 50, 77, 0.8), transparent 65%);
  animation-delay: -16s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(6vw, -4vw) scale(1.15);
  }
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ═══════════ BOTONES ═══════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  overflow: hidden;
  white-space: nowrap;
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--gold {
  background: linear-gradient(120deg, var(--gold-2), var(--gold));
  color: #14100a;
  box-shadow: 0 8px 30px rgba(199, 154, 59, 0.25);
}

.btn--gold:hover {
  box-shadow: 0 12px 42px rgba(199, 154, 59, 0.4);
}

.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--glass);
  backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  border-color: rgba(126, 224, 255, 0.4);
  background: var(--glass-strong);
}

.btn--sm {
  padding: 0.62rem 1.3rem;
  font-size: 0.85rem;
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.55rem 0.7rem 0.55rem 1.3rem;
  border-radius: 100px;
  background: rgba(10, 18, 32, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 0.4s, background 0.4s, top 0.4s;
}

.nav.scrolled {
  background: rgba(8, 14, 26, 0.85);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
}

.nav__mark {
  width: 24px;
  height: 24px;
}

.nav__links {
  display: flex;
  gap: 1.4rem;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color 0.25s;
  white-space: nowrap;
}

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

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.6rem;
}

.nav__burger span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav__burger.open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav__burger.open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 8, 15, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  text-align: center;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s, transform 0.5s var(--ease), color 0.25s;
}

.mobile-menu.open a {
  opacity: 1;
  transform: none;
}

.mobile-menu a:hover {
  color: var(--gold-2);
}

.mobile-menu__cta {
  color: var(--gold-2);
  margin-top: 0.6rem;
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 9rem 0 5rem;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(126, 224, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.6rem;
}

.eyebrow__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 0 rgba(232, 197, 106, 0.6);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(232, 197, 106, 0.55);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(232, 197, 106, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(232, 197, 106, 0);
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9.5vw, 7.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 1.8rem;
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__line span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineUp 1.1s var(--ease) forwards;
}

.hero__line:nth-child(2) span {
  animation-delay: 0.12s;
}

@keyframes lineUp {
  to {
    transform: translateY(0);
  }
}

.text-gradient {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 45%, var(--gold-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(100deg, var(--gold-2), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 2.4rem;
}

.hero__sub strong {
  color: var(--text);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.4rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--gold-2), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__lbl {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.stat__sep {
  width: 1px;
  height: 34px;
  background: var(--line);
}

.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  overflow: hidden;
  position: relative;
  background: var(--line);
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--gold-2));
  animation: scrollLine 1.8s var(--ease) infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateY(-100%);
  }

  60%,
  100% {
    transform: translateY(100%);
  }
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  border-block: 1px solid var(--line);
  padding: 1.1rem 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee__track span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  white-space: nowrap;
  padding-right: 1rem;
}

.marquee__track i {
  color: var(--gold);
  font-style: normal;
  padding: 0 1rem;
}

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

/* ═══════════ SECCIONES ═══════════ */
.section {
  padding: 8.5rem 0;
  position: relative;
}

.section--alt {
  background: linear-gradient(180deg, transparent, rgba(23, 50, 77, 0.16) 20%, rgba(23, 50, 77, 0.16) 80%, transparent);
}

.section__head {
  max-width: 720px;
  margin-bottom: 4rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.section__desc {
  color: var(--muted);
  margin-top: 1.3rem;
  font-size: 1.02rem;
  max-width: 600px;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.spotlight {
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(126, 224, 255, 0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.spotlight:hover::before {
  opacity: 1;
}

/* ═══════════ BENTO ═══════════ */
.bento {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(3, 1fr);
}

.bento__card {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-height: 240px;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}

.bento__card:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 154, 59, 0.35);
  background: var(--glass-strong);
}

.bento__card--xl {
  grid-column: span 2;
  grid-row: span 1;
}

.bento__card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.bento__card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.bento__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  padding: 0.32rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(199, 154, 59, 0.35);
  background: rgba(199, 154, 59, 0.08);
}

.bento__tag--cyan {
  color: var(--cyan);
  border-color: rgba(126, 224, 255, 0.3);
  background: rgba(126, 224, 255, 0.07);
}

.bento__arrow {
  margin-top: auto;
  font-size: 1.3rem;
  color: var(--gold-2);
  transition: transform 0.3s var(--ease);
}

.bento__card:hover .bento__arrow {
  transform: translateX(6px);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin-top: auto;
}

.chips li {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  padding: 0.34rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.chips--about {
  margin-top: 1.8rem;
}

.chips--about li {
  color: var(--cyan);
  border-color: rgba(126, 224, 255, 0.2);
}

/* ═══════════ FEATURE LIST ═══════════ */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  margin-top: 2rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 10px rgba(199, 154, 59, 0.5);
}

.feature-list strong {
  color: var(--text);
  font-weight: 600;
}

/* ═══════════ PMS ═══════════ */
.pms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.mockup {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(126, 224, 255, 0.14);
  background: linear-gradient(160deg, rgba(23, 50, 77, 0.55), rgba(10, 18, 32, 0.9));
  backdrop-filter: blur(18px);
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(43, 111, 158, 0.12);
}

.mockup__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
}

.mockup__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.mockup__bar i:first-child {
  background: rgba(255, 107, 107, 0.6);
}

.mockup__bar i:nth-child(2) {
  background: rgba(232, 197, 106, 0.6);
}

.mockup__bar i:nth-child(3) {
  background: rgba(126, 224, 255, 0.5);
}

.mockup__bar span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.mockup__body {
  display: flex;
  min-height: 300px;
}

.mockup__side {
  width: 56px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.1rem 0.9rem;
}

.mockup__side-item {
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.mockup__side-item.active {
  background: linear-gradient(135deg, rgba(199, 154, 59, 0.35), rgba(199, 154, 59, 0.12));
  border: 1px solid rgba(199, 154, 59, 0.3);
}

.mockup__main {
  flex: 1;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.mkpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.025);
}

.mkpi b {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-2);
  display: block;
}

.mkpi s {
  text-decoration: none;
  font-size: 0.62rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

.mockup__chart {
  flex: 1;
  min-height: 90px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.mockup__chart span {
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(43, 111, 158, 0.25));
  transform-origin: bottom;
  animation: barGrow 1s var(--ease) both;
}

.mockup__chart span:nth-child(2n) {
  background: linear-gradient(180deg, var(--gold-2), rgba(199, 154, 59, 0.2));
}

@keyframes barGrow {
  from {
    transform: scaleY(0);
  }
}

.mockup__rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.mrow span {
  height: 8px;
  border-radius: 4px;
  background: rgba(232, 238, 245, 0.14);
}

.mrow span:first-child {
  width: 34%;
}

.mrow span:nth-child(2) {
  width: 22%;
}

.mrow em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--cyan);
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  border: 1px solid rgba(126, 224, 255, 0.25);
  background: rgba(126, 224, 255, 0.06);
}

.mrow em.warn {
  color: var(--gold-2);
  border-color: rgba(199, 154, 59, 0.3);
  background: rgba(199, 154, 59, 0.07);
}

.mockup__glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent 70%, rgba(126, 224, 255, 0.12), transparent 85%);
  animation: rotate 9s linear infinite;
  pointer-events: none;
}

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

/* ═══════════ THEMES — cada sección, su mundo ═══════════ */
.theme-light {
  --text: #171a20;
  --muted: #5b6170;
  --line: rgba(23, 26, 32, 0.1);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.75);
  --cyan: #2274a5;
  background:
    radial-gradient(900px 480px at 85% 0%, rgba(199, 154, 59, 0.1), transparent 60%),
    linear-gradient(180deg, #f2f0ea, #e9e6de);
  color-scheme: light;
}

.theme-light .eyebrow {
  color: #8a6d2a;
}

.theme-light .spotlight::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(199, 154, 59, 0.12), transparent 60%);
}

.theme-light .feature-list li::before {
  box-shadow: 0 0 8px rgba(199, 154, 59, 0.4);
}

/* el mockup conserva su tema oscuro (dispositivo sobre papel) */
.theme-light .mockup {
  --muted: #8fa3b8;
  --line: rgba(232, 238, 245, 0.08);
  --text: #e8eef5;
}

.theme-chrome {
  --gold: #e8955a;
  --gold-2: #ffb27a;
  --cyan: #c9d4e6;
  --text: #eceef3;
  --muted: #8e93a1;
  --line: rgba(236, 238, 243, 0.09);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-strong: rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(232, 149, 90, 0.09), transparent 62%),
    radial-gradient(900px 600px at 8% 108%, rgba(148, 163, 190, 0.07), transparent 60%),
    #060607;
}

.theme-chrome .eyebrow {
  color: #ffb27a;
}

.text-gradient-copper {
  background: linear-gradient(100deg, #f6d7b8, #e8955a 55%, #ffb27a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.theme-warm {
  --gold-2: #eab676;
  background:
    radial-gradient(1000px 500px at 15% 0%, rgba(199, 154, 59, 0.08), transparent 55%),
    linear-gradient(180deg, #100d08, #14100a 55%, #100d08);
}

.theme-warm .eyebrow {
  color: #eab676;
}

.theme-deep {
  --cyan: #5fe3c4;
  background:
    radial-gradient(900px 480px at 85% 100%, rgba(43, 111, 158, 0.14), transparent 60%),
    linear-gradient(180deg, #041014, #061a20 55%, #041014);
}

.theme-deep .eyebrow {
  color: #5fe3c4;
}

.theme-dusk {
  background:
    radial-gradient(1000px 520px at 12% 8%, rgba(88, 76, 160, 0.13), transparent 58%),
    linear-gradient(180deg, #0a0916, #0d0b1c 55%, #0a0916);
}

.theme-dusk .eyebrow {
  color: #b7aef0;
}

/* ═══════════ AVA — escena chrome ═══════════ */
.ava-ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ava-ambient__glow {
  position: absolute;
  top: -18%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(232, 149, 90, 0.1), transparent 62%);
  filter: blur(20px);
}

.ava-ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(236, 238, 243, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 238, 243, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 20%, black, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 20%, black, transparent 75%);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__head--center .section__desc {
  margin-inline: auto;
}

.ava-logo {
  width: min(400px, 74vw);
  height: auto;
  margin-bottom: 1.6rem;
  filter: drop-shadow(0 18px 50px rgba(232, 149, 90, 0.28)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.6));
  mix-blend-mode: screen;
  animation: avaFloat 7s ease-in-out infinite;
}

@keyframes avaFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-0.4deg);
  }

  50% {
    transform: translateY(-12px) rotate(0.4deg);
  }
}

.ava-feats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  margin: 0 auto 4.5rem;
}

.ava-feat {
  padding: 1.2rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.ava-feat:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 149, 90, 0.4);
}

.ava-feat b {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.ava-feat span {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

/* ── STAGE: CMS operado por AVA ── */
.stage {
  position: relative;
}

.stage__zoom {
  will-change: transform;
}

.stage__frame {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(236, 238, 243, 0.12);
  background: #0b0c10;
  box-shadow:
    0 40px 110px rgba(0, 0, 0, 0.65),
    0 0 90px rgba(232, 149, 90, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.stage__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}

.stage__bar>i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.stage__bar>i:first-child {
  background: rgba(255, 107, 107, 0.65);
}

.stage__bar>i:nth-child(2) {
  background: rgba(255, 178, 122, 0.65);
}

.stage__bar>i:nth-child(3) {
  background: rgba(95, 227, 164, 0.55);
}

.stage__url {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-inline: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  padding: 0.3rem 0.9rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
}

.stage__url svg {
  width: 10px;
  height: 10px;
  color: #9fe8c1;
}

.stage__path {
  opacity: 0.55;
}

.stage__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffb27a;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 178, 122, 0.35);
  background: rgba(232, 149, 90, 0.08);
}

.stage__pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffb27a;
  animation: pulse 2s infinite;
}

.stage__body {
  position: relative;
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 430px;
}

/* CMS */
.cms-side {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1.2rem 0.9rem;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.cms-side__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.cms-side__brand b {
  color: #ffb27a;
  font-weight: 700;
}

.cms-side__mark {
  color: #ffb27a;
  font-size: 0.85rem;
}

.cms-side__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cms-item {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--muted);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border-left: 2px solid transparent;
}

.cms-item.active {
  color: var(--text);
  background: rgba(232, 149, 90, 0.1);
  border-left-color: #e8955a;
}

.cms-side__foot {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  opacity: 0.7;
}

.cms-main {
  padding: 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.cms-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cms-head b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  display: block;
}

.cms-head div span {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--muted);
}

.cms-sync {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #9fe8c1;
  white-space: nowrap;
}

.cms-sync i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5fe3a4;
  flex-shrink: 0;
}

.cms-sync.busy {
  color: #ffb27a;
}

.cms-sync.busy i {
  background: #ffb27a;
  animation: blink 0.7s infinite;
}

.cms-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.cms-tr {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.7fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 0.9rem;
  font-size: 0.76rem;
  border-top: 1px solid var(--line);
  transition: background 0.5s, opacity 0.5s;
}

.cms-tr--head {
  border-top: 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.cms-price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.82rem;
}

.cms-tr.changed {
  background: rgba(232, 149, 90, 0.09);
}

.cms-tr.blocked {
  opacity: 0.5;
}

.chip {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  padding: 0.22rem 0.6rem;
  border-radius: 100px;
  width: fit-content;
}

.chip--ok {
  color: #9fe8c1;
  background: rgba(95, 227, 164, 0.1);
  border: 1px solid rgba(95, 227, 164, 0.25);
}

.chip--new {
  color: #ffb27a;
  background: rgba(232, 149, 90, 0.14);
  border: 1px solid rgba(232, 149, 90, 0.4);
}

.chip--off {
  color: #ff9d9d;
  background: rgba(255, 120, 120, 0.1);
  border: 1px solid rgba(255, 120, 120, 0.3);
}

.cms-cal {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
}

.cms-cal__head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.cms-cal__head em {
  font-style: normal;
  color: #ff9d9d;
  letter-spacing: 0.04em;
  text-transform: none;
}

.cms-days {
  display: grid;
  grid-template-columns: repeat(14, 1fr);
  gap: 4px;
}

.cms-days i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--muted);
  text-align: center;
  padding: 0.35rem 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
}

.cms-days i.on {
  color: #ffb0b0;
  background: repeating-linear-gradient(135deg, rgba(255, 120, 120, 0.22), rgba(255, 120, 120, 0.22) 3px, rgba(255, 120, 120, 0.08) 3px, rgba(255, 120, 120, 0.08) 6px);
  border-color: rgba(255, 120, 120, 0.4);
}

/* AVA fab + panel */
.ava-fab {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 178, 122, 0.45);
  background: #0b0c10;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 24px rgba(232, 149, 90, 0.2);
  transition: transform 0.45s var(--ease), opacity 0.4s, box-shadow 0.4s;
  z-index: 3;
}

.ava-fab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ava-fab.ping {
  animation: fabPing 1.4s ease-in-out infinite;
}

@keyframes fabPing {

  0%,
  100% {
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 0 0 rgba(255, 178, 122, 0.55);
  }

  50% {
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 0 14px rgba(255, 178, 122, 0);
  }
}

.ava-fab.open {
  transform: scale(0.4) translateY(10px);
  opacity: 0;
  pointer-events: none;
}

.ava-panel {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: min(330px, 78%);
  height: min(390px, 78%);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(13, 14, 19, 0.92);
  border: 1px solid rgba(255, 178, 122, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(232, 149, 90, 0.08);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  z-index: 3;
}

.ava-panel.open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.ava-panel__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.95rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.ava-panel__logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(255, 178, 122, 0.35);
}

.ava-panel__head b {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  display: block;
}

.ava-panel__head span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
  display: block;
}

.ava-panel__live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: #ffb27a;
}

.ava-panel__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffb27a;
  animation: pulse 2s infinite;
}

.ava-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ava-panel__body::-webkit-scrollbar {
  width: 3px;
}

.ava-panel__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
}

.ava-panel__foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  color: var(--muted);
}

.ava-panel__foot span {
  flex: 1;
}

.ava-panel__foot i {
  font-style: normal;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffb27a, #e8955a);
  color: #14100a;
  font-size: 0.75rem;
}

/* mensajes del panel */
.smsg {
  max-width: 88%;
  padding: 0.55rem 0.8rem;
  border-radius: 13px;
  font-size: 0.74rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  animation: msgIn 0.4s var(--ease) forwards;
}

.smsg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(232, 149, 90, 0.28), rgba(232, 149, 90, 0.14));
  border: 1px solid rgba(232, 149, 90, 0.35);
  border-bottom-right-radius: 4px;
}

.smsg--ava {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
}

.smsg--ava .up {
  color: #9fe8c1;
}

.smsg--card {
  align-self: stretch;
  max-width: 100%;
  background: rgba(232, 149, 90, 0.07);
  border: 1px solid rgba(255, 178, 122, 0.35);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  padding: 0.7rem 0.85rem;
}

.sc-title {
  color: #ffb27a;
  letter-spacing: 0.1em;
  font-size: 0.58rem;
  display: block;
  margin-bottom: 0.5rem;
}

.sc-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.14rem 0;
  color: var(--muted);
}

.sc-row b {
  color: var(--text);
  font-weight: 500;
}

.sc-btns {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.sc-btns span {
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  transition: transform 0.2s, background 0.2s;
}

.sc-ok {
  background: rgba(232, 149, 90, 0.16);
  color: #ffb27a;
  border: 1px solid rgba(255, 178, 122, 0.45);
}

.sc-ok.press {
  transform: scale(0.92);
  background: rgba(232, 149, 90, 0.45);
  color: #14100a;
}

.sc-no {
  border: 1px solid var(--line);
  color: var(--muted);
}

.smsg--ok {
  align-self: flex-start;
  color: #9fe8c1;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.3rem 0.6rem;
}

.smsg--doc {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 178, 122, 0.4);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #ffb27a;
}

.smsg--doc::before {
  content: "⬇";
}

.styping {
  display: inline-flex;
  gap: 4px;
  padding: 0.7rem 0.8rem;
  align-self: flex-start;
}

.styping i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffb27a;
  opacity: 0.35;
  animation: blink 1.2s infinite;
}

.styping i:nth-child(2) {
  animation-delay: 0.2s;
}

.styping i:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes msgIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blink {
  40% {
    opacity: 1;
  }
}

.stage__cap {
  margin-top: 1.2rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}


/* ═══════════ CASOS ═══════════ */
.cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.case {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}

.case:hover {
  transform: translateY(-6px);
  border-color: rgba(199, 154, 59, 0.3);
}

.case__visual {
  padding: 1.6rem 1.6rem 0;
}

.case__browser {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-bottom: 0;
  background: rgba(8, 14, 26, 0.8);
}

.case__browser-bar {
  display: flex;
  gap: 5px;
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.case__browser-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.case__browser-body {
  height: 150px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cb-hero {
  flex: 1;
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(199, 154, 59, 0.4), rgba(43, 111, 158, 0.4));
  position: relative;
  overflow: hidden;
}

.cb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  animation: shine 3.5s var(--ease) infinite;
}

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

  55%,
  100% {
    transform: translateX(100%);
  }
}

.cb-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cb-lines span {
  height: 7px;
  border-radius: 4px;
  background: rgba(232, 238, 245, 0.12);
  width: 80%;
}

.cb-lines .short {
  width: 45%;
}

.cb-cta {
  width: 90px;
  height: 22px;
  border-radius: 100px;
  background: linear-gradient(120deg, var(--gold-2), var(--gold));
}

.case__browser-body--dash {
  flex-direction: row;
  align-items: flex-end;
}

.cb-bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100%;
}

.cb-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(43, 111, 158, 0.25));
}

.case__browser-body--dash .cb-lines {
  width: 34%;
  justify-content: flex-end;
}

.case__body {
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.case__sector {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.case__body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.case__body p {
  color: var(--muted);
  font-size: 0.9rem;
}

.case--cta {
  justify-content: center;
  align-items: flex-start;
  min-height: 220px;
  grid-column: span 2;
}

.case--cta .case__body {
  justify-content: center;
}

.case--cta h3 {
  font-size: 2rem;
}

/* ═══════════ TRABAJOS ═══════════ */
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.work {
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 210px;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}

.work:hover {
  transform: translateY(-6px);
  border-color: rgba(126, 224, 255, 0.3);
  background: var(--glass-strong);
}

.work__icon {
  font-size: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--gold-2);
  background: linear-gradient(135deg, rgba(199, 154, 59, 0.16), rgba(43, 111, 158, 0.16));
  border: 1px solid rgba(199, 154, 59, 0.25);
}

.work h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.work p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* ═══════════ PROCESO ═══════════ */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.step {
  position: relative;
  padding: 1.8rem 1.5rem;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.step::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 2rem;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--gold-2);
  box-shadow: 0 0 12px rgba(232, 197, 106, 0.6);
}

.step__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.2em;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.step p {
  color: var(--muted);
  font-size: 0.87rem;
}

/* ═══════════ SOBRE MÍ ═══════════ */
.about {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: center;
}

.about__orb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(232, 197, 106, 0.25), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(43, 111, 158, 0.4), transparent 55%),
    linear-gradient(160deg, #10203a, #060c16);
  border: 1px solid rgba(126, 224, 255, 0.15);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), inset 0 0 60px rgba(43, 111, 158, 0.15);
  animation: orbFloat 7s ease-in-out infinite;
}

@keyframes orbFloat {

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

  50% {
    transform: translateY(-14px);
  }
}

.about__orb::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(199, 154, 59, 0.35);
  animation: rotate 30s linear infinite;
}

.about__orb::after {
  content: "";
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(126, 224, 255, 0.08);
  animation: rotate 46s linear infinite reverse;
}

.about__orb span {
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--gold-2), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about__photo {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.about__caption {
  margin-top: 1.6rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-transform: uppercase;
}

.desc-hl {
  color: var(--text);
  font-weight: 600;
}

/* ═══════════ FAQ ═══════════ */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 860px;
}

.faq__item {
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq__item[open] {
  border-color: rgba(199, 154, 59, 0.3);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.35rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  transition: color 0.25s;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary:hover {
  color: var(--gold-2);
}

.faq__plus {
  position: relative;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(199, 154, 59, 0.4);
  transition: transform 0.35s var(--ease), background 0.3s;
}

.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--gold-2);
  transform: translate(-50%, -50%);
}

.faq__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.35s var(--ease);
}

.faq__item[open] .faq__plus {
  transform: rotate(135deg);
  background: rgba(199, 154, 59, 0.15);
}

.faq__answer {
  padding: 0 1.6rem;
  overflow: hidden;
}

.faq__answer p {
  color: var(--muted);
  font-size: 0.92rem;
  padding-bottom: 1.4rem;
  max-width: 640px;
}

/* ═══════════ CONTACTO ═══════════ */
.section--contact {
  padding-bottom: 7rem;
}

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 10vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

.contact__sub {
  color: var(--muted);
  margin: 1.4rem 0 3.5rem;
  max-width: 520px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact__mail {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.4rem;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.contact__mail:hover {
  border-color: rgba(199, 154, 59, 0.4);
  transform: translateY(-3px);
}

.contact__mail span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact__mail b {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 600;
  background: linear-gradient(100deg, var(--gold-2), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  word-break: break-all;
}

.contact__meta {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding-left: 0.3rem;
}

.contact__meta div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.contact__meta s {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  width: 80px;
  flex-shrink: 0;
}

.contact__meta b {
  font-weight: 500;
  font-size: 0.95rem;
}

.contact__form {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact__form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__form input,
.contact__form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: rgba(126, 224, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(126, 224, 255, 0.08);
}

.contact__note {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  border-top: 1px solid var(--line);
  padding: 4.5rem 0 2rem;
  background: linear-gradient(180deg, rgba(23, 50, 77, 0.12), rgba(5, 8, 15, 0.9));
  overflow: hidden;
}

.footer__cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.footer__cta .eyebrow {
  display: flex;
  margin-bottom: 0.9rem;
}

.footer__mail {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: clamp(1.05rem, 5.2vw, 2.6rem);
  background: linear-gradient(100deg, var(--text), var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: opacity 0.25s;
}

.footer__mail:hover {
  opacity: 0.75;
}

.footer__mail em {
  font-style: normal;
}

.footer__copy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 0.55rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--glass);
  transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.footer__copy:hover {
  color: var(--gold-2);
  border-color: rgba(199, 154, 59, 0.4);
  transform: translateY(-2px);
}

.footer__copy svg {
  width: 14px;
  height: 14px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 5rem;
  padding: 2.6rem 0 1rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col s {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 0.4rem;
  opacity: 0.8;
}

.footer__col a,
.footer__cmdk {
  color: var(--muted);
  font-size: 0.86rem;
  width: fit-content;
  transition: color 0.25s, transform 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-align: left;
}

.footer__col a:hover,
.footer__cmdk:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer__cmdk kbd,
.cmdk__head kbd,
.cmdk__foot kbd {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.2rem 0.45rem;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cyan);
}

.footer__giant {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 15.5vw, 15rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-align: center;
  padding: 1rem 0 1.5rem;
  user-select: none;
  background: linear-gradient(180deg, rgba(232, 238, 245, 0.16), rgba(232, 238, 245, 0.02));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer__giant-dot {
  -webkit-text-fill-color: var(--gold);
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.footer__bar b {
  font-weight: 500;
  color: var(--text);
}

.footer__made {
  letter-spacing: 0.06em;
}

.footer__time {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__time i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5ee0a0;
  box-shadow: 0 0 8px #5ee0a0;
  animation: pulse 2.4s infinite;
}

.footer__top {
  color: var(--muted);
  transition: color 0.25s, transform 0.3s var(--ease);
}

.footer__top:hover {
  color: var(--gold-2);
  transform: translateY(-2px);
}

/* ═══════════ NAV KBD ═══════════ */
.nav__kbd {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.25s, border-color 0.25s;
}

.nav__kbd:hover {
  color: var(--cyan);
  border-color: rgba(126, 224, 255, 0.4);
}

/* ═══════════ HERO EXTRAS ═══════════ */
.hero__avail {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #9fe8c1;
}

.hero__avail i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ee0a0;
  box-shadow: 0 0 10px #5ee0a0;
  animation: pulse 2.4s infinite;
}

.hero__term {
  position: absolute;
  right: 4vw;
  bottom: 8vh;
  z-index: 2;
  width: 300px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(8, 14, 26, 0.75);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero__term-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid var(--line);
}

.hero__term-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.hero__term-bar i:first-child {
  background: rgba(255, 107, 107, 0.6);
}

.hero__term-bar i:nth-child(2) {
  background: rgba(232, 197, 106, 0.6);
}

.hero__term-bar i:nth-child(3) {
  background: rgba(126, 224, 255, 0.5);
}

.hero__term-bar span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted);
}

.hero__term-body {
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  min-height: 118px;
}

.hero__term-body pre {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  line-height: 1.75;
  color: var(--muted);
  white-space: pre-wrap;
  margin: 0;
}

.hero__term-body pre b {
  color: #9fe8c1;
  font-weight: 500;
}

.hero__term-body pre em {
  color: var(--cyan);
  font-style: normal;
}

.hero__term-caret {
  flex-shrink: 0;
  width: 7px;
  height: 13px;
  margin-bottom: 3px;
  background: var(--gold-2);
  animation: blink 1.1s steps(1) infinite;
}

/* ═══════════ CMD+K ═══════════ */
.cmdk {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 16vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.cmdk.open {
  opacity: 1;
  pointer-events: auto;
}

.cmdk__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 15, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cmdk__panel {
  position: relative;
  width: min(580px, 92vw);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(10, 18, 32, 0.92);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 60px rgba(43, 111, 158, 0.12);
  transform: translateY(-12px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.cmdk.open .cmdk__panel {
  transform: none;
}

.cmdk__head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.cmdk__icon {
  font-family: var(--font-mono);
  color: var(--gold-2);
  font-size: 1rem;
}

.cmdk__head input {
  flex: 1;
  background: none;
  border: 0;
  outline: none;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--text);
}

.cmdk__head input::placeholder {
  color: var(--muted);
}

.cmdk__list {
  list-style: none;
  max-height: 340px;
  overflow-y: auto;
  padding: 0.5rem;
}

.cmdk__group {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.7rem 0.8rem 0.35rem;
}

.cmdk__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  font-size: 0.88rem;
  cursor: pointer;
  border-left: 2px solid transparent;
}

.cmdk__item .cmdk__k {
  font-family: var(--font-mono);
  color: var(--cyan);
  font-size: 0.72rem;
  width: 22px;
  flex-shrink: 0;
}

.cmdk__item .cmdk__hint {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}

.cmdk__item.active {
  background: rgba(199, 154, 59, 0.1);
  border-left-color: var(--gold-2);
}

.cmdk__empty {
  padding: 1.4rem 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.cmdk__foot {
  display: flex;
  gap: 1.4rem;
  padding: 0.75rem 1.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
}

/* ═══════════ TOAST ═══════════ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  z-index: 400;
  transform: translate(-50%, 140%);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #9fe8c1;
  padding: 0.8rem 1.4rem;
  border-radius: 100px;
  background: rgba(10, 18, 32, 0.95);
  border: 1px solid rgba(94, 224, 160, 0.35);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5);
  transition: transform 0.45s var(--ease);
}

.toast.show {
  transform: translate(-50%, 0);
}

/* ═══════════ REVEAL ═══════════ */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

/* ═══════════ LEGAL ═══════════ */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 10rem 0 6rem;
  width: 92%;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.legal>p {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 2rem 0 0.6rem;
  color: var(--gold-2);
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal a {
  color: var(--cyan);
}

.legal__back {
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1020px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento__card--xl {
    grid-column: span 2;
  }

  .pms {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__visual {
    max-width: 300px;
    margin-inline: auto;
  }

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

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

  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__term {
    display: none;
  }

  .ava-feats {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__nav {
    gap: 2.5rem;
  }
}

@media (max-width: 920px) {
  .nav {
    gap: 1rem;
    padding: 0.5rem 0.6rem 0.5rem 1.1rem;
  }

  .nav__links,
  .nav__cta,
  .nav__kbd {
    display: none;
  }

  .nav__burger {
    display: flex;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 5.5rem 0;
  }

  .hero {
    padding-top: 7.5rem;
    min-height: 100svh;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: 1.1rem;
  }

  .bento,
  .works,
  .steps,
  .cases {
    grid-template-columns: 1fr;
  }

  .bento__card--xl,
  .case--cta {
    grid-column: span 1;
  }

  .ava-feats {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-bottom: 3rem;
  }

  .ava-feat {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    padding: 0.9rem 1rem;
  }

  .ava-feat b {
    margin-bottom: 0;
    white-space: nowrap;
  }

  .stage__body {
    grid-template-columns: 1fr;
    min-height: 400px;
  }

  .cms-side {
    display: none;
  }

  .ava-panel {
    right: 0.7rem;
    bottom: 0.7rem;
    width: min(300px, 86%);
  }

  .ava-fab {
    right: 0.7rem;
    bottom: 0.7rem;
    width: 48px;
    height: 48px;
  }

  .cms-tr {
    font-size: 0.68rem;
    padding: 0.6rem 0.7rem;
    gap: 0.5rem;
  }

  .cmdk {
    padding-top: 10vh;
  }

  .footer__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    padding-bottom: 2rem;
  }

  .footer__mail {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer__bar {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .footer__giant {
    font-size: clamp(4rem, 19vw, 8rem);
  }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {

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

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

  .hero__line span {
    transform: none;
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}
/* ═══════════ GUÍAS — hub ═══════════ */
.guias {
  padding: 9rem 0 6rem;
  min-height: 60vh;
}

.guias__head {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.guias__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.guias__desc {
  color: var(--muted);
  margin-top: 1.3rem;
  font-size: 1.02rem;
  max-width: 560px;
}

.guias__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 4rem;
}

.gcard {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}

.gcard:hover {
  transform: translateY(-5px);
  border-color: rgba(199, 154, 59, 0.4);
  background: var(--glass-strong);
}

.gcard__cat {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-2);
  width: fit-content;
  padding: 0.28rem 0.65rem;
  border-radius: 100px;
  border: 1px solid rgba(199, 154, 59, 0.3);
  background: rgba(199, 154, 59, 0.07);
}

.gcard h2 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.gcard p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gcard__meta {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gcard__meta i {
  font-style: normal;
  color: var(--gold-2);
  transition: transform 0.3s var(--ease);
}

.gcard:hover .gcard__meta i {
  transform: translateX(4px);
}

/* ═══════════ POST — artículo ═══════════ */
.post {
  padding: 8rem 0 5rem;
}

.post .container {
  max-width: 780px;
}

.post__crumbs {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 2.6rem;
}

.post__crumbs a {
  color: var(--muted);
  transition: color 0.25s;
}

.post__crumbs a:hover {
  color: var(--gold-2);
}

.post__crumbs em {
  font-style: normal;
  color: var(--cyan);
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 40vw;
}

.post__kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-bottom: 1.4rem;
}

.post__kicker i {
  font-style: normal;
  opacity: 0.5;
}

.post__cat {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.post__head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.post__stand {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 640px;
}

.post__byline {
  margin-top: 1.6rem;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.post__byline b {
  color: var(--text);
  font-weight: 500;
}

.post__body {
  padding-top: 2.4rem;
}

.post__body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 2.8rem 0 1rem;
  color: var(--text);
}

.post__body h2:first-child {
  margin-top: 0;
}

.post__body p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.1rem;
  font-size: 0.98rem;
}

.post__body strong {
  color: var(--text);
  font-weight: 600;
}

.post__body a {
  color: var(--gold-2);
  border-bottom: 1px solid rgba(232, 197, 106, 0.35);
  transition: color 0.25s, border-color 0.25s;
}

.post__body a:hover {
  color: var(--cyan);
  border-color: rgba(126, 224, 255, 0.4);
}

.post__body ul,
.post__body ol {
  color: var(--muted);
  padding-left: 1.3rem;
  margin-bottom: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.post__body li::marker {
  color: var(--gold-2);
}

.post__body li strong {
  color: var(--text);
}

/* FAQ del post */
.post__faq {
  margin-top: 3.5rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.post__faq > h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}

.post__faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 0.7rem;
  background: var(--glass);
  overflow: hidden;
}

.post__faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.94rem;
  list-style: none;
  transition: color 0.25s;
}

.post__faq-item summary::-webkit-details-marker {
  display: none;
}

.post__faq-item summary:hover {
  color: var(--gold-2);
}

.post__faq-plus {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  position: relative;
}

.post__faq-plus::before,
.post__faq-plus::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--gold-2);
  transition: transform 0.3s var(--ease);
}

.post__faq-plus::before {
  width: 14px;
  height: 1.5px;
}

.post__faq-plus::after {
  width: 1.5px;
  height: 14px;
}

.post__faq-item[open] .post__faq-plus::after {
  transform: rotate(90deg);
}

.post__faq-answer {
  padding: 0 1.3rem 1.15rem;
}

.post__faq-answer p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* CTA de conversión */
.post-cta {
  margin: 3rem 0;
  padding: 2.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(199, 154, 59, 0.35);
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(199, 154, 59, 0.12), transparent 60%),
    var(--glass);
  position: relative;
  overflow: hidden;
}

.post-cta--mid {
  margin: 2.4rem 0;
  padding: 1.7rem;
}

.post-cta--hub {
  margin-top: 0;
}

.post-cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--gold-2);
  margin-bottom: 0.9rem;
  text-transform: uppercase;
}

.post-cta__text {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  font-weight: 500;
  line-height: 1.4;
  max-width: 560px;
  margin-bottom: 1.4rem;
}

.post-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.post-cta__mail {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* relacionados */
.post__related {
  margin-top: 3.5rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.post__related > h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
}

.post__related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.post__related-grid .gcard {
  padding: 1.3rem;
}

.post__related-grid .gcard h2 {
  font-size: 0.98rem;
}

.post__related-grid .gcard p {
  -webkit-line-clamp: 2;
  font-size: 0.78rem;
}

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

@media (max-width: 720px) {
  .guias__grid,
  .post__related-grid {
    grid-template-columns: 1fr;
  }

  .post {
    padding: 7rem 0 4rem;
  }

  .post-cta {
    padding: 1.5rem;
  }

  .post-cta__btns .btn {
    width: 100%;
    justify-content: center;
  }
}

/* enlace a guías al final del FAQ */
.faq__more {
  margin-top: 2.4rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.faq__more a {
  color: var(--gold-2);
  border-bottom: 1px solid rgba(232, 197, 106, 0.35);
  transition: color 0.25s, border-color 0.25s;
}

.faq__more a:hover {
  color: var(--cyan);
  border-color: rgba(126, 224, 255, 0.4);
}

/* ══════════════════════════════════════════════════════════════
   FUNNEL — lead form, author box, sticky CTA
   ══════════════════════════════════════════════════════════════ */
.post-lead {
  margin-top: 4.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--border);
}
.post-lead__head { max-width: 34rem; margin-bottom: 2rem; }
.post-lead__head h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0.4rem 0 0.6rem; }
.post-lead__head p:not(.eyebrow) { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.post-lead__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1.5rem; align-items: start; }

.lead-form { display: flex; flex-direction: column; gap: 1rem; padding: 1.8rem; }
.lead-form label { display: flex; flex-direction: column; gap: 0.45rem; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.lead-form input[type="text"], .lead-form input[type="email"],
.lead-form select, .lead-form textarea,
.contact__form select {
  font-family: var(--font-body); font-size: 0.92rem; color: var(--text);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.8rem 1rem; outline: none;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none; appearance: none;
}
.lead-form select, .contact__form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238fa3b8' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem;
}
.lead-form select option { background: var(--bg); color: var(--text); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus,
.contact__form select:focus { border-color: rgba(126,224,255,0.5); background: rgba(126,224,255,0.04); }
.lead-form textarea { resize: vertical; min-height: 96px; }
.lead-form .btn { margin-top: 0.3rem; }
.lead-form__alt { font-size: 0.78rem; color: var(--muted); margin: 0; }
.lead-form__alt a { color: var(--cyan); }
.lead-honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lead-ok { text-align: center; padding: 2rem 1rem; }
.lead-ok b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--cyan); margin-bottom: 0.7rem; }
.lead-ok p { color: var(--muted); font-size: 0.92rem; line-height: 1.7; }
.lead-ok a { color: var(--cyan); }
.lead-err { font-size: 0.85rem; color: #f0b8a0; }
.lead-err a { color: var(--cyan); text-decoration: underline; }
.lead-form button[disabled] { opacity: 0.6; pointer-events: none; }

/* author box — confianza junto al ask */
.author-box {
  display: flex; gap: 1.1rem; align-items: flex-start;
  padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
}
.author-box__ava {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em;
  color: var(--gold-hi);
  background: radial-gradient(circle at 30% 25%, rgba(199,154,59,0.35), rgba(23,50,77,0.9));
  border: 1px solid rgba(232,197,106,0.4);
}
.author-box__txt b { font-family: var(--font-display); font-size: 1rem; }
.author-box__txt p { color: var(--muted); font-size: 0.84rem; line-height: 1.6; margin: 0.4rem 0 0.6rem; }
.author-box__txt a { color: var(--cyan); font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* sticky CTA — móvil primero, aparece tras leer un tercio */
.sticky-cta {
  position: fixed; left: 50%; bottom: 1.1rem; z-index: 90;
  transform: translate(-50%, 160%);
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}
.sticky-cta.show { transform: translate(-50%, 0); pointer-events: auto; }
.sticky-cta__btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-size: 0.84rem; color: var(--text);
  white-space: nowrap;
  padding: 0.8rem 1.35rem; border-radius: 999px;
  background: rgba(10,18,32,0.82); border: 1px solid rgba(232,197,106,0.45);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.sticky-cta__btn b { color: var(--gold-hi); font-weight: 600; }

@media (max-width: 860px) {
  .post-lead__grid { grid-template-columns: 1fr; }
  .author-box { order: -1; }
}
@media (max-width: 560px) {
  .lead-form { padding: 1.3rem; }
  .sticky-cta { bottom: 0.8rem; width: calc(100% - 2rem); }
  .sticky-cta__btn { width: 100%; justify-content: center; font-size: 0.8rem; }
}

/* ══════════════════════════════════════════════════════════════
   SERVICIOS — scroll horizontal inmersivo (mundo "aurora")
   ══════════════════════════════════════════════════════════════ */
.svc {
  --svc-glow: rgba(126,224,255,0.16);
  position: relative;
  background: #04070e;
  overflow: hidden;
}
.svc__aurora { position: absolute; inset: 0; pointer-events: none; }
.svc__aurora i {
  position: absolute; border-radius: 50%;
  filter: blur(110px); opacity: 0.5; will-change: transform;
}
.svc__aurora i:nth-child(1) {
  width: 46vw; height: 46vw; left: -8vw; top: -12vh;
  background: radial-gradient(circle, rgba(43,111,158,0.55), transparent 70%);
  animation: svcDrift 26s ease-in-out infinite alternate;
}
.svc__aurora i:nth-child(2) {
  width: 38vw; height: 38vw; right: -6vw; top: 20vh;
  background: radial-gradient(circle, rgba(199,154,59,0.32), transparent 70%);
  animation: svcDrift 32s ease-in-out infinite alternate-reverse;
}
.svc__aurora i:nth-child(3) {
  width: 30vw; height: 30vw; left: 30vw; bottom: -18vh;
  background: radial-gradient(circle, rgba(126,224,255,0.28), transparent 70%);
  animation: svcDrift 22s ease-in-out infinite alternate;
}
@keyframes svcDrift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(6vw, 8vh) scale(1.15); }
}

.svc__head { position: relative; z-index: 2; padding-top: clamp(5rem, 10vh, 7rem); }
.svc__hint {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted); margin-top: 1.2rem;
}
.svc__hint i { color: var(--gold-hi); font-style: normal; animation: hintNudge 1.8s ease-in-out infinite; display: inline-block; }
@keyframes hintNudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(7px); } }

.svc__viewport { position: relative; z-index: 1; }
.svc__track {
  display: flex; align-items: stretch; gap: clamp(1.2rem, 2vw, 2rem);
  width: max-content; padding: clamp(2rem, 5vh, 3.5rem) 8vw clamp(4rem, 9vh, 6rem);
  will-change: transform;
}
.svc__card {
  --acc: var(--gold-hi);
  position: relative; overflow: hidden; flex: 0 0 auto;
  width: clamp(300px, 30vw, 430px); min-height: clamp(380px, 56vh, 520px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.6rem, 2.4vw, 2.4rem); border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.45s, transform 0.45s var(--ease), box-shadow 0.45s;
}
.svc__card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--acc); opacity: 0.75;
  box-shadow: 0 0 24px var(--acc);
}
.svc__card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--acc) 14%, transparent), transparent 55%);
  opacity: 0; transition: opacity 0.5s;
}
.svc__card:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--acc) 45%, transparent); box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7); }
.svc__card:hover::after { opacity: 1; }
.svc__card[data-accent="cyan"]   { --acc: #7ee0ff; }
.svc__card[data-accent="violet"] { --acc: #b39dff; }
.svc__card[data-accent="green"]  { --acc: #7be3b0; }
.svc__card[data-accent="teal"]   { --acc: #5ee0d0; }
.svc__card[data-accent="copper"] { --acc: #e8955a; }

.svc__num {
  position: absolute; top: clamp(1rem, 2vw, 1.8rem); right: clamp(1.2rem, 2vw, 2rem);
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(4.2rem, 7vw, 7rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--acc) 55%, transparent);
  opacity: 0.85; will-change: transform;
}
.svc__tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--acc);
  margin-bottom: 0.9rem;
}
.svc__body h3 { font-family: var(--font-display); font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.15; margin-bottom: 0.7rem; }
.svc__body p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; }
.svc__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.1rem; list-style: none; }
.svc__chips li {
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em;
  padding: 0.32rem 0.7rem; border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent); color: color-mix(in srgb, var(--acc) 80%, #fff);
}
.svc__go {
  position: absolute; bottom: 1.5rem; right: 1.7rem;
  font-size: 1.4rem; color: var(--acc);
  transition: transform 0.35s var(--ease);
}
.svc__card:hover .svc__go { transform: translateX(6px); }
.svc__card--cta { justify-content: center; align-items: flex-start; border-style: dashed; border-color: color-mix(in srgb, var(--gold-hi) 40%, transparent); }
.svc__card--cta .svc__body h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }

.svc__progress {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  width: min(380px, 56vw); height: 2px; z-index: 3;
  background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;
}
.svc__progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  border-radius: 2px; transition: width 0.15s linear;
}

/* fallback vertical — móvil y reduced-motion */
@media (max-width: 860px), (prefers-reduced-motion: reduce) {
  .svc__head { padding-bottom: 0; }
  .svc__hint { display: none; }
  .svc__track { flex-direction: column; width: auto; padding: 1.5rem var(--pad-x, 5vw) 3rem; }
  .svc__card { width: 100%; min-height: 0; padding: 1.7rem 1.5rem 3.4rem; }
  .svc__num { font-size: 3.4rem; }
  .svc__progress { display: none; }
}
