/* ==========================================================================
   PIRAMINET — Diseño moderno 2026
   Sistema: dark + glass + neon IA
   Tipografías: Poppins (toda la web, igual que piraminet.es) + JetBrains Mono (code)
   ========================================================================== */

/* ---------- Reset & tokens ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* Brand */
  --p-cyan: #00d4ff;
  --p-cyan-strong: #00b3ff;
  --p-purple: #a855f7;
  --p-magenta: #ec4899;
  --p-mint: #10ffa1;
  /* "net" del logo: mismo amarillo/dorado que piraminet.es (Bootstrap warning) */
  --p-amber: #ffc107;
  --p-amber-strong: #e6a800;
  --p-amber-soft: #ffb547;

  /* RGB triplets for dynamic alpha/glow theming */
  --rgb-cyan: 0, 212, 255;
  --rgb-purple: 168, 85, 247;
  --rgb-magenta: 236, 72, 153;
  --rgb-mint: 16, 255, 161;

  /* Surfaces */
  --bg-0: #060912;
  --bg-1: #0a0f1d;
  --bg-2: #0f1525;
  --bg-3: #141c33;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --text: #e6ebf5;
  --text-muted: #98a2b8;
  --text-dim: #6b7591;

  /* Effects */
  --glow-cyan: 0 0 32px rgba(var(--rgb-cyan), 0.45);
  --glow-purple: 0 0 32px rgba(var(--rgb-purple), 0.45);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container: 1240px;
  --container-narrow: 980px;
  --header-h: 88px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--p-cyan);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--p-cyan-strong);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--text);
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

/* ---------- Background global: orbes animados + grid ---------- */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(var(--rgb-cyan), 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(var(--rgb-purple), 0.18), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(var(--rgb-magenta), 0.12), transparent 60%),
    linear-gradient(180deg, #060912 0%, #080d1a 50%, #060912 100%);
}

.bg-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.6;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  animation: float 18s ease-in-out infinite;
}

.bg-orb--cyan {
  width: 420px;
  height: 420px;
  background: var(--p-cyan);
  top: 8%;
  left: -120px;
}

.bg-orb--purple {
  width: 380px;
  height: 380px;
  background: var(--p-purple);
  top: 35%;
  right: -120px;
  animation-delay: -6s;
}

.bg-orb--magenta {
  width: 320px;
  height: 320px;
  background: var(--p-magenta);
  bottom: 12%;
  left: 30%;
  animation-delay: -12s;
}

@keyframes float {

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

  33% {
    transform: translate(60px, -40px) scale(1.05);
  }

  66% {
    transform: translate(-40px, 50px) scale(0.95);
  }
}

/* ---------- Container & layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--tight {
  padding: 72px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section--tight {
    padding: 48px 0;
  }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p-cyan);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--p-cyan);
}

.eyebrow--purple {
  color: var(--p-purple);
}

.eyebrow--purple::before {
  background: var(--p-purple);
}

.eyebrow--mint {
  color: var(--p-mint);
}

.eyebrow--mint::before {
  background: var(--p-mint);
}

.eyebrow--amber {
  color: var(--p-amber);
}

.eyebrow--amber::before {
  background: var(--p-amber);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}

.gradient-text {
  background: linear-gradient(120deg, var(--p-cyan) 0%, var(--p-purple) 50%, var(--p-magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(6, 9, 18, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Brand: replica exacta de piraminet.es */
