:root {
  --bg-void: #020617;
  --bg-deep: #071018;
  --bg-card: rgba(8, 28, 48, 0.65);
  --cyan: #22d3ee;
  --cyan-bright: #67e8f9;
  --blue: #0ea5e9;
  --blue-deep: #0369a1;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(103, 232, 249, 0.2);
  --glow: 0 0 40px rgba(34, 211, 238, 0.35);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Sora", var(--font);
  --font-mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

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

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

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

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

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.mesh {
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(14, 165, 233, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 35% at 80% 20%, rgba(34, 211, 238, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 90%, rgba(3, 105, 161, 0.2), transparent 55%);
  animation: mesh-drift 18s ease-in-out infinite alternate;
}

@keyframes mesh-drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-3%, 2%) rotate(2deg); }
}

.grid-floor {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, transparent, black 30%, black 70%, transparent);
  opacity: 0.6;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orb-float 14s ease-in-out infinite alternate;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: 8%;
  left: -8%;
  background: rgba(14, 165, 233, 0.22);
}

.orb-b {
  width: 360px;
  height: 360px;
  bottom: 15%;
  right: -5%;
  background: rgba(34, 211, 238, 0.14);
  animation-delay: -4s;
}

@keyframes orb-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(4%, -3%) scale(1.08); }
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.4;
  pointer-events: none;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s, backdrop-filter 0.4s;
}

.site-header.scrolled {
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  z-index: 1;
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  filter: drop-shadow(var(--glow));
}

.brand-icon svg { width: 100%; height: 100%; }

.brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-text em {
  font-style: normal;
  color: var(--cyan-bright);
}

.nav-desktop {
  display: flex;
  gap: 1.1rem;
  list-style: none;
}

.nav-desktop a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s var(--ease-out);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--cyan-bright);
}

.nav-desktop a:hover::after,
.nav-desktop a.is-active::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.btn:active { transform: scale(0.97); }

.btn-glow {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff;
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.45);
}

.btn-glow:hover {
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.55);
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--cyan-bright);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 199;
  background: rgba(2, 6, 23, 0.97);
  backdrop-filter: blur(20px);
  padding: 2rem;
}

.nav-mobile[hidden] { display: none; }

.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nav-mobile a {
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + 2rem) 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0 6rem;
}

.hero-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.45rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.chip-code {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--cyan);
  letter-spacing: 0.08em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero h1 .line {
  display: block;
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  letter-spacing: -0.025em;
}

.hero h1 .accent {
  background: linear-gradient(120deg, #fff 0%, var(--cyan-bright) 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s ease infinite;
  background-size: 200% auto;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.hero h1 .sub {
  font-family: var(--font);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.35rem;
  letter-spacing: 0.01em;
}

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s, color 0.25s;
}

.spec-pill i {
  font-style: normal;
  font-size: 0.5rem;
  color: var(--cyan);
}

.spec-pill:hover {
  border-color: var(--glass-border);
  color: var(--cyan-bright);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(103, 232, 249, 0.2);
}

.hud-ring-outer {
  width: min(100%, 420px);
  aspect-ratio: 1;
  animation: spin-slow 28s linear infinite;
}

.hud-ring-inner {
  width: min(72%, 300px);
  aspect-ratio: 1;
  border-style: solid;
  border-color: rgba(103, 232, 249, 0.12);
  animation: spin-slow 18s linear infinite reverse;
}

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

.float-tag {
  position: absolute;
  z-index: 2;
  padding: 0.35rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cyan-bright);
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  animation: tag-float 5s ease-in-out infinite;
}

.tag-tl { top: 12%; left: 5%; animation-delay: 0s; }
.tag-tr { top: 18%; right: 8%; animation-delay: -1.5s; }
.tag-bl { bottom: 28%; left: 8%; animation-delay: -3s; }

@keyframes tag-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.drop-scene {
  position: relative;
  width: 220px;
  height: 300px;
}

.drop-scene {
  transform: translate(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px));
  transition: transform 0.2s ease-out;
}

#hero-visual {
  --px: 0;
  --py: 0;
}

.drop-core {
  position: relative;
  animation: float-drop 5s ease-in-out infinite;
}

@keyframes float-drop {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.drop-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(14, 165, 233, 0.4));
}

.drop-path {
  animation: drop-pulse 4s ease-in-out infinite;
}

@keyframes drop-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.88; }
}

.drop-ripple {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 80%;
  height: 12%;
  margin-left: -40%;
  border: 2px solid rgba(103, 232, 249, 0.4);
  border-radius: 50%;
  animation: ripple 3s ease-out infinite;
}

