﻿:root {
  --bg: #050816;
  --bg-strong: #030513;
  --panel: #0b1024;
  --panel-soft: #0f152d;
  --surface: #0b1022;
  --surface-2: #0f182f;

  --cyan: #38bdf8;
  --blue: #2563eb;
  --magenta: #f472b6;
  --lime: #bef264;
  --orange: #fb923c;

  --text-main: #f8fafc;
  --text-soft: #e5e7eb;
  --text-muted: #9ca3af;

  --border: rgba(148, 163, 184, 0.4);
  --border-strong: rgba(56, 189, 248, 0.85);

  --radius: 18px;
  --radius-lg: 28px;

  --shadow: 0 28px 70px rgba(5, 8, 22, 0.85);
  --btn-gradient: linear-gradient(120deg, #b7ff4f, #22d3ee, #f472b6);
  --btn-text: #0b1022;
}

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

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

html {
  font-size: 16px;
}

body {
  font-family: "Dosis", sans-serif;
  background: radial-gradient(circle at top left, #0f172a 0%, #050816 40%, #020617 100%);
  color: var(--text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

p {
  text-align: justify;
  text-justify: inter-word;
}

main {
  padding-bottom: 4rem;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(5, 8, 22, 0.95), rgba(5, 8, 22, 0.85), transparent);
  border-bottom: 1px solid rgba(56, 189, 248, 0.45);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.6rem 0;
  flex-wrap: wrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.38rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.4rem;
}

.brand-mark {
  height: 104px;
  width: auto;
  transform: translate(10px, 4px);
}

.nav-wordmark {
  display: inline-block;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.005em;
  white-space: nowrap;
  line-height: 1.06;
  font-size: 41.25px;
  font-weight: 700;
  position: relative;
}

.nav-wordmark .base {
  display: block;
  background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 55%, #fb7185 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-wordmark .shine {
  position: absolute;
  inset: 0;
  display: block;
  color: transparent;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, 0.92) 50%,
    rgba(255, 255, 255, 0) 66%,
    rgba(255, 255, 255, 0) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  mix-blend-mode: screen;
  background-size: 240% 100%;
  animation: bsShineMove131 8s linear infinite;
  pointer-events: none;
  filter: blur(0);
}

@keyframes bsShineMove131 {
  0% { background-position: 240% 0; }
  37.5% { background-position: -40% 0; }
  100% { background-position: -40% 0; }
}

.nav-links {
  display: flex;
  gap: 1.38rem;
  font-size: 1.02rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  row-gap: 0.45rem;
}

.nav-links a {
  position: relative;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  overflow: hidden;
  isolation: isolate;
  transition: color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--btn-gradient);
  transform: translateY(100%);
  transition: transform 0.28s ease;
  z-index: -1;
}

.nav-links a:hover {
  color: var(--btn-text);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.45);
}