.brand {
  display: inline-flex;
  align-items: center;
  /* centra verticalmente el glifo en la línea */
  gap: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 3.6rem;
  /* un poco más bajo que antes, sigue siendo grande */
  line-height: 1.05;
  /* altura suficiente para que no se corten picos/puntos */
  letter-spacing: -2px;
  /* exacto de piraminet.es */
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand__name {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  display: inline-flex;
  align-items: center;
}

.brand__name span {
  color: var(--p-amber);
  /* mismo amarillo warning #ffc107 que piraminet.es */
  font-weight: inherit;
}

@media (max-width: 880px) {
  .brand {
    font-size: 2.6rem;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__num,
.nav__sub,
.nav__arrow,
.nav__mobile-foot {
  display: none;
}

.nav__body,
.nav__title {
  display: inline;
}

.nav__link {
  display: inline-block;
  padding: 8px 14px;
  font-size: 1.02rem;
  font-weight: 500;
  color: #ffffff;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover {
  color: var(--p-cyan);
  background: rgba(255, 255, 255, 0.06);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  margin-left: 6px;
  background: var(--p-cyan);
  color: #050a16;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav__cta:hover {
  color: #050a16;
  transform: translateY(-1px);
  box-shadow: var(--glow-cyan);
}

.nav__toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  cursor: pointer;
  color: var(--text);
  outline: none;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, transform 0.25s ease;
}

.nav__toggle:focus-visible {
  border-color: var(--p-cyan);
  box-shadow: 0 0 0 3px rgba(var(--rgb-cyan), 0.25);
}

.nav__toggle span {
  display: block;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, width 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
}

.nav__toggle span:nth-child(1) {
  width: 20px;
}

.nav__toggle span:nth-child(2) {
  width: 14px;
  align-self: flex-end;
  margin-right: 13px;
  background: var(--p-cyan);
  box-shadow: 0 0 8px rgba(var(--rgb-cyan), 0.65);
}

.nav__toggle span:nth-child(3) {
  width: 18px;
}

.nav__toggle[aria-expanded="true"] {
  border-color: rgba(var(--rgb-cyan), 0.55);
  background: linear-gradient(135deg, rgba(var(--rgb-cyan), 0.16), rgba(var(--rgb-purple), 0.18));
  box-shadow: 0 0 26px rgba(var(--rgb-cyan), 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  width: 20px;
  background: var(--p-cyan);
  box-shadow: 0 0 10px rgba(var(--rgb-cyan), 0.6);
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  width: 20px;
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 880px) {
  :root {
    --header-h: 76px;
  }

  .site-header.is-menu-open {
    background: rgba(6, 9, 18, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }

  .nav__toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    left: 14px;
    right: 14px;
    max-height: calc(100dvh - var(--header-h) - 24px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 18px;
    border-radius: 24px;
    background:
      radial-gradient(380px 220px at 0% 0%, rgba(var(--rgb-cyan), 0.18), transparent 70%),
      radial-gradient(360px 240px at 100% 100%, rgba(var(--rgb-purple), 0.22), transparent 70%),
      linear-gradient(165deg, rgba(13, 19, 36, 0.97) 0%, rgba(7, 10, 20, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 32px 80px rgba(0, 0, 0, 0.82),
      0 0 0 1px rgba(var(--rgb-cyan), 0.14) inset,
      0 0 48px rgba(var(--rgb-cyan), 0.12);
    transform: translateY(-16px) scale(0.96);
    transform-origin: top right;
    opacity: 0;
    filter: blur(8px);
    pointer-events: none;
    transition:
      transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.32s ease,
      filter 0.35s ease;
  }

  .nav::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 25%, #000 15%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 25%, #000 15%, transparent 80%);
    pointer-events: none;
  }

  .nav.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: blur(0);
    pointer-events: auto;
  }

  .nav__link {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 42px 1fr 34px;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 13px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.36s ease,
      transform 0.44s cubic-bezier(0.16, 1, 0.3, 1),
      background 0.25s ease,
      border-color 0.25s ease,
      box-shadow 0.25s ease;
  }

  .nav.is-open .nav__link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--nav-i, 0) * 50ms + 50ms);
  }

  .nav__link:hover,
  .nav__link:active,
  .nav__link.is-current {
    background: linear-gradient(135deg, rgba(var(--rgb-cyan), 0.13) 0%, rgba(var(--rgb-purple), 0.11) 100%);
    border-color: rgba(var(--rgb-cyan), 0.38);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), 0 0 20px rgba(var(--rgb-cyan), 0.12);
    color: #ffffff;
  }

  .nav__num {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--p-cyan);
    background: rgba(var(--rgb-cyan), 0.1);
    border: 1px solid rgba(var(--rgb-cyan), 0.26);
    box-shadow: 0 0 16px rgba(var(--rgb-cyan), 0.12) inset;
  }

  .nav__link:nth-of-type(2) .nav__num {
    color: var(--p-purple);
    background: rgba(var(--rgb-purple), 0.12);
    border-color: rgba(var(--rgb-purple), 0.3);
    box-shadow: 0 0 16px rgba(var(--rgb-purple), 0.14) inset;
  }

  .nav__link:nth-of-type(3) .nav__num {
    color: var(--p-magenta);
    background: rgba(var(--rgb-magenta), 0.12);
    border-color: rgba(var(--rgb-magenta), 0.3);
    box-shadow: 0 0 16px rgba(var(--rgb-magenta), 0.14) inset;
  }

  .nav__link:nth-of-type(4) .nav__num {
    color: var(--p-mint);
    background: rgba(var(--rgb-mint), 0.1);
    border-color: rgba(var(--rgb-mint), 0.28);
    box-shadow: 0 0 16px rgba(var(--rgb-mint), 0.12) inset;
  }

  .nav__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
  }

  .nav__title {
    display: block;
    font-size: 1.06rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: #ffffff;
  }

  .nav__sub {
    display: block;
    font-size: 0.76rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav__arrow {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  }

  .nav__link:hover .nav__arrow,
  .nav__link:active .nav__arrow,
  .nav__link.is-current .nav__arrow {
    transform: translate(2px, -2px);
    background: var(--p-cyan);
    border-color: transparent;
    color: #050a16;
  }

  .nav__cta {
    position: relative;
    z-index: 1;
    margin: 4px 0 0;
    padding: 15px 22px;
    justify-content: center;
    width: 100%;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--p-cyan) 0%, var(--p-purple) 55%, var(--p-magenta) 100%);
    color: #050a16;
    box-shadow: 0 12px 30px rgba(var(--rgb-cyan), 0.32), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.36s ease,
      transform 0.44s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.3s ease;
  }

  .nav.is-open .nav__cta {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--nav-i, 4) * 50ms + 50ms);
  }

  .nav__mobile-foot {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.36s ease, transform 0.44s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav.is-open .nav__mobile-foot {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--nav-i, 5) * 50ms + 50ms);
  }

  .nav__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .nav__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--p-mint);
    box-shadow: 0 0 10px var(--p-mint);
    animation: pulse 1.8s ease-in-out infinite;
  }

  .nav__quick {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-dim);
  }

  .nav__quick a {
    color: var(--text);
    font-weight: 500;
  }

  .nav__quick a:hover {
    color: var(--p-cyan);
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--p-cyan), var(--p-purple));
  color: #050a16;
  box-shadow: 0 8px 24px rgba(var(--rgb-cyan), 0.25);
}

.btn--primary:hover {
  color: #050a16;
  box-shadow: 0 12px 32px rgba(var(--rgb-cyan), 0.4);
}

.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--ghost:hover {
  background: var(--surface-strong);
  color: var(--text);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ---------- Cards (glass) ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 40%, transparent 60%, rgba(var(--rgb-cyan), 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- HERO ---------- */
.hero {
  padding: calc(var(--header-h) + 40px) 0 96px;
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--p-cyan);
  margin-bottom: 24px;
}

.hero__eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--p-mint);
  box-shadow: 0 0 12px var(--p-mint);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero__eyebrow-icon {
  display: inline-block;
  vertical-align: -2px;
  color: var(--p-mint);
  margin-left: 2px;
  margin-right: 2px;
}

@keyframes pulse {

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

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.hero h1 {
  font-size: clamp(2.2rem, 2.8vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero__lead {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-cyan);
}

/* Hero visual: panel de chat + agente IA */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.hero__panel {
  width: min(100%, 460px);
  background: linear-gradient(180deg, rgba(15, 21, 37, 0.95), rgba(10, 15, 29, 0.95));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  z-index: 2;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.hero__panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.hero__avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: transparent;
  color: #050a16;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hero__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero__panel-head .meta {
  display: flex;
  flex-direction: column;
}

.hero__panel-head .name {
  font-weight: 600;
  font-size: 0.95rem;
}

.hero__panel-head .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--p-mint);
  font-family: "JetBrains Mono", monospace;
}

.hero__panel-head .status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-mint);
  box-shadow: 0 0 8px var(--p-mint);
}

.hero__bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.93rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.hero__bubble--user {
  margin-left: auto;
  background: var(--p-cyan);
  color: #050a16;
  border-bottom-right-radius: 4px;
}

.hero__bubble--bot {
  margin-right: auto;
  background: var(--surface-strong);
  color: var(--text);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}

.hero__bubble--bot .tag {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  background: rgba(var(--rgb-purple), 0.15);
  color: var(--p-purple);
  border-radius: 4px;
}

.hero__typing {
  display: inline-flex;
  gap: 4px;
  padding: 10px 14px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.hero__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-cyan);
  animation: typing 1.2s ease-in-out infinite;
}

.hero__typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.hero__typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {

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

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

/* Decorative floating cards */
.float-card {
  position: absolute;
  background: rgba(15, 21, 37, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  z-index: 3;
}

.float-card--top {
  top: 2%;
  right: -24px;
  animation: floatY 6s ease-in-out infinite;
}

.float-card--bottom {
  bottom: 0;
  left: -32px;
  animation: floatY 6s ease-in-out infinite 2s;
}

@keyframes floatY {

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

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

.float-card__label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.float-card__value {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.1;
  color: var(--text);
}

.float-card--top .float-card__value {
  color: var(--p-mint);
}

.float-card--bottom .float-card__value {
  color: var(--p-purple);
}

@media (max-width: 540px) {
  .float-card--top {
    right: -6px;
    top: 0;
  }

  .float-card--bottom {
    left: -6px;
    bottom: -8px;
  }
}

/* Decorative ring */
.hero__ring {
  position: absolute;
  max-width: 100vw;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px dashed rgba(var(--rgb-cyan), 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 60s linear infinite;
  z-index: 1;
}

.hero__ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px dashed rgba(var(--rgb-purple), 0.2);
  margin: 30px;
  animation: spin 80s linear infinite reverse;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

  .hero__visual {
    max-width: 460px;
    margin: 0 auto;
  }
}

/* ---------- Trust strip / logos (eliminado en esta versión) ---------- */

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.stat {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.stat__num {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--p-cyan), var(--p-purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.stat__label {
  font-size: 0.92rem;
  color: var(--text-muted);
}

@media (max-width: 880px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Services (4 bloques detallados) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

.service {
  position: relative;
  padding: 36px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}

.service::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent, var(--p-cyan)), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}

.service:hover {
  transform: translateY(-4px);
}

.service:hover::after {
  opacity: 0.4;
}

.service__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--accent, var(--p-cyan));
  margin-bottom: 24px;
}

.service__icon svg {
  width: 28px;
  height: 28px;
}

.service h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.service__lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
}

.service__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.service__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service__list li::before {
  content: "→";
  color: var(--accent, var(--p-cyan));
  font-weight: 700;
  margin-top: 1px;
}

.service__list li:first-child {
  border-top: 0;
}

.service__list strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}

.service__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent, var(--p-cyan));
  font-weight: 600;
  font-size: 0.92rem;
}

.service__cta::after {
  content: "→";
  transition: transform var(--transition);
}

.service__cta:hover::after {
  transform: translateX(4px);
}

/* Service color variants */
.service--cyan {
  --accent: var(--p-cyan);
}

.service--purple {
  --accent: var(--p-purple);
}

.service--magenta {
  --accent: var(--p-magenta);
}

.service--mint {
  --accent: var(--p-mint);
}

/* ---------- Páginas legales (aviso, privacidad, cookies) ---------- */
.legal-page {
  padding: calc(var(--header-h) + 64px) 0 96px;
  position: relative;
}

.legal-page__head {
  max-width: 880px;
  margin: 0 auto 40px;
  text-align: center;
}

.legal-page__head .eyebrow {
  justify-content: center;
}

.legal-page__head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 12px 0 14px;
  line-height: 1.1;
}

.legal-page__head .legal-meta {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.08em;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 48px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}

.legal-toc .toc-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 18px;
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px;
}

.legal-toc h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 12px;
}

.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: legalitem;
}

.legal-toc ol li {
  counter-increment: legalitem;
  padding: 6px 0;
  border-top: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.legal-toc ol li:first-child {
  border-top: 0;
}

.legal-toc ol li a {
  color: inherit;
  display: block;
  transition: color var(--transition);
}

.legal-toc ol li a::before {
  content: counter(legalitem, decimal-leading-zero) " ";
  color: var(--text-dim);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  margin-right: 6px;
}

.legal-toc ol li a:hover {
  color: var(--p-cyan);
}

.legal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 44px;
  min-width: 0;
}

.legal-content section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 0 0 14px;
  padding-top: 6px;
}

.legal-content h2:not(:first-child) {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 1.05rem;
  margin: 24px 0 10px;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.legal-content p {
  margin: 0 0 14px;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.4em;
  margin: 0 0 16px;
}

.legal-content ul li,
.legal-content ol li {
  margin-bottom: 6px;
}

.legal-content strong {
  color: var(--text);
}

.legal-content a {
  color: var(--p-cyan);
  text-decoration: underline;
  text-decoration-color: rgba(var(--rgb-cyan), 0.4);
  text-underline-offset: 3px;
}

.legal-content a:hover {
  text-decoration-color: var(--p-cyan);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 24px;
  border-radius: 12px;
}

.table-scroll table {
  margin-bottom: 0;
  min-width: 560px;
}

.table-scroll:focus-visible {
  outline: 2px solid var(--p-cyan, #00d4ff);
  outline-offset: 2px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 0.92rem;
}

.legal-content th,
.legal-content td {
  padding: 10px 12px;
  border: 1px solid var(--border);
  text-align: left;
  color: var(--text-muted);
}

.legal-content th {
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 600;
}

.legal-callout {
  margin: 18px 0;
  padding: 16px 18px;
  background: rgba(var(--rgb-cyan), 0.06);
  border: 1px solid rgba(var(--rgb-cyan), 0.20);
  border-left: 3px solid var(--p-cyan);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--text);
}

.legal-callout strong {
  color: var(--p-cyan);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  padding: 10px 18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
  transition: background var(--transition), border-color var(--transition);
}

.legal-back:hover {
  background: var(--surface-strong);
  border-color: var(--p-cyan);
  color: var(--text);
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-toc {
    position: static;
  }

  .legal-content {
    padding: 28px 24px;
  }
}

/* ---------- Casos de uso ---------- */
.casos-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  /* iguala la altura de las dos columnas */
}

.casos-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.casos-cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.casos-cta .btn {
  box-shadow: 0 8px 24px rgba(var(--rgb-mint), 0.20);
}

.usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-content: start;
  /* las tarjetas se alinean arriba, sin huecos al final */
  min-width: 0;
  /* permite que el grid se encoja sin desbordar */
}

.usecases--col {
  /* alias para que sea explícito que va en columna izquierda */
}

.usecase {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.usecase:hover {
  background: var(--surface-strong);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.usecase__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(var(--rgb-cyan), 0.1);
  color: var(--p-cyan);
  margin-bottom: 14px;
}

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

.usecase h3 {
  font-size: 0.92rem;
  line-height: 1.25;
  margin-bottom: 6px;
}

.usecase p {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

/* Tarjeta destacada OpenClaw STUDIO V2 */
.openclaw {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 320px at 0% 0%, rgba(var(--rgb-mint), 0.10), transparent 60%),
    radial-gradient(600px 320px at 100% 100%, rgba(var(--rgb-cyan), 0.10), transparent 60%),
    linear-gradient(180deg, rgba(15, 21, 37, 0.85), rgba(10, 15, 29, 0.95));
  border: 1px solid var(--border-strong);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  /* iguala la altura con el grid de tarjetas de la izquierda */
  min-width: 0;
  /* permite que la columna se encoja */
}

.openclaw::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(var(--rgb-mint), 0.45), transparent 40%, transparent 60%, rgba(var(--rgb-cyan), 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.openclaw h3 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  margin: 0 0 14px;
  line-height: 1.15;
}

.openclaw__lead {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 22px;
}

/* Layout vertical dentro del bloque: imagen a ancho completo */
.openclaw__grid {
  display: none;
  /* ya no se usa: las features ahora son tarjetas a la izquierda */
}

.openclaw__image {
  position: relative;
  margin: 0 -10px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #06090f;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  flex: 1;
  /* ocupa el espacio sobrante para igualar alturas */
  min-height: 220px;
}

.openclaw__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.openclaw__image-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  background: rgba(6, 9, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p-mint);
}

.openclaw__list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
}

.openclaw__list li {
  padding: 10px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.94rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.openclaw__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.openclaw__list li::before {
  content: "→";
  color: var(--p-mint);
  font-weight: 700;
  margin-top: 1px;
  flex-shrink: 0;
}

.openclaw__list strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .casos-layout {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 24px;
  }

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

@media (max-width: 900px) {
  .casos-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

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

  .openclaw {
    padding: 24px;
  }
}

/* ---------- Metodología (timeline) ---------- */
.process {
  display: grid;
  gap: 0;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--p-cyan), var(--p-purple), var(--p-magenta));
  border-radius: 2px;
}

.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.step__num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-1);
  border: 2px solid var(--p-cyan);
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", monospace;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--p-cyan);
  box-shadow: 0 0 24px rgba(var(--rgb-cyan), 0.25);
  z-index: 2;
}

.step:nth-child(2) .step__num {
  border-color: var(--p-purple);
  color: var(--p-purple);
  box-shadow: 0 0 24px rgba(var(--rgb-purple), 0.3);
}

.step:nth-child(3) .step__num {
  border-color: var(--p-magenta);
  color: var(--p-magenta);
  box-shadow: 0 0 24px rgba(var(--rgb-magenta), 0.3);
}

.step:nth-child(4) .step__num {
  border-color: var(--p-mint);
  color: var(--p-mint);
  box-shadow: 0 0 24px rgba(var(--rgb-mint), 0.3);
}

.step:nth-child(5) .step__num {
  border-color: var(--p-amber);
  color: var(--p-amber);
  box-shadow: 0 0 24px rgba(255, 193, 7, 0.3);
}

.step__body {
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step__body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step__body p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.97rem;
}

@media (max-width: 600px) {
  .process::before {
    left: 24px;
  }

  .step {
    grid-template-columns: 50px 1fr;
    gap: 14px;
  }

  .step__num {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
}

/* ---------- Por qué elegirnos (split visual) ---------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.why__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}

.why__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.why__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.why__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(var(--rgb-cyan), 0.08);
  color: var(--p-cyan);
}

.why__icon svg {
  width: 22px;
  height: 22px;
}

.why__list h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.why__list p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 0;
}

.why__visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.why__visual-inner {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.why__core {
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p-cyan), var(--p-purple));
  display: grid;
  place-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #050a16;
  box-shadow: 0 0 80px rgba(var(--rgb-cyan), 0.4);
  position: relative;
  z-index: 2;
}

.why__orbit {
  position: absolute;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

.why__orbit--1 {
  width: 80%;
  height: 80%;
  border-style: dashed;
  animation: spin 50s linear infinite;
}

.why__orbit--2 {
  width: 100%;
  height: 100%;
  border-color: rgba(var(--rgb-purple), 0.3);
  border-style: dashed;
  animation: spin 70s linear infinite reverse;
}

.why__chip {
  position: absolute;
  padding: 10px 14px;
  background: rgba(15, 21, 37, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

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

.why__chip--1 {
  top: 4%;
  left: -10px;
}

.why__chip--1 i {
  background: var(--p-cyan);
  box-shadow: 0 0 8px var(--p-cyan);
}

.why__chip--2 {
  top: 30%;
  right: -20px;
}

.why__chip--2 i {
  background: var(--p-purple);
  box-shadow: 0 0 8px var(--p-purple);
}

.why__chip--3 {
  bottom: 20%;
  left: 0;
}

.why__chip--3 i {
  background: var(--p-magenta);
  box-shadow: 0 0 8px var(--p-magenta);
}

.why__chip--4 {
  bottom: 6%;
  right: 10%;
}

.why__chip--4 i {
  background: var(--p-mint);
  box-shadow: 0 0 8px var(--p-mint);
}

@media (max-width: 980px) {
  .why {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- CTA / contacto ---------- */
.cta-section {
  padding: 96px 0;
}

.cta-box {
  position: relative;
  padding: 64px 56px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(var(--rgb-cyan), 0.18), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(var(--rgb-purple), 0.18), transparent 60%),
    linear-gradient(180deg, rgba(15, 21, 37, 0.9), rgba(10, 15, 29, 0.95));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  opacity: 0.4;
}

.cta-box__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  margin-bottom: 18px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.cta-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cta-info__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.cta-info__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(var(--rgb-cyan), 0.12);
  color: var(--p-cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.cta-info__icon svg {
  width: 18px;
  height: 18px;
}

.cta-info__label {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.cta-info__value {
  color: var(--text);
  font-weight: 500;
  font-size: 0.98rem;
}

.cta-info__value a {
  color: var(--text);
}

.cta-info__value a:hover {
  color: var(--p-cyan);
}

.form {
  display: grid;
  gap: 14px;
}

.form__row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

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

.form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__field label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 0;
  border-color: var(--p-cyan);
  box-shadow: 0 0 0 3px rgba(var(--rgb-cyan), 0.15);
}

.form__field textarea {
  resize: vertical;
  min-height: 120px;
}

.form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.form__hint {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.form__status {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form__status.is-show {
  display: block;
}

.form__status--ok {
  background: rgba(var(--rgb-mint), 0.12);
  border: 1px solid rgba(var(--rgb-mint), 0.3);
  color: var(--p-mint);
}

.form__status--err {
  background: rgba(var(--rgb-magenta), 0.12);
  border: 1px solid rgba(var(--rgb-magenta), 0.3);
  color: var(--p-magenta);
}

@media (max-width: 880px) {
  .cta-box {
    padding: 48px 28px;
  }

  .cta-box__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(6, 9, 18, 0.8));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-grid .footer-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.footer-about .brand {
  font-size: 1.5rem;
  letter-spacing: -1px;
  margin-bottom: 14px;
  color: #ffffff;
}

.footer-about .brand:hover {
  color: #ffffff;
}

.footer-about .brand .brand__name span {
  color: var(--p-amber);
}

.footer-about p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 380px;
}

.footer-about p strong {
  color: var(--text);
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--p-cyan);
}
.footer-address {
  margin-top: 20px;
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted, #98a2b8);
}
.footer-address strong { color: #e6ebf5; font-weight: 600; }
.footer-address a { color: #98a2b8; }
.footer-address a:hover { color: #00d4ff; }

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

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

/* ---------- Botón flotante de chat demo ---------- */
.chat-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p-cyan), var(--p-purple));
  color: #050a16;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 12px 32px rgba(var(--rgb-cyan), 0.35);
  transition: transform var(--transition);
}

.chat-fab:hover {
  transform: scale(1.08);
}

.chat-fab svg {
  width: 26px;
  height: 26px;
}

.chat-fab::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(var(--rgb-cyan), 0.4);
  animation: ping 2s ease-out infinite;
}

@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

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

.chat-window {
  position: fixed;
  bottom: 100px;
  right: 28px;
  width: 360px;
  max-width: calc(100vw - 32px);
  max-height: 540px;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: none;
  flex-direction: column;
  z-index: 50;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.chat-window.is-open {
  display: flex;
  animation: slideUp 240ms ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.chat-window__head {
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(var(--rgb-cyan), 0.12), rgba(var(--rgb-purple), 0.08));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-window__avatar {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: transparent;
  color: #050a16;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.chat-window__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.chat-window__head .meta {
  flex: 1;
}

.chat-window__head .name {
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-window__head .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--p-mint);
  font-family: "JetBrains Mono", monospace;
}

.chat-window__head .status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-mint);
  box-shadow: 0 0 8px var(--p-mint);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

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

  50% {
    opacity: 0.5;
    transform: scale(0.85);
  }
}