.drop-ripple.r2 { animation-delay: 1.5s; }
.drop-ripple.r3 {
  animation-delay: 2.8s;
  width: 60%;
  margin-left: -30%;
}

@keyframes ripple {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hud-panel {
  position: absolute;
  right: 0;
  bottom: 5%;
  width: min(220px, 42vw);
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(2, 6, 23, 0.82);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hud-status .pulse-dot {
  width: 6px;
  height: 6px;
}

.hud-time {
  font-family: var(--font-mono);
  color: var(--cyan);
}

.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.78rem;
}

.hud-label { color: var(--text-muted); }

.hud-value {
  font-weight: 700;
  color: var(--cyan-bright);
  font-variant-numeric: tabular-nums;
}

.hud-live {
  font-size: 0.72rem;
  animation: blink 2.5s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0.65; }
}

.hud-bar {
  margin-top: 0.5rem;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hud-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  animation: hud-fill 2s var(--ease-out) 0.8s forwards;
}

@keyframes hud-fill {
  to { width: 88%; }
}

.tech-ticker {
  position: relative;
  z-index: 2;
  margin-top: -2rem;
  padding: 0.85rem 0;
  border-block: 1px solid rgba(103, 232, 249, 0.12);
  background: rgba(2, 6, 23, 0.6);
  backdrop-filter: blur(8px);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  animation: ticker 32s linear infinite;
  white-space: nowrap;
}

.ticker-track span:nth-child(2n) {
  color: rgba(103, 232, 249, 0.35);
}

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

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  line-height: 0;
  pointer-events: none;
}

.hero-wave svg {
  width: 100%;
  height: 100px;
}

.wave-back { fill: rgba(14, 165, 233, 0.08); }
.wave-front { fill: #f8fafc; }

.wave-front {
  animation: wave-move 8s ease-in-out infinite alternate;
}

@keyframes wave-move {
  0% { d: path("M0,80 C240,40 480,100 720,56 C960,12 1200,88 1440,64 L1440,120 L0,120 Z"); }
  100% { d: path("M0,72 C240,56 480,88 720,72 C960,40 1200,96 1440,72 L1440,120 L0,120 Z"); }
}

.scroll-cue {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  z-index: 2;
  animation: fade-bounce 2.5s ease infinite;
}

.scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(45deg);
  margin-top: 2px;
}

@keyframes fade-bounce {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(6px); }
}

/* Stats strip */
.stats-strip {
  position: relative;
  z-index: 2;
  background: #f8fafc;
  color: var(--text-dark);
  padding: 2.5rem 0;
  margin-top: -1px;
}

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

.stat-card {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.12);
}

.stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
  color: var(--blue);
}

.stat-icon svg {
  opacity: 0.85;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
}

.stat-card span {
  font-size: 0.78rem;
  color: #64748b;
}

/* Sections */
.section-dark {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, var(--bg-deep) 12%, var(--bg-void) 100%);
  color: var(--text);
}

.section-light {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
  background: #f1f5f9;
  color: var(--text-dark);
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.65rem;
}

.eyebrow-light { color: var(--cyan-bright); }

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-dark .section-head h2 { color: #fff; }

.text-glow {
  color: var(--cyan-bright);
  text-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}

.text-gradient {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section-light .section-lead { color: #64748b; }

/* Pureza bento */
.bento-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1.25rem;
}

.glass-card {
  position: relative;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.4s, box-shadow 0.4s;
}

.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(103, 232, 249, 0.35);
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.12);
}

.card-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(34, 211, 238, 0.5), transparent, rgba(14, 165, 233, 0.4), transparent);
  background-size: 300% 300%;
  animation: border-spin 8s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.glass-card:hover .card-border { opacity: 1; }

@keyframes border-spin {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.bento-main {
  grid-row: span 1;
}

.mini-metrics {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mini-m {
  flex: 1;
  text-align: center;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.mini-m-val {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cyan-bright);
}

.mini-m-lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.card-icon {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  color: var(--cyan);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -30%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.15), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.glass-card:hover .card-glow { opacity: 1; }

.glass-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

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

.metric-ring {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1rem;
}

.metric-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 6;
}

.ring-fill {
  fill: none;
  stroke: url(#ringGrad);
  stroke: var(--cyan);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1.8s var(--ease-out);
}

.glass-card.visible .ring-fill,
.ring-fill.animated {
  stroke-dashoffset: calc(327 - (327 * var(--pct, 92) / 100));
}

.metric-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--cyan-bright);
}

.check-list {
  list-style: none;
  margin-top: 1rem;
}

.check-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.link-arrow {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--cyan-bright);
  transition: gap 0.2s;
}