.nav-links a:hover::before {
  transform: translateY(0);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.lang-flag {
  position: relative;
  border: 1px solid var(--border);
  background: rgba(5, 8, 22, 0.9);
  width: 19px;
  height: 13px;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lang-flag:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

.lang-flag.active {
  box-shadow: 0 14px 32px rgba(56, 189, 248, 0.4);
  border-color: var(--border-strong);
}

.flag-es {
  background: linear-gradient(to bottom, #c8102e 0%, #c8102e 33%, #f1bf00 33%, #f1bf00 66%, #c8102e 66%, #c8102e 100%);
}

.flag-us {
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0%,
    #b22234 10%,
    #ffffff 10%,
    #ffffff 20%
  );
}

.flag-us::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48%;
  height: 56%;
  background: radial-gradient(circle at 30% 30%, #e5e7eb 9%, transparent 10%) repeat;
  background-size: 10px 10px;
  background-position: 2px 2px;
  background-color: #3c3b6e;
  border-radius: 4px 0 4px 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lang-code {
  position: absolute;
  right: -1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #e5e7eb;
  font-size: 10px;
  letter-spacing: 0.02em;
  line-height: 1;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.6rem 1.55rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--btn-gradient);
  background-size: 200% 200%;
  animation: btn-flow 3.2s ease-in-out infinite;
  color: var(--btn-text);
  box-shadow: 0 22px 60px rgba(34, 211, 238, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 80px rgba(34, 211, 238, 0.7);
}

.btn-outline {
  background: var(--btn-gradient);
  background-size: 200% 200%;
  animation: btn-flow 3.2s ease-in-out infinite;
  border-color: transparent;
  color: var(--btn-text);
  box-shadow: 0 22px 60px rgba(34, 211, 238, 0.45);
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 80px rgba(34, 211, 238, 0.7);
}

@keyframes btn-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes btn-sway-x {
  0% { left: -8px; }
  50% { left: 8px; }
  100% { left: -8px; }
}

/* HERO */

.hero {
  position: relative;
  padding: 2.4rem 0 3.4rem;
  overflow: hidden;
}

.hero,
.section {
  scroll-margin-top: 110px;
}

.hero-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.9;
  pointer-events: none;
  z-index: -1;
}

.hero-blob-1 {
  width: 520px;
  height: 520px;
  top: -200px;
  right: -130px;
  background:
    radial-gradient(circle at 30% 0, rgba(56, 189, 248, 0.25), transparent),
    radial-gradient(circle at 70% 80%, rgba(244, 114, 182, 0.2), transparent);
}

.hero-blob-2 {
  width: 420px;
  height: 420px;
  bottom: -180px;
  left: -120px;
  background:
    radial-gradient(circle at 20% 20%, rgba(190, 242, 100, 0.2), transparent),
    radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.22), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: flex-start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 1.05;
  font-weight: 700;
}

.hero-title .accent {
  background: linear-gradient(120deg, var(--lime), var(--cyan), var(--magenta));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.hero-subtitle {
  margin: 0;
  max-width: 38rem;
  color: var(--text-soft);
  font-size: 1.02rem;
}

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

.hero-panel {
  background: radial-gradient(circle at top left, #050816, #050816 45%, #0c132d 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(56, 189, 248, 0.8);
  box-shadow: var(--shadow);
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero-panel-header h2 {
  margin: 0.4rem 0 0.3rem;
  font-size: 1.22rem;
}

.hero-panel-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero-bullets {
  margin: 0.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-soft);
}

.hero-bullets li::before {
  content: "*";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan);
  font-weight: 700;
}

.hero-panel-footnote {
  color: var(--text-muted);
  font-size: 0.86rem;
  margin: 0;
}

/* SECTION BASE */

.section {
  padding: 3rem 0 2.4rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
}

.gradient-text {
  background: linear-gradient(120deg, var(--lime), var(--cyan), var(--blue), var(--magenta), var(--orange), var(--lime));
  background-size: 220% 220%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.kicker-strong {
  color: var(--text-main);
}

.section-description {
  margin: 0;
  max-width: 42rem;
  color: var(--text-soft);
}

.section-about {
  background: radial-gradient(circle at top, #050816 0, #050816 40%, #020617 100%);
}

.section-loop {
  background: linear-gradient(120deg, #050816, #050816 60%, #080f26);
}

.section-portfolio {
  background: #050816;
}

.section-vmv {
  background: radial-gradient(circle at top right, #0a1230 0, #050816 50%, #050816 100%);
}

.section-contact {
  background: radial-gradient(circle at bottom, #0c142f 0, #050816 60%, #050816 100%);
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.about-card {
  background: rgba(5, 8, 22, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.75);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: var(--shadow);
  color: var(--text-soft);
}

.about-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

/* LOOP */

:root {
  --blue: #2563eb;
  --cyan: #22d3ee;
  --orange: #fb923c;
}

.loop-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.8rem;
  align-items: center;
}

.loop-diagram {
  position: relative;
  width: min(380px, 90vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 20% 20%, rgba(190, 242, 100, 0.35), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(56, 189, 248, 0.35), transparent 50%),
    radial-gradient(circle at 65% 80%, rgba(244, 114, 182, 0.32), transparent 55%),
    linear-gradient(145deg, #0b1024 0%, #1d4ed8 35%, #22d3ee 60%, #f472b6 85%, #0b1024 100%);
  box-shadow:
    inset 0 10px 20px rgba(255, 255, 255, 0.35),
    0 18px 40px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.32),
    0 0 28px rgba(56, 189, 248, 0.35),
    0 0 42px rgba(244, 114, 182, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
  overflow: hidden;
  isolation: isolate;
}
.loop-diagram::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: conic-gradient(
    from 120deg,
    rgba(190, 242, 100, 0.22),
    rgba(56, 189, 248, 0.22),
    rgba(37, 99, 235, 0.2),
    rgba(244, 114, 182, 0.2),
    rgba(190, 242, 100, 0.22)
  );
  filter: blur(16px);
  opacity: 0.6;
  z-index: 0;
}

.loop-node {
  position: absolute;
  padding: 0.6rem 0.9rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--loop-node-from, #0ea5e9), var(--loop-node-to, #312e81));
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  font-family: "Dosis", sans-serif;
  font-weight: 700;
  color: #f8fafc;
  z-index: 2;
}
.loop-node-12 { --loop-node-from: #0ea5e9; --loop-node-to: #6366f1; top: 11.125%; left: 37%;   transform: translate(-50%, -50%); }
.loop-node-3  { --loop-node-from: #a855f7; --loop-node-to: #ec4899; top: 43%;   left: 64%; transform: translate(-50%, -50%); }
.loop-node-6  { --loop-node-from: #16a34a; --loop-node-to: #22c55e; top: 75.6%; left: 36.5%; transform: translate(-50%, -50%); }
.loop-node-9  { --loop-node-from: #ef4444; --loop-node-to: #b91c1c; top: 43%;   left: 5%;  transform: translate(-50%, -50%); }

.loop-node.is-active {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.85) inset;
}

.loop-hidden { opacity: 0; pointer-events: none; }
.loop-anim-rotate { animation: loopRotateIn 0.9s ease forwards; }
.loop-anim-blur   { animation: loopBlurIn 1s ease forwards; }

@keyframes loopRotateIn { 0% { opacity: 0; transform: rotate(-6deg) scale(0.9); } 100% { opacity: 1; transform: rotate(0deg) scale(1); } }
@keyframes loopBlurIn   { 0% { opacity: 0; filter: blur(10px); transform: translateY(16px); } 100% { opacity: 1; filter: blur(0); transform: translateY(0); } }

.loop-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.loop-ring  { stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; fill: none; }
.loop-base  { stroke: rgba(148, 163, 184, 0.28); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.loop-done  { stroke: url(#loop-violet); stroke-width: 5; fill: none; stroke-linecap: round; stroke-linejoin: round; filter: url(#loop-glow); opacity: 0.95; }
.loop-active{
  fill: none;
  stroke: url(#loop-neon);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    url(#loop-glow)
    drop-shadow(0 0 12px rgba(251, 191, 36, 0.85))
    drop-shadow(0 0 18px rgba(56, 189, 248, 0.65));
}
.loop-dot   { filter: url(#loop-dot-glow); opacity: 0.9; transform-box: fill-box; transform-origin: center; animation: loopDotPulse 1.8s ease-in-out infinite; }
@keyframes loopDotPulse { 0% { transform: scale(1); opacity: 0.85; } 50% { transform: scale(1.3); opacity: 1; } 100% { transform: scale(1); opacity: 0.9; } }

.loop-center {
  position: absolute;
  inset: 3%;
  display: grid;
  place-items: center;
  gap: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--orange));
  color: #f8fafc;
  font-family: "Dosis", sans-serif;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.42) inset;
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 3;
  pointer-events: none;
}
.loop-center.show { opacity: 1; pointer-events: auto; }

.loop-center-text { font-size: 4rem; line-height: 1.08; text-align: center; transform: translateY(60px); }
.loop-center-cta {
  border: 1px solid transparent;
  background: var(--btn-gradient);
  background-size: 200% 200%;
  animation: btn-flow 6s ease-in-out infinite;
  color: var(--btn-text);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.loop-center-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(34, 211, 238, 0.45), 0 0 24px rgba(244, 114, 182, 0.35);
}

.loop-replay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(6px);
  display: inline-grid;
  gap: 0.05rem;
  padding: 0.44rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(11, 16, 36, 0.5);
  color: var(--text-main);
  font-family: "Dosis", sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 6;
  text-transform: uppercase;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.loop-replay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--btn-gradient);
  transform: translateY(100%);
  transition: transform 0.28s ease;
  z-index: -1;
}
.loop-replay.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateY(0);
}
.loop-replay:hover {
  color: var(--btn-text);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.4);
}
.loop-replay:hover::before {
  transform: translateY(0);
}

.loop-mini-cards {
  position: relative;
  z-index: 4;
  display: grid;
  gap: 0.9rem;
}
.mini-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--mini-grad-a, #0f172a), var(--mini-grad-b, #111827));
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.2);
  align-items: center;
  color: #f8fafc;
}
.mini-card h3 { margin: 0 0 0.25rem; font-family: "Dosis", sans-serif; color: #f8fafc; font-size: 1.15rem; }
.mini-card:hover h3 {
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.7), 0 0 40px rgba(56, 189, 248, 0.5);
}
.mini-card p  { margin: 0; font-size: 0.95rem; color: #f8fafc; }
.mini-chip {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.6rem;
  border: none;
  padding: 0;
  transform: none;
  box-shadow: none;
}
.loop-mini-cards .mini-card:nth-child(1) { --mini-grad-a: #0ea5e9; --mini-grad-b: #6366f1; }
.loop-mini-cards .mini-card:nth-child(2) { --mini-grad-a: #a855f7; --mini-grad-b: #ec4899; }
.loop-mini-cards .mini-card:nth-child(3) { --mini-grad-a: #16a34a; --mini-grad-b: #22c55e; }
.loop-mini-cards .mini-card:nth-child(4) { --mini-grad-a: #ef4444; --mini-grad-b: #b91c1c; }
.mini-card-kill { border-color: rgba(239, 68, 68, 0.7); box-shadow: 0 14px 32px rgba(239, 68, 68, 0.28); }

@media (max-width: 640px) {
  .loop-layout { grid-template-columns: 1fr; }
  .loop-diagram { width: 260px; }
  .loop-node-3 { left: 59%; }
}/* PORTFOLIO */

.hero-orbit {
  position: relative;
  width: min(340px, 90vw);
  height: min(340px, 90vw);
  border-radius: 999px;
  --orbit-radius-outer: 118px;
  --orbit-radius-inner: 98px;
  margin: 0 0 2rem 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.35), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(14, 165, 233, 0.32), transparent 55%),
    radial-gradient(circle at 40% 80%, rgba(251, 146, 60, 0.22), transparent 60%),
    #050816;
  box-shadow: 0 26px 60px rgba(5, 8, 22, 0.9), 0 0 0 1px rgba(24, 49, 83, 0.5);
}

.orbit-layout {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.orbit-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--btn-gradient);
  background-size: 200% 200%;
  animation: none;
  border: 1px solid transparent;
  color: var(--btn-text);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 20px 40px rgba(5, 8, 22, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  align-self: center;
  margin-left: 0;
  position: relative;
}

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

.orbit-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 26px 60px rgba(5, 8, 22, 0.95), 0 0 0 1px rgba(34, 211, 238, 0.35);
}

.orbit-core {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: rgba(5, 8, 22, 0.9);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.orbit-core-logo {
  height: 64px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}

.orbit-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.32);
  pointer-events: none;
  animation: orbit-ring 12s linear infinite;
}

.orbit-ring-outermost {
  inset: 6%;
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.35), transparent 60%);
}

.orbit-ring-outer {
  inset: 18%;
  background: radial-gradient(circle at 0 0, rgba(14, 165, 233, 0.2), transparent 60%);
  animation-duration: 9s;
}

.orbit-ring-inner {
  inset: 30%;
  background: radial-gradient(circle at 100% 100%, rgba(165, 180, 252, 0.4), transparent 55%);
  animation-duration: 6s;
  animation-direction: reverse;
}

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 0;
  cursor: default;
  transform-origin: center;
}

.orbit-node:hover {
  transform: translateY(-2px) scale(1.02);
}

.orbit-logo {
  display: block;
  height: 50px;
  width: auto;
}

.orbit-node-2 .orbit-logo {
  height: 36px;
}

.orbit-node-1 {
  animation: orbit-spin-inner-1 10s linear infinite;
}

.orbit-node-2 {
  animation: orbit-spin-outer-1 7.5s linear infinite;
}

.orbit-node-3 {
  animation: orbit-spin-inner-2 12.5s linear infinite;
}

.orbit-node-4 {
  animation: orbit-spin-outer-2 7.5s linear infinite;
}

.orbit-node-5 {
  animation: orbit-spin-inner-3 12.5s linear infinite;
}

@keyframes orbit-ring {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-spin-inner-1 {
  0% {
    transform: rotate(0deg) translateX(var(--orbit-radius-inner)) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translateX(var(--orbit-radius-inner)) rotate(-360deg);
  }
}

@keyframes orbit-spin-inner-2 {
  0% {
    transform: rotate(140deg) translateX(var(--orbit-radius-inner)) rotate(-140deg);
  }
  100% {
    transform: rotate(500deg) translateX(var(--orbit-radius-inner)) rotate(-500deg);
  }
}

@keyframes orbit-spin-inner-3 {
  0% {
    transform: rotate(280deg) translateX(var(--orbit-radius-inner)) rotate(-280deg);
  }
  100% {
    transform: rotate(640deg) translateX(var(--orbit-radius-inner)) rotate(-640deg);
  }
}

@keyframes orbit-spin-outer-1 {
  0% {
    transform: rotate(72deg) translateX(var(--orbit-radius-outer)) rotate(-72deg);
  }
  100% {
    transform: rotate(432deg) translateX(var(--orbit-radius-outer)) rotate(-432deg);
  }
}

@keyframes orbit-spin-outer-2 {
  0% {
    transform: rotate(216deg) translateX(var(--orbit-radius-outer)) rotate(-216deg);
  }
  100% {
    transform: rotate(576deg) translateX(var(--orbit-radius-outer)) rotate(-576deg);
  }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}

.product-card {
  padding: 1.1rem 1.15rem 1.2rem;
  border-radius: 20px;
  background: rgba(5, 8, 22, 0.96);
  border: 1px solid rgba(56, 189, 248, 0.8);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 1);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: var(--text-soft);
}

.product-card-head {
  min-height: 62px;
  margin: -1.1rem -1.15rem 0.85rem;
  border-radius: 16px 16px 0 0;
  border: 1px solid rgba(56, 189, 248, 0.75);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.55rem 0.8rem;
  position: relative;
}

.bg-anim-gradient {
  background: linear-gradient(120deg, #1e293b, #2563eb, #22d3ee, #1e293b);
  background-size: 200% 200%;
  animation: gradient-flow 6s ease-in-out infinite;
}

.bg-anim-green {
  background: linear-gradient(120deg, #84ff4d, #22c55e, #16a34a, #84ff4d);
  background-size: 220% 220%;
  animation: gradient-flow 6s ease-in-out infinite;
  border-color: #84ff4d;
}

.product-card-selexia {
  border-color: #84ff4d;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 1), 0 0 0 1px rgba(132, 255, 77, 0.2);
}

.product-head-logo {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  position: absolute;
  left: 0.8rem;
}

.product-head-name {
  flex: 1;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #f8fafc;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.55);
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 32px 90px rgba(15, 23, 42, 1);
  border-color: var(--border-strong);
}

.product-card-next {
  border-style: dashed;
  border-color: rgba(148, 163, 184, 0.85);
}

.product-icon {
  height: 56px;
  display: flex;
  align-items: center;
}

.product-icon img {
  max-height: 56px;
  width: auto;
}

.product-body h3 {
  margin: 0 0 0.2rem;
  font-size: 1.02rem;
  color: var(--text-main);
}

.product-line {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* VMV */

.vmv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: 1.3rem;
}

.vmv-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.vmv-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.3rem;
}
.vmv-footer .btn {
  transform: translateY(0) scale(1);
  animation: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}
.vmv-footer .btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 26px 60px rgba(5, 8, 22, 0.95), 0 0 0 1px rgba(34, 211, 238, 0.35);
}


.vmv-card {
  background: rgba(5, 8, 22, 0.96);
  border: 1px solid rgba(129, 140, 248, 0.9);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.25rem;
  box-shadow: 0 24px 65px rgba(15, 23, 42, 0.98);
  color: var(--text-soft);
}

.vmv-card h3 {
  margin: 0 0 0.35rem;
}

.vmv-card:not(.vmv-values) p {
  font-size: 1.02rem;
}

.vmv-values ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.05fr);
  gap: 1.8rem;
  align-items: start;
}

.contact-points {
  margin: 1rem 0 0.6rem;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.contact-points li {
  margin-bottom: 0.3rem;
}

.contact-form {
  background: rgba(5, 8, 22, 0.96);
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.85);
  box-shadow: 0 26px 75px rgba(15, 23, 42, 0.98);
  padding: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

label {
  font-size: 0.84rem;
  color: var(--text-muted);
}

input,
select,
textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.98);
  background: rgba(5, 8, 22, 0.98);
  color: var(--text-soft);
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

input::placeholder,
textarea::placeholder {
  color: #6b7280;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(56, 189, 248, 0.95);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.7);
  background: rgba(5, 8, 22, 1);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(56, 189, 248, 0.6);
  padding: 1.4rem 0 1.7rem;
  background: rgba(5, 8, 22, 0.98);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
  align-items: start;
}

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

.footer-brand-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo {
  height: 84px;
  width: auto;
  flex-shrink: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.footer-line {
  margin: 0;
  white-space: normal;
}

.footer-contact .footer-line:last-child {
  white-space: nowrap;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.16s ease, text-decoration-color 0.16s ease;
}

.footer-contact a:hover {
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-color: var(--cyan);
}

.footer-col-links {
  align-items: flex-end;
}

.footer-links {
  display: flex;
  gap: 0.9rem;
  font-size: 0.78rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .brand-mark {
    height: 88px;
  }

  .nav-links {
    font-size: 0.96rem;
  }

  .nav-links a {
    padding: 0.3rem 0.75rem;
  }

  .lang-switch {
    gap: 1rem;
  }

  .hero-grid,
  .loop-layout,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    margin-top: 1.5rem;
  }

  .products-grid,
  .vmv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 780px) {
  .site-header {
    margin-bottom: 0.9rem;
  }

  .nav-links {
    display: none;
  }

  .nav {
    padding: 0.35rem 0;
    justify-content: flex-start;
    align-items: stretch;
    position: relative;
  }

  .brand-mark {
    height: 76px;
    transform: translate(10px, -2px);
  }

  .brand {
    align-self: center;
    gap: 0.6rem;
  }

  .nav-actions {
    margin-left: auto;
    flex-direction: column;
    align-items: flex-end;
    align-self: stretch;
    height: 100%;
    gap: 0.25rem;
    padding-bottom: 0;
  }

  .lang-switch {
    gap: 1.5rem;
    margin-top: 0;
    align-self: flex-start;
    margin-right: 1.9rem;
  }

  .lang-code {
    display: block;
  }

  .nav-dropdown {
    display: block;
    margin: 0;
    position: absolute;
    right: 0.6rem;
    bottom: 0.2rem;
  }

  .nav-dropdown summary {
    list-style: none;
    cursor: pointer;
  }

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

  .nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 32px;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.7);
    background: linear-gradient(135deg, #22d3ee 0%, #a78bfa 55%, #fb7185 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 26px rgba(168, 85, 247, 0.35);
  }

  .nav-toggle-lines {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
  }

  .nav-toggle-line {
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    display: block;
  }

  .nav-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    min-width: 200px;
    padding: 0.55rem;
    background: rgba(5, 8, 22, 0.98);
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(5, 8, 22, 0.8);
    display: none;
    gap: 0.15rem;
    z-index: 20;
  }

  .nav-dropdown[open] .nav-dropdown-menu {
    display: grid;
  }

  .nav-dropdown-menu a {
    color: #f8fafc;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.4rem 0.65rem;
    border-radius: 10px;
  }

  .nav-dropdown-menu a:hover {
    background: rgba(148, 163, 184, 0.18);
  }

  .loop-center-cta,
  .loop-replay {
    display: none;
  }

  .loop-center {
    display: none;
  }

  .loop-anim-rotate {
    animation-duration: 0.45s;
  }

  .loop-anim-blur {
    animation-duration: 0.5s;
  }

  .nav-wordmark {
    display: inline-block;
    font-size: clamp(20px, 5vw, 28px);
  }

  .loop-mini-cards .mini-card {
    opacity: 1;
    transform: none;
    filter: none;
    pointer-events: auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .loop-mini-cards .mini-card.loop-hidden {
    opacity: 1;
    pointer-events: auto;
  }

  .loop-mini-cards .mini-card.loop-anim-blur {
    animation: none;
  }

  .loop-mini-cards .mini-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.75);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.55);
  }

  .hero {
    padding-top: 3.2rem;
  }

  .hero-panel {
    max-width: 100%;
    width: 100%;
  }

  .products-grid,
  .about-grid,
  .vmv-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-col-links {
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .site-footer {
    font-size: 0.82rem;
  }

  .orbit-layout {
    justify-content: center;
  }

  .orbit-cta {
    align-self: center;
  }

  .loop-node-12 {
    left: 34.5%;
    top: 10.625%;
  }

  .loop-node-3 {
    padding: 0.5rem 0.7rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .loop-node-6 {
    left: 32.5%;
  }

  .loop-center-text {
    transform: translateY(-80%);
    text-align: center;
  }

  .loop-node {
    padding: 0.5rem 0.7rem;
    font-size: 0.82rem;
  }

  .loop-replay {
    min-height: 22px;
    font-size: 0.58rem;
    padding: 0.3rem 0.55rem;
    top: 35%;
  }
}

@media (max-width: 720px) {
  p {
    text-align: left;
    text-justify: auto;
  }

  .hero-title .accent {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-orbit {
    width: 280px;
    height: 280px;
    --orbit-radius-outer: 96px;
    --orbit-radius-inner: 82px;
    margin: 0 auto 2rem;
  }

  .loop-diagram {
    width: 260px;
  }

  .loop-node-3 {
    left: 59%;
  }

  .loop-center-text {
    font-size: 3rem;
    transform: translateY(40px);
  }

  .orbit-core-logo {
    height: 52px;
  }

  .product-head-logo {
    height: 34px;
    left: 0.6rem;
  }

  .footer-contact .footer-line:last-child {
    white-space: normal;
  }
}

@media (max-width: 430px) and (min-width: 391px) {
  .hero-orbit {
    width: 300px;
    height: 300px;
    --orbit-radius-outer: 104px;
    --orbit-radius-inner: 88px;
  }

  .loop-diagram {
    width: 300px;
  }

  .product-head-name {
    font-size: 0.98rem;
  }
}

@media (max-width: 390px) and (min-width: 376px) {
  .hero-orbit {
    width: 290px;
    height: 290px;
    --orbit-radius-outer: 100px;
    --orbit-radius-inner: 86px;
  }

  .loop-diagram {
    width: 290px;
  }

  .product-head-name {
    font-size: 0.94rem;
  }
}

@media (max-width: 375px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .hero-orbit {
    width: 260px;
    height: 260px;
    --orbit-radius-outer: 90px;
    --orbit-radius-inner: 78px;
  }

  .loop-diagram {
    width: 260px;
  }

  .product-head-logo {
    height: 30px;
    left: 0.5rem;
  }

  .product-head-name {
    font-size: 0.9rem;
  }
}

@media (min-width: 781px) {
  .nav-dropdown {
    display: none;
  }
}

@media (min-width: 1024px) {
  .orbit-cta {
    align-self: flex-start;
    margin-left: 2.5rem;
  }
}