.chat-window__voice {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--p-cyan);
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all var(--transition);
}

.chat-window__voice:hover {
  background: var(--surface);
  border-color: var(--p-cyan);
  box-shadow: 0 0 12px rgba(var(--rgb-cyan), 0.35);
}

.chat-window__voice.is-active {
  background: var(--p-cyan);
  color: #050a16;
  box-shadow: var(--glow-cyan);
}

.chat-window__voice svg {
  width: 16px;
  height: 16px;
}

.chat-window__close {
  background: transparent;
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}

.chat-window__close:hover {
  background: var(--surface);
  color: var(--text);
}

.chat-window__close svg {
  width: 18px;
  height: 18px;
}

.chat-window__body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  scroll-behavior: smooth;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  word-wrap: break-word;
}

.chat-msg--bot {
  align-self: flex-start;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text);
}

.chat-msg--bot a {
  color: var(--p-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chat-msg--bot strong {
  color: #fff;
  font-weight: 600;
}

.chat-msg--bot ul {
  margin: 8px 0 8px 4px;
  padding-left: 18px;
  list-style: disc outside;
}

.chat-msg--bot li {
  margin-bottom: 4px;
}

.chat-msg--user {
  align-self: flex-end;
  background: var(--p-cyan);
  color: #050a16;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.chat-msg--typing {
  padding: 12px 16px;
  width: fit-content;
}

.typing-dots {
  display: flex;
  align-items: center;
  gap: 5px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--p-cyan);
  animation: typingPulse 1.2s infinite ease-in-out;
}

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

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

@keyframes typingPulse {

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

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

.chat-window__suggest {
  padding: 0 16px 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chat-suggest {
  font-size: 0.8rem;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.chat-suggest:hover {
  background: var(--surface-strong);
  color: var(--p-cyan);
  border-color: var(--p-cyan);
}

.chat-window__form {
  padding: 12px 16px 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.chat-mic-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.chat-mic-btn:hover {
  color: var(--p-cyan);
  border-color: var(--p-cyan);
  background: var(--surface-strong);
}

.chat-mic-btn.is-listening {
  background: #e23c3c;
  border-color: #e23c3c;
  color: #fff;
  animation: micPulse 1.4s infinite;
}

@keyframes micPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(226, 60, 60, 0.5);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(226, 60, 60, 0);
  }
}

.chat-mic-btn svg {
  width: 17px;
  height: 17px;
}

.chat-window__form input {
  flex: 1;
  padding: 10px 14px;
  background: var(--bg-1);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
}

.chat-window__form input:focus {
  outline: 0;
  border-color: var(--p-cyan);
  box-shadow: 0 0 10px rgba(var(--rgb-cyan), 0.2);
}

.chat-window__form button[type="submit"] {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--p-cyan);
  border: 0;
  color: #050a16;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.chat-window__form button[type="submit"]:hover {
  background: var(--p-cyan-strong);
  box-shadow: var(--glow-cyan);
}

.chat-window__form button[type="submit"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.chat-window__form button[type="submit"] svg {
  width: 16px;
  height: 16px;
}

/* ---------- OVERLAY MODO VOZ GEMINI LIVE ---------- */
.chat-voice-overlay {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 16, 32, 0.96);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 20px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.chat-voice-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.chat-voice-pulse {
  position: relative;
  width: 110px;
  height: 110px;
  display: grid;
  place-items: center;
}

.chat-voice-orb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--p-cyan), var(--p-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(var(--rgb-cyan), 0.35);
  position: relative;
  z-index: 2;
  color: #050a16;
}

.chat-voice-overlay.is-listening .chat-voice-pulse::before,
.chat-voice-overlay.is-listening .chat-voice-pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--p-cyan);
  animation: voiceRipple 2s ease-out infinite;
  pointer-events: none;
}

.chat-voice-overlay.is-listening .chat-voice-pulse::after {
  animation-delay: 1s;
}

@keyframes voiceRipple {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }

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

.voice-ico {
  display: none;
}

.chat-voice-overlay.is-listening .voice-ico--mic {
  display: block;
}

.chat-voice-overlay.is-thinking .voice-ico--dots {
  display: flex;
}

.chat-voice-overlay.is-speaking .voice-ico--bars {
  display: flex;
}

.voice-ico--mic {
  width: 36px;
  height: 36px;
}

.voice-ico--dots {
  gap: 6px;
}

.voice-ico--dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #050a16;
  animation: typingPulse 1.2s infinite ease-in-out;
}

.voice-ico--dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.voice-ico--dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.voice-ico--bars {
  align-items: center;
  gap: 4px;
  height: 32px;
}

.voice-ico--bars span {
  width: 4px;
  height: 12px;
  background: #050a16;
  border-radius: 2px;
  animation: equalizerBars 0.9s ease-in-out infinite alternate;
}

.voice-ico--bars span:nth-child(2) {
  animation-delay: 0.15s;
  height: 22px;
}

.voice-ico--bars span:nth-child(3) {
  animation-delay: 0.3s;
  height: 28px;
}

.voice-ico--bars span:nth-child(4) {
  animation-delay: 0.45s;
  height: 18px;
}

.voice-ico--bars span:nth-child(5) {
  animation-delay: 0.6s;
  height: 10px;
}

@keyframes equalizerBars {
  0% {
    transform: scaleY(0.4);
  }

  100% {
    transform: scaleY(1.3);
  }
}

.chat-voice-status {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  font-family: "JetBrains Mono", monospace;
  text-align: center;
}

.chat-voice-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 250px;
  line-height: 1.4;
}

.chat-voice-captions {
  min-height: 32px;
  max-width: 280px;
  font-size: 0.82rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  text-align: center;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-voice-captions .caption-label {
  color: var(--p-cyan);
  font-weight: 600;
  margin-right: 4px;
}

.chat-voice-hangup {
  background: #e23c3c;
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  padding: 9px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(226, 60, 60, 0.35);
  transition: all var(--transition);
  margin-top: 4px;
}

.chat-voice-hangup:hover {
  background: #c92f2f;
  transform: scale(1.04);
}

.chat-voice-hangup svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 480px) {
  .chat-window {
    right: 16px;
    left: 16px;
    width: auto;
    bottom: 85px;
  }

  .chat-fab {
    right: 16px;
    bottom: 16px;
  }
}
/* --- Ajustes para pantallas muy estrechas (≤420px) --- */
@media (max-width: 420px) {
  /* Elemento decorativo: no debe provocar scroll horizontal */
  .hero__ring {
    display: none;
  }
}

/* ==========================================================================
   TEMA ALTERNATIVO: PIZARRA NOCHE & TOQUES ÁMBAR/NARANJA (Identidad Logo)
   Se activa mediante <html data-theme="amber"> desde el Panel de Control
   ========================================================================== */
html[data-theme="amber"] {
  --p-cyan: #ffc107;
  --p-cyan-strong: #ffb300;
  --p-purple: #ff7a18;
  --p-magenta: #38bdf8;
  --p-mint: #10ffa1;
  --p-amber: #ffc107;
  --p-amber-strong: #ff8c00;
  --p-amber-soft: #ffe082;

  --rgb-cyan: 255, 193, 7;
  --rgb-purple: 255, 122, 24;
  --rgb-magenta: 56, 189, 248;
  --rgb-mint: 16, 255, 161;

  /* Fondos neutros azul noche / pizarra oscura (sin tintes marrones ni naranjas) */
  --bg-0: #060912;
  --bg-1: #0a0f1d;
  --bg-2: #0f1525;
  --bg-3: #141c33;
  --hero-bg: #04060d;

  --text: #e6ebf5;
  --text-muted: #98a2b8;
  --text-dim: #6b7591;
}

html[data-theme="amber"] .bg-canvas {
  background:
    radial-gradient(1100px 550px at 20% -10%, rgba(255, 193, 7, 0.09), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(56, 189, 248, 0.08), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(255, 122, 24, 0.07), transparent 60%),
    linear-gradient(180deg, #060912 0%, #080d1a 50%, #060912 100%);
}

html[data-theme="amber"] .brand__name span {
  background: linear-gradient(135deg, #ffc107 0%, #ff7a18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 880px) {
  html[data-theme="amber"] .nav {
    background:
      radial-gradient(380px 220px at 0% 0%, rgba(255, 193, 7, 0.11), transparent 70%),
      radial-gradient(360px 240px at 100% 100%, rgba(56, 189, 248, 0.10), transparent 70%),
      linear-gradient(165deg, rgba(14, 20, 38, 0.97) 0%, rgba(6, 9, 18, 0.99) 100%);
  }
}

html[data-theme="amber"] .openclaw {
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(255, 193, 7, 0.08), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(56, 189, 248, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(15, 21, 37, 0.86), rgba(10, 15, 29, 0.94));
}

html[data-theme="amber"] .cta-box {
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(255, 193, 7, 0.10), transparent 60%),
    radial-gradient(800px 400px at 100% 100%, rgba(56, 189, 248, 0.09), transparent 60%),
    linear-gradient(180deg, rgba(15, 21, 37, 0.90), rgba(10, 15, 29, 0.95));
}