.link-arrow:hover { color: #fff; }

/* Process */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-line {
  position: absolute;
  top: 2.25rem;
  left: 12%;
  right: 12%;
  height: 3px;
  background: #cbd5e1;
  border-radius: 999px;
  overflow: hidden;
}

.process-line-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  border-radius: inherit;
  transition: width 1.2s var(--ease-out);
}

.process-line-fill.filled { width: 100%; }

.step {
  position: relative;
  z-index: 1;
}

.step-icon {
  display: flex;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.65rem;
  color: var(--blue);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.step:hover .step-num {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.45);
}

.step-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.step-body p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}

/* CTA */
.section-cta {
  padding: 4rem 0 5rem;
}

.cta-box {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  padding: 3rem 2.5rem;
  color: #fff;
  border: 1px solid var(--glass-border);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--bg-deep), var(--blue-deep)),
    radial-gradient(circle at 80% 20%, rgba(34, 211, 238, 0.25), transparent 50%);
  animation: cta-pulse 8s ease infinite alternate;
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(103, 232, 249, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

@keyframes cta-pulse {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.15); }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Contact */
.contact-layout .section-head { margin-bottom: 2rem; }

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

.contact-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 12px 32px rgba(14, 165, 233, 0.15);
}

.contact-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-bottom: 0.35rem;
}

.contact-card strong {
  display: block;
  font-size: 1.05rem;
  color: var(--blue-deep);
  margin-bottom: 0.25rem;
}

.contact-hint {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0;
  background: var(--bg-void);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-note { opacity: 0.7; }

/* —— Planta —— */
.planta-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.spec-block {
  position: relative;
  padding: 1.25rem 1rem;
  text-align: center;
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.spec-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.08), transparent);
  pointer-events: none;
}

.spec-block:hover {
  transform: translateY(-4px);
  border-color: rgba(103, 232, 249, 0.4);
}

.spec-block--accent {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.15);
}

.spec-block-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--cyan-bright);
  line-height: 1.1;
}

.spec-block-unit {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.spec-block-lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.35;
}

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

.pillar-card {
  min-height: 100%;
}

.pillar-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.pillar-badge--active {
  color: var(--cyan-bright);
  border-color: var(--glass-border);
  background: rgba(34, 211, 238, 0.1);
}

/* —— Historia / timeline —— */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 0;
}

.timeline-line {
  position: absolute;
  left: 5.5rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #cbd5e1;
  border-radius: 999px;
  overflow: hidden;
}

.timeline-line-fill {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
  border-radius: inherit;
  transition: height 1.4s var(--ease-out);
}

.timeline-line-fill.filled {
  height: 100%;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-deep);
  text-align: right;
}

.timeline-card {
  padding: 1.35rem 1.5rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.08);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.timeline-card:hover {
  transform: translateX(6px);
  border-color: var(--blue);
  box-shadow: 0 12px 36px rgba(14, 165, 233, 0.14);
}

.timeline-card--highlight {
  border-color: rgba(14, 165, 233, 0.35);
  background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
}

.timeline-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.45rem;
}

.timeline-card p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
}

/* —— Visión —— */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.vision-card {
  text-align: center;
}

.vision-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cyan-bright);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.08);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.2);
}

.vision-note {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(103, 232, 249, 0.25);
  background: rgba(0, 0, 0, 0.2);
}

.ejes-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.eje {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  min-width: 8rem;
  text-align: center;
  transition: border-color 0.25s;
}

.eje:hover {
  border-color: rgba(103, 232, 249, 0.45);
}

.eje-k {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.eje-v {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
}

/* Reveal: visible por defecto; animación solo con JS */
.reveal {
  opacity: 1;
  transform: none;
}

html.js-enhanced .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(28px);
}

html.js-enhanced .reveal.visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal[data-delay="1"].visible { transition-delay: 0.15s; }

/* Hero siempre visible al cargar */
.hero .reveal {
  opacity: 1;
  transform: none;
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  .hero-visual {
    min-height: 320px;
    margin-top: 1rem;
  }

  .hud-panel {
    right: 50%;
    transform: translateX(50%);
    bottom: 0;
  }

  .bento-grid,
  .process-track,
  .contact-cards,
  .stats-grid,
  .planta-specs,
  .pillars-grid,
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .process-line,
  .timeline-line { display: none; }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .timeline-year {
    justify-content: flex-start;
    text-align: left;
    color: var(--blue);
  }

  .nav-desktop,
  .nav-cta { display: none; }

  .menu-toggle { display: flex; }
}

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .cta-box { padding: 2rem 1.5rem; }
  .float-tag { display: none; }
  .tech-ticker { margin-top: 0; }
}

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