:root {
  --bg: #07111f;
  --bg-2: #0b1728;
  --panel: #0e1d30;
  --panel-2: #11263b;
  --cyan: #2ec9dc;
  --cyan-2: #6ce2ee;
  --teal: #148da2;
  --ink: #0b1728;
  --text: #1d2a3d;
  --muted: #6d7b8f;
  --light: #edf4f7;
  --light-2: #e1ebef;
  --line: #d4e0e7;
  --white: #fff;
  --shadow: 0 24px 60px rgba(3, 14, 27, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section { padding: 110px 0; }

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 16px; top: 16px; z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7,17,31,.78);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  transition: .25s ease;
}

.site-header.scrolled {
  background: rgba(7,17,31,.94);
  box-shadow: 0 12px 34px rgba(0,0,0,.20);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  height: 56px;
  overflow: hidden;
}

.brand img {
  width: 170px;
  max-height: 50px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #c6d2dd;
  font-size: .9rem;
  font-weight: 700;
}

.nav-menu a {
  transition: color .2s ease;
}

.nav-menu a:hover,
.nav-menu a.active { color: #fff; }

.nav-contact {
  padding: 11px 17px;
  border-radius: 12px;
  background: rgba(46,201,220,.12);
  border: 1px solid rgba(108,226,238,.18);
  color: #8eeaf3 !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 900px;
  padding: 154px 0 100px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(46,201,220,.13), transparent 27%),
    radial-gradient(circle at 88% 22%, rgba(20,141,162,.18), transparent 24%),
    linear-gradient(135deg, #06101d 0%, #09192b 52%, #0c2234 100%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 88%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

.hero-glow-a {
  width: 400px; height: 400px;
  left: -160px; top: 180px;
  background: rgba(46,201,220,.07);
}

.hero-glow-b {
  width: 440px; height: 440px;
  right: -180px; bottom: -90px;
  background: rgba(46,201,220,.06);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .93fr 1.07fr;
  gap: 68px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #9eb3c5;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ec9dc;
  box-shadow: 0 0 0 5px rgba(46,201,220,.10);
}

.hero h1 {
  margin: 26px 0 0;
  max-width: 760px;
  color: #fff;
  font-size: clamp(3.4rem, 6vw, 6.4rem);
  line-height: .94;
  letter-spacing: -.068em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  color: var(--cyan-2);
}

.hero-description {
  max-width: 650px;
  margin: 26px 0 0;
  color: #aab9c7;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

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

.button.primary {
  background: linear-gradient(135deg, #1699ae, #2ec9dc);
  color: #fff;
  box-shadow: 0 14px 30px rgba(46,201,220,.18);
}

.button.secondary {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  color: #dce7ef;
}

.button.full { width: 100%; }

.hero-techline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: #8196a9;
  font-family: "JetBrains Mono", monospace;
  font-size: .7rem;
}

.hero-techline i {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #2ec9dc;
}

.hero-system {
  position: relative;
  min-height: 620px;
}

.system-shell {
  position: absolute;
  inset: 26px 16px 42px 22px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(8,18,31,.94);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 34px 90px rgba(0,0,0,.38);
  transform: perspective(1300px) rotateY(-5deg) rotateX(2deg);
}

.system-topbar {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px;
  background: rgba(255,255,255,.035);
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.system-brand img {
  width: 142px;
  max-height: 34px;
  object-fit: contain;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #83a1b7;
  font-family: "JetBrains Mono", monospace;
  font-size: .65rem;
}

.system-status span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2ccf91;
  box-shadow: 0 0 0 5px rgba(44,207,145,.10);
}

.system-canvas {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 390px;
}

.system-code {
  padding: 24px 18px;
  background: rgba(255,255,255,.018);
  border-right: 1px solid rgba(255,255,255,.06);
  font-family: "JetBrains Mono", monospace;
}

.code-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.code-title span {
  color: #c9d5de;
  font-size: .68rem;
}

.code-title small {
  color: #60788d;
  font-size: .6rem;
}

.code-row {
  display: flex;
  gap: 7px;
  margin-top: 14px;
  color: #9db0c1;
  font-size: .68rem;
  white-space: nowrap;
}

.code-row b {
  width: 20px;
  color: #526b80;
  font-weight: 500;
}

.code-blue { color: #7ca8ff; }
.code-cyan { color: #59dcea; }
.code-string { color: #8dd8a6; }

.architecture {
  position: relative;
  padding: 32px 22px;
}

.arch-node {
  position: absolute;
  width: 128px;
  padding: 14px;
  border-radius: 15px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(6px);
}

.arch-node small,
.arch-node strong { display: block; }

.arch-node small {
  color: #67899d;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.arch-node strong {
  margin-top: 4px;
  color: #edf6fb;
  font-size: .85rem;
}

.node-web { left: 22px; top: 48px; }
.node-api { right: 28px; top: 104px; }
.node-data { left: 52px; bottom: 88px; }
.node-cloud { right: 18px; bottom: 34px; }

.connector {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(46,201,220,.20), rgba(46,201,220,.75));
  transform-origin: left center;
}

.connector::after {
  content: "";
  position: absolute;
  right: -2px;
  top: -3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2ec9dc;
}

.connector-a { width: 92px; left: 120px; top: 115px; transform: rotate(18deg); }
.connector-b { width: 86px; right: 102px; top: 178px; transform: rotate(143deg); }
.connector-c { width: 92px; left: 126px; bottom: 86px; transform: rotate(13deg); }

.system-footer {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
}

.system-footer div {
  padding: 16px 18px;
}

.system-footer div + div {
  border-left: 1px solid rgba(255,255,255,.06);
}

.system-footer small,
.system-footer strong { display: block; }

.system-footer small {
  color: #647f93;
  font-size: .57rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.system-footer strong {
  margin-top: 4px;
  color: #e3edf4;
  font-size: .78rem;
}

.floating-badge {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow);
}

.floating-badge > span {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e7f9fb;
  color: #148da2;
  font-family: "JetBrains Mono", monospace;
  font-size: .75rem;
  font-weight: 800;
}

.floating-badge strong,
.floating-badge small { display: block; }

.floating-badge strong {
  color: #132238;
  font-size: .76rem;
}

.floating-badge small {
  margin-top: 2px;
  color: #8391a0;
  font-size: .61rem;
}

.badge-one { left: -10px; top: 110px; }
.badge-two { right: -8px; bottom: 72px; }

.proof {
  background: #0a1727;
  border-top: 1px solid rgba(255,255,255,.05);
}

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

.proof-grid > div {
  padding: 22px 24px;
}

.proof-grid > div + div {
  border-left: 1px solid rgba(255,255,255,.07);
}

.proof-grid small,
.proof-grid strong { display: block; }

.proof-grid small {
  color: #58778c;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .11em;
}

.proof-grid strong {
  margin-top: 4px;
  color: #dfeaf1;
  font-size: .88rem;
}

.section-intro {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.section-label {
  color: var(--teal);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.section-intro h2,
.company h2,
.contact h2 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.section-intro > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1rem;
}

.section-intro.light h2,
.contact h2 { color: #fff; }

.section-intro.light > p { color: #99acbc; }
.section-intro.light .section-label,
.contact .section-label { color: #70dbe7; }

.services {
  background:
    radial-gradient(circle at 8% 12%, rgba(46,201,220,.07), transparent 22%),
    linear-gradient(180deg, #edf4f7 0%, #e2ecef 100%);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 30px;
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid #d3e0e7;
  box-shadow: 0 10px 30px rgba(10,26,43,.04);
  transition: transform .22s ease, box-shadow .22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(10,26,43,.09);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #2ec9dc, rgba(46,201,220,0));
}

.service-index {
  position: absolute;
  right: 24px; top: 22px;
  color: #b4c3cd;
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
}

.service-symbol {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #0c192a;
  color: #6ce2ee;
  font-family: "JetBrains Mono", monospace;
  font-size: .78rem;
  font-weight: 700;
}

.service-card h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 1.28rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  max-width: 500px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.service-tags span {
  padding: 7px 9px;
  border-radius: 999px;
  background: #e6f2f5;
  color: #397489;
  font-size: .68rem;
  font-weight: 700;
}

.dark-section {
  background:
    radial-gradient(circle at 86% 10%, rgba(46,201,220,.08), transparent 24%),
    linear-gradient(135deg, #07111f 0%, #0a1b2d 100%);
  color: #fff;
}

.product-selector {
  display: grid;
  gap: 14px;
}

.product-tab {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  color: #fff;
  text-align: left;
}

.product-tab:hover,
.product-tab.active {
  border-color: rgba(108,226,238,.25);
  background: rgba(255,255,255,.06);
}

.product-icon-wrap {
  width: 70px; height: 70px;
  overflow: hidden;
  border-radius: 17px;
  background: #101c2b;
}

.product-icon-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.product-tab-copy small,
.product-tab-copy strong,
.product-tab-copy span { display: block; }

.product-tab-copy small {
  color: #5acbd8;
  font-size: .61rem;
  font-weight: 800;
  letter-spacing: .09em;
}

.product-tab-copy strong {
  margin-top: 3px;
  font-size: 1.24rem;
}

.product-tab-copy span {
  margin-top: 4px;
  color: #879eaf;
  font-size: .78rem;
}

.product-tab-arrow {
  color: #68dce8;
  font-size: 1.2rem;
}

.product-panel {
  display: none;
  grid-template-columns: .95fr 1.05fr;
  min-height: 560px;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 82% 14%, rgba(46,201,220,.10), transparent 24%),
    #0c1a2b;
  border: 1px solid rgba(255,255,255,.08);
}

.product-panel.open {
  display: grid;
}

.product-panel-copy {
  padding: 44px;
}

.product-logo {
  width: 250px;
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
}

.product-panel h3 {
  margin: 26px 0 0;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.04em;
}

.product-panel-copy > p {
  margin: 18px 0 0;
  color: #a1b2c0;
  max-width: 550px;
}

.product-feature-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  margin-top: 26px;
}

.product-feature-grid div {
  padding: 14px;
  border-radius: 13px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
}

.product-feature-grid strong,
.product-feature-grid span { display: block; }

.product-feature-grid strong {
  color: #eef7fb;
  font-size: .82rem;
}

.product-feature-grid span {
  margin-top: 4px;
  color: #7f96a8;
  font-size: .68rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.text-button {
  border: 0;
  background: transparent;
  color: #71899b;
  font-size: .72rem;
  font-weight: 700;
}

.product-preview {
  position: relative;
  display: grid;
  place-items: center;
  padding: 40px 34px;
}

.preview-window {
  width: min(520px, 100%);
  overflow: hidden;
  border-radius: 20px;
  background: #f6f9fb;
  box-shadow: 0 28px 68px rgba(0,0,0,.30);
  transform: perspective(1000px) rotateY(-5deg);
}

.preview-header {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid #e3e9ee;
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #142238;
  font-size: .78rem;
}

.preview-brand img {
  width: 28px; height: 28px;
  border-radius: 8px;
}

.online {
  padding: 5px 8px;
  border-radius: 999px;
  background: #e6f7ef;
  color: #1e9569;
  font-size: .58rem;
  font-weight: 800;
}

.preview-body {
  min-height: 330px;
  display: grid;
  grid-template-columns: 52px 1fr;
}

.preview-body aside {
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 18px 12px;
  background: #0d1625;
}

.preview-body aside i {
  width: 27px; height: 27px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
}

.preview-body aside i.active {
  background: #1ba9ba;
}

.dashboard {
  padding: 20px;
}

.dashboard-title small,
.dashboard-title strong { display: block; }

.dashboard-title small {
  color: #929daa;
  font-size: .58rem;
}

.dashboard-title strong {
  margin-top: 2px;
  color: #142238;
  font-size: 1rem;
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 9px;
  margin-top: 18px;
}

.kpis div {
  padding: 12px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #e4e9ee;
}

.kpis small,
.kpis strong { display: block; }

.kpis small {
  color: #919ca9;
  font-size: .55rem;
}

.kpis strong {
  margin-top: 5px;
  color: #132238;
  font-size: .9rem;
}

.graph {
  height: 145px;
  display: flex;
  align-items: end;
  gap: 7px;
  margin-top: 10px;
  padding: 16px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #e4e9ee;
}

.graph span {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #30cadb, #16899d);
}

.preview-note {
  position: absolute;
  right: 12px;
  bottom: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow);
}

.preview-note > span {
  width: 31px; height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e7f9fb;
  color: #148da2;
  font-weight: 800;
}

.preview-note strong,
.preview-note small { display: block; }

.preview-note strong {
  color: #152238;
  font-size: .7rem;
}

.preview-note small {
  margin-top: 2px;
  color: #8794a2;
  font-size: .57rem;
}

.coming-soon {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(255,255,255,.12);
  color: #fff;
}

.coming-soon > span {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(46,201,220,.10);
  color: #65dce8;
  font-size: 1.2rem;
}

.coming-soon strong,
.coming-soon p { display: block; }

.coming-soon strong { font-size: .82rem; }
.coming-soon p {
  margin: 3px 0 0;
  color: #71899a;
  font-size: .72rem;
}

.capabilities {
  background:
    radial-gradient(circle at 12% 10%, rgba(46,201,220,.07), transparent 22%),
    #eef4f7;
}

.capability-list {
  border-top: 1px solid #cbd9e0;
}

.capability-row {
  display: grid;
  grid-template-columns: 60px 260px 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 108px;
  padding: 18px 0;
  border-bottom: 1px solid #cbd9e0;
}

.cap-index {
  color: #87a1b0;
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
}

.capability-row strong {
  color: var(--ink);
  font-size: 1rem;
}

.capability-row p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.cap-tech {
  padding: 8px 10px;
  border-radius: 999px;
  background: #deedf1;
  color: #317386;
  font-size: .65rem;
  font-weight: 800;
}

.method {
  background: #dfe9ed;
}

.method-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 18px;
  padding-top: 28px;
}

.method-line {
  position: absolute;
  left: 8%; right: 8%; top: 48px;
  height: 1px;
  background: #b9cbd4;
}

.method-track article {
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

.method-track article > span {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0b1728;
  color: #6ce2ee;
  font-family: "JetBrains Mono", monospace;
  font-size: .68rem;
}

.method-track h3 {
  margin: 18px 0 7px;
  color: var(--ink);
  font-size: 1rem;
}

.method-track p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.company {
  background: #f3f7f9;
}

.company-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.company-copy > p {
  margin: 20px 0 0;
  color: var(--muted);
  max-width: 560px;
}

.company-actions { margin-top: 28px; }

.company-data {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
}

.company-data > div {
  padding: 22px;
  border-radius: 18px;
  background: #e9f0f4;
  border: 1px solid #d5e1e7;
}

.company-data .wide {
  grid-column: 1 / -1;
}

.company-data small,
.company-data strong { display: block; }

.company-data small {
  color: #7890a1;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.company-data strong {
  margin-top: 7px;
  color: var(--ink);
  font-size: .94rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.contact-copy > p {
  max-width: 560px;
  margin: 20px 0 0;
  color: #99adbc;
}

.contact-items {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-items a,
.contact-items > div {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.contact-items small,
.contact-items strong { display: block; }

.contact-items small {
  color: #5f7b8e;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-items strong {
  margin-top: 4px;
  color: #e4edf3;
  font-size: .92rem;
}

.contact-form {
  padding: 30px;
  border-radius: 22px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 30px 76px rgba(0,0,0,.24);
}

.form-title small,
.form-title strong { display: block; }

.form-title small {
  color: var(--teal);
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .10em;
}

.form-title strong {
  margin-top: 5px;
  color: var(--ink);
  font-size: 1.35rem;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  color: #526174;
  font-size: .75rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #d9e2e8;
  border-radius: 10px;
  outline: none;
  background: #f8fafb;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4dc7d6;
  box-shadow: 0 0 0 4px rgba(46,201,220,.10);
  background: #fff;
}

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

.contact-form button { margin-top: 18px; }

.form-note {
  margin: 9px 0 0;
  color: #8c98a5;
  font-size: .65rem;
  text-align: center;
}

.footer {
  padding: 34px 0 18px;
  background: #050c15;
  color: #73879a;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-main img {
  width: 150px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: #8ea0ae;
  font-size: .76rem;
  font-weight: 700;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 16px;
  font-size: .67rem;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1eaa61;
  color: #fff;
  box-shadow: 0 16px 34px rgba(30,170,97,.24);
  font-weight: 800;
}

.reveal { opacity: 1; transform: none; }
.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 1050px) {
  .hero-layout,
  .section-intro,
  .product-panel,
  .company-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-system { min-height: 590px; }
  .section-intro { gap: 22px; }
  .system-shell { inset: 20px 30px 50px; }
  .badge-one { left: 10px; }
  .badge-two { right: 10px; }
  .capability-row {
    grid-template-columns: 50px 230px 1fr;
  }
  .cap-tech { display: none; }
  .method-track { grid-template-columns: repeat(3,1fr); }
  .method-line { display: none; }
}

@media (max-width: 860px) {
  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(7,17,31,.98);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow);
  }

  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 10px 11px; }
  .nav-contact { text-align: center; }
  .menu-toggle { display: block; }

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

  .proof-grid > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.07);
  }

  .proof-grid > div:nth-child(4) {
    border-top: 1px solid rgba(255,255,255,.07);
  }

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

  .capability-row {
    grid-template-columns: 44px 1fr;
    gap: 12px 16px;
  }

  .capability-row p {
    grid-column: 2;
  }

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

  .company-data {
    grid-template-columns: 1fr;
  }

  .company-data .wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 78px 0; }

  .nav { height: 68px; }
  .brand { height: 48px; }
  .brand img { width: 148px; }

  .hero {
    min-height: auto;
    padding: 114px 0 68px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.3rem);
  }

  .hero-description { font-size: 1rem; }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-system {
    min-height: 500px;
    margin-top: 20px;
  }

  .system-shell {
    inset: 18px 0 42px;
    transform: none;
  }

  .system-topbar {
    height: 54px;
    padding: 0 13px;
  }

  .system-brand img { width: 118px; }
  .system-status { display: none; }

  .system-canvas {
    grid-template-columns: 1fr;
  }

  .system-code {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 18px 14px;
  }

  .code-row {
    font-size: .58rem;
    gap: 5px;
  }

  .architecture {
    min-height: 210px;
    padding: 18px 14px;
  }

  .arch-node {
    width: 105px;
    padding: 11px;
  }

  .node-web { left: 12px; top: 20px; }
  .node-api { right: 12px; top: 45px; }
  .node-data { left: 34px; bottom: 26px; }
  .node-cloud { right: 8px; bottom: 14px; }

  .connector-a { width: 66px; left: 90px; top: 64px; }
  .connector-b { width: 56px; right: 76px; top: 95px; }
  .connector-c { width: 64px; left: 97px; bottom: 55px; }

  .system-footer { display: none; }

  .floating-badge {
    display: none;
  }

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

  .proof-grid > div + div {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.07);
  }

  .product-tab {
    grid-template-columns: auto 1fr;
  }

  .product-tab-arrow { display: none; }

  .product-panel-copy {
    padding: 32px 22px;
  }

  .product-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-preview {
    padding: 10px 14px 40px;
  }

  .preview-window {
    transform: none;
  }

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

  .preview-note {
    right: 4px;
    bottom: 8px;
  }

  .method-track {
    grid-template-columns: 1fr;
  }

  .method-track article {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 14px;
  }

  .method-track h3 {
    margin-top: 0;
    align-self: center;
  }

  .method-track p {
    grid-column: 2;
  }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ==========================================================
   V7.1 - Lockup horizontal real de MCODE
   ========================================================== */

.brand-lockup {
  gap: 12px;
  height: auto;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.brand-copy small {
  margin-top: 4px;
  color: #6ce2ee;
  font-size: .72rem;
  font-weight: 600;
}

.system-brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.system-brand-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
}

.system-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.system-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.system-brand-copy strong {
  color: #eaf4fa;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.system-brand-copy small {
  margin-top: 3px;
  color: #6ce2ee;
  font-size: .55rem;
  font-weight: 600;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
}

.footer-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
}

.footer-brand-copy strong {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.footer-brand-copy small {
  margin-top: 4px;
  color: #6ce2ee;
  font-size: .68rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .brand-lockup {
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-copy strong {
    font-size: .94rem;
  }

  .brand-copy small {
    font-size: .62rem;
  }

  .footer-brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .footer-brand-copy strong {
    font-size: .92rem;
  }

  .footer-brand-copy small {
    font-size: .62rem;
  }
}


/* ==========================================================
   V7.2 - Corrección de identidad: MCode SAS + color oficial M
   ========================================================== */

/* En fondos oscuros el isotipo usa la versión oficial con pata izquierda blanca. */
.brand-mark img,
.system-brand-mark img,
.footer-brand-mark img {
  filter: none;
}

/* Casing exacto de marca. */
.brand-mcode,
.brand-sas {
  display: inline;
}

.brand-mcode {
  text-transform: none;
}

.brand-sas {
  text-transform: uppercase;
}

/* Mejorar legibilidad del isotipo horizontal en el header. */
.brand-mark {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.brand-mark img {
  object-fit: contain;
}

.brand-copy strong {
  font-size: 1.08rem;
  letter-spacing: .01em;
}

/* Mantener la misma identidad dentro del panel tecnológico. */
.system-brand-mark {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.system-brand-copy strong {
  letter-spacing: .01em;
}

/* Footer consistente con la misma M clara. */
.footer-brand-mark {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}


/* ==========================================================
   V7.3 - Botón flotante de WhatsApp con ícono enviado
   ========================================================== */

.whatsapp {
  overflow: hidden;
  padding: 0;
  background: transparent;
  box-shadow: 0 16px 34px rgba(30,170,97,.24);
}

.whatsapp img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}


/* ==========================================================
   V7.4 - WhatsApp premium + animación + presencia en contacto/footer
   ========================================================== */

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
  background: #ffffff;
  border: 2px solid rgba(255,255,255,.55);
  box-shadow:
    0 14px 28px rgba(0,0,0,.18),
    0 0 0 10px rgba(30,170,97,.10);
  animation: whatsapp-float 3.4s ease-in-out infinite;
  transition: transform .22s ease, box-shadow .22s ease;
}

.whatsapp::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(30,170,97,.22);
  animation: whatsapp-pulse 2.6s ease-out infinite;
}

.whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 22px 42px rgba(0,0,0,.22),
    0 0 0 12px rgba(30,170,97,.12);
}

.whatsapp img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

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

@keyframes whatsapp-pulse {
  0% {
    transform: scale(.92);
    opacity: .75;
  }
  70% {
    transform: scale(1.16);
    opacity: 0;
  }
  100% {
    transform: scale(1.16);
    opacity: 0;
  }
}

.contact-cta-row {
  margin-top: 26px;
}

.whatsapp-inline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #1699ae, #2ec9dc);
  color: #fff;
  box-shadow: 0 16px 30px rgba(46,201,220,.16);
}

.whatsapp-inline img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
  object-fit: cover;
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: #c9d7e1;
}

.footer-whatsapp:hover {
  color: #fff;
  background: rgba(255,255,255,.07);
}

.footer-whatsapp img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp,
  .whatsapp::before {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .whatsapp {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-inline {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================
   V7.5 - Header premium + hero animado + look SaaS premium
   ========================================================== */

:root {
  --header-bg: rgba(6, 15, 28, .70);
}

/* HEADER */
.site-header {
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(22px) saturate(150%);
}

.site-header.scrolled {
  background: rgba(6, 15, 28, .92);
  border-bottom-color: rgba(255,255,255,.10);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
}

.nav {
  height: 82px;
}

.nav-menu {
  gap: 12px;
  padding: 8px;
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
}

.nav-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #b8c9d5;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ffffff;
  background: rgba(255,255,255,.05);
}

.nav-contact {
  background: linear-gradient(135deg, rgba(46,201,220,.24), rgba(20,141,162,.18));
  border: 1px solid rgba(108,226,238,.20);
  color: #dffcff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(46,201,220,.08);
}

/* HERO / SaaS feel */
.hero {
  padding: 164px 0 106px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 34%, rgba(108,226,238,.08), transparent 18%),
    radial-gradient(circle at 20% 70%, rgba(46,201,220,.06), transparent 20%);
  pointer-events: none;
}

.hero-kicker {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.hero-description {
  max-width: 660px;
}

.hero-actions .button.primary {
  box-shadow: 0 16px 34px rgba(46,201,220,.22);
}

.hero-actions .button.secondary {
  backdrop-filter: blur(10px);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
  max-width: 760px;
}

.hero-trust > div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.hero-trust small,
.hero-trust strong {
  display: block;
}

.hero-trust small {
  color: #6f8aa0;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .09em;
}

.hero-trust strong {
  margin-top: 5px;
  color: #e6f3f8;
  font-size: .85rem;
  line-height: 1.35;
}

.hero-system {
  isolation: isolate;
}

.system-shell {
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 40px 120px rgba(0,0,0,.42),
    0 0 0 1px rgba(108,226,238,.04);
  animation: shellFloat 7s ease-in-out infinite;
}

.system-shell::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 40%;
  background: radial-gradient(circle, rgba(46,201,220,.12), transparent 65%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.floating-badge {
  backdrop-filter: blur(12px);
  animation: badgeFloat 5s ease-in-out infinite;
}

.badge-two {
  animation-delay: 1.2s;
}

.hero-glow-a {
  animation: glowDriftA 10s ease-in-out infinite;
}

.hero-glow-b {
  animation: glowDriftB 12s ease-in-out infinite;
}

.arch-node {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.connector::after {
  box-shadow: 0 0 0 8px rgba(46,201,220,.08);
}

/* Sections slightly more premium */
.proof {
  background:
    linear-gradient(180deg, #091320 0%, #0b1828 100%);
}

.service-card,
.company-data > div,
.contact-form,
.product-panel,
.product-tab {
  box-shadow: 0 14px 32px rgba(6, 18, 31, .06);
}

.service-card,
.company-data > div {
  backdrop-filter: blur(8px);
}

.service-card .service-symbol {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.contact-form {
  border: 1px solid rgba(255,255,255,.14);
}

/* WhatsApp CTA refinement */
.whatsapp-inline {
  box-shadow: 0 18px 36px rgba(46,201,220,.18);
}

.footer-whatsapp {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

/* Animations */
@keyframes shellFloat {
  0%, 100% { transform: perspective(1300px) rotateY(-5deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1300px) rotateY(-5deg) rotateX(2deg) translateY(-8px); }
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes glowDriftA {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(16px,-10px,0) scale(1.06); }
}

@keyframes glowDriftB {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-18px,12px,0) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .system-shell,
  .floating-badge,
  .hero-glow-a,
  .hero-glow-b {
    animation: none !important;
  }
}

@media (max-width: 1050px) {
  .hero-trust {
    grid-template-columns: 1fr;
    max-width: 540px;
  }
}

@media (max-width: 860px) {
  .nav {
    height: 74px;
  }

  .nav-menu {
    padding: 12px;
    border-radius: 16px;
    background: rgba(7,17,31,.98);
  }

  .nav-menu a {
    padding: 12px 12px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 118px 0 74px;
  }

  .hero-trust {
    gap: 10px;
  }

  .hero-trust > div {
    padding: 12px 14px;
  }

  .nav-menu {
    background: rgba(7,17,31,.98);
  }
}


/* ==========================================================
   V7.6 - Menú premium + pulido global
   ========================================================== */

/* ---------- HEADER / NAV ---------- */
.site-header {
  background: linear-gradient(180deg, rgba(6, 15, 28, .78), rgba(6, 15, 28, .64));
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.site-header.scrolled {
  background: rgba(6, 15, 28, .94);
  box-shadow: 0 16px 46px rgba(0,0,0,.28);
}

.nav {
  height: 84px;
  gap: 22px;
}

.brand-copy strong {
  font-size: 1.04rem;
}

.brand-copy small {
  font-size: .69rem;
}

.nav-menu-premium {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.nav-menu-premium a {
  position: relative;
  padding: 10px 12px;
  border-radius: 10px;
  color: #c5d4de;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.nav-menu-premium a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2ec9dc, #6ce2ee);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .24s ease;
}

.nav-menu-premium a:hover:not(.nav-contact),
.nav-menu-premium a.active:not(.nav-contact) {
  color: #ffffff;
  background: rgba(255,255,255,.03);
}

.nav-menu-premium a:hover:not(.nav-contact)::after,
.nav-menu-premium a.active:not(.nav-contact)::after {
  transform: scaleX(1);
}

.nav-menu-premium .nav-contact {
  margin-left: 12px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1c9bb0, #2ec9dc);
  border: 1px solid rgba(108,226,238,.24);
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(46,201,220,.18);
}

.nav-menu-premium .nav-contact:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #22a7bc, #40d5e6);
}

.menu-toggle span {
  border-radius: 999px;
}

/* ---------- HERO POLISH ---------- */
.hero {
  padding: 166px 0 108px;
}

.hero h1 {
  letter-spacing: -.072em;
}

.hero-description {
  max-width: 640px;
  color: #afbeca;
}

.hero-kicker {
  color: #a8bcc9;
  border-color: rgba(255,255,255,.09);
}

.hero-trust > div {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
}

.button {
  border-radius: 14px;
}

.button.primary {
  background: linear-gradient(135deg, #1a9eb3, #33d2e4);
}

.system-shell {
  border-radius: 32px;
}

.floating-badge {
  border-radius: 18px;
}

/* ---------- GLOBAL TYPOGRAPHY / SECTIONS ---------- */
.section {
  padding: 116px 0;
}

.section-intro {
  margin-bottom: 54px;
}

.section-intro h2,
.company h2,
.contact h2 {
  letter-spacing: -.055em;
}

.section-label {
  font-size: .7rem;
}

/* subtle section separation */
.services,
.capabilities,
.company {
  position: relative;
}

.services::before,
.capabilities::before,
.company::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(12,35,52,.08), transparent);
}

/* ---------- CARDS / GRID POLISH ---------- */
.service-card {
  min-height: 312px;
  border-radius: 24px;
  box-shadow: 0 14px 36px rgba(10,26,43,.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(10,26,43,.10);
}

.service-symbol {
  border-radius: 16px;
}

.product-tab {
  border-radius: 20px;
}

.product-panel {
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.preview-window {
  border-radius: 22px;
}

.preview-note {
  border-radius: 16px;
}

.capability-row {
  min-height: 118px;
}

.company-data > div {
  border-radius: 20px;
}

.contact-form {
  border-radius: 24px;
  padding: 34px;
}

/* ---------- COMMERCIAL IMPROVEMENTS ---------- */
.hero-actions .button.secondary {
  background: rgba(255,255,255,.06);
}

.form-title strong {
  font-size: 1.42rem;
}

.contact-items strong {
  font-size: .96rem;
}

.footer {
  padding-top: 40px;
}

.footer-main {
  padding-bottom: 26px;
}

.footer-links {
  gap: 14px;
}

.footer-links a {
  padding: 8px 0;
}

.footer-whatsapp {
  padding: 8px 11px;
}

/* ---------- MOBILE MENU ---------- */
@media (max-width: 860px) {
  .nav {
    height: 74px;
  }

  .nav-menu-premium {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(7,17,31,.98);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 18px 44px rgba(0,0,0,.30);
  }

  .nav-menu-premium.open {
    display: flex;
  }

  .nav-menu-premium a {
    padding: 12px 12px;
    border-radius: 12px;
  }

  .nav-menu-premium a:not(.nav-contact)::after {
    display: none;
  }

  .nav-menu-premium .nav-contact {
    margin-left: 0;
    margin-top: 4px;
    justify-content: center;
  }

  .section {
    padding: 94px 0;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 118px 0 74px;
  }

  .section {
    padding: 76px 0;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .brand-copy strong {
    font-size: .96rem;
  }

  .brand-copy small {
    font-size: .63rem;
  }
}


/* ==========================================================
   V7.7 - Corrección CTA del menú
   ========================================================== */

.nav-menu-premium .nav-contact {
  margin-left: 14px;
  min-height: 42px;
  padding: 0 15px;
  gap: 8px;
  border-radius: 11px;
  background: rgba(46,201,220,.10);
  border: 1px solid rgba(108,226,238,.20);
  color: #dffcff !important;
  box-shadow: none;
  font-size: .86rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-menu-premium .nav-contact span {
  color: #6ce2ee;
  transition: transform .2s ease;
}

.nav-menu-premium .nav-contact:hover {
  transform: translateY(-1px);
  background: rgba(46,201,220,.16);
  border-color: rgba(108,226,238,.32);
  box-shadow: 0 10px 24px rgba(46,201,220,.10);
}

.nav-menu-premium .nav-contact:hover span {
  transform: translateX(2px);
}

@media (max-width: 860px) {
  .nav-menu-premium .nav-contact {
    margin-left: 0;
    margin-top: 6px;
    min-height: 46px;
    justify-content: center;
    border-radius: 12px;
  }
}


/* ==========================================================
   V7.8 - Header refinado
   ========================================================== */

.nav {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 36px;
  height: 84px;
}

.nav-menu-premium {
  justify-self: end;
  align-items: center;
  gap: 14px;
}

.nav-menu-premium a {
  padding: 10px 8px;
  border-radius: 0;
  background: transparent !important;
}

.nav-menu-premium a:not(.nav-contact) {
  color: #c8d5df;
}

.nav-menu-premium a:not(.nav-contact):hover,
.nav-menu-premium a:not(.nav-contact).active {
  color: #ffffff;
  transform: none;
}

.nav-menu-premium a:not(.nav-contact)::after {
  left: 8px;
  right: 8px;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, #2ec9dc, #6ce2ee);
  opacity: 1;
}

.nav-menu-premium a:not(.nav-contact):hover::after {
  transform: scaleX(.72);
}

.nav-menu-premium a:not(.nav-contact).active::after {
  transform: scaleX(1);
}

.nav-menu-premium .nav-contact {
  margin-left: 18px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: rgba(46,201,220,.08) !important;
  border: 1px solid rgba(108,226,238,.16);
  color: #effdff !important;
  font-size: .83rem;
  box-shadow: none;
}

.nav-menu-premium .nav-contact:hover {
  background: rgba(46,201,220,.14) !important;
  border-color: rgba(108,226,238,.28);
  box-shadow: 0 8px 18px rgba(46,201,220,.08);
}

.nav-menu-premium .nav-contact span {
  color: #6ce2ee;
}

.site-header.scrolled .nav-menu-premium a:not(.nav-contact) {
  color: #d0dbe4;
}

.site-header.scrolled .nav-menu-premium a:not(.nav-contact):hover,
.site-header.scrolled .nav-menu-premium a:not(.nav-contact).active {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .nav {
    column-gap: 24px;
  }

  .nav-menu-premium {
    gap: 10px;
  }
}

@media (max-width: 860px) {
  .nav {
    display: flex;
    justify-content: space-between;
    height: 74px;
  }

  .nav-menu-premium {
    justify-self: auto;
    gap: 4px;
  }

  .nav-menu-premium a {
    padding: 12px 12px;
    border-radius: 12px;
  }

  .nav-menu-premium a:not(.nav-contact) {
    background: transparent !important;
  }

  .nav-menu-premium .nav-contact {
    margin-left: 0;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 12px;
  }
}


/* ==========================================================
   V7.8.1 - Corrección del CTA del header
   ========================================================== */

.nav-menu-premium .nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-left: 14px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(46,201,220,.06) !important;
  border: 1px solid rgba(108,226,238,.15);
  color: #eefbfd !important;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  box-shadow: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}

.nav-menu-premium .nav-contact span {
  display: inline-flex;
  align-items: center;
  color: #7be5ef;
  font-size: .86rem;
  line-height: 1;
  transition: transform .2s ease;
}

.nav-menu-premium .nav-contact:hover {
  transform: translateY(-1px);
  background: rgba(46,201,220,.10) !important;
  border-color: rgba(108,226,238,.24);
  box-shadow: 0 8px 18px rgba(46,201,220,.08);
}

.nav-menu-premium .nav-contact:hover span {
  transform: translateX(2px);
}

.site-header.scrolled .nav-menu-premium .nav-contact {
  background: rgba(46,201,220,.08) !important;
}

@media (max-width: 860px) {
  .nav-menu-premium .nav-contact {
    margin-left: 0;
    margin-top: 6px;
    min-height: 44px;
    width: 100%;
    padding: 0 14px;
    border-radius: 12px;
  }
}


/* ==========================================================
   V7.9 - Fondo con movimiento sutil
   ========================================================== */

/* HERO con una aurora suave y movimiento de la grilla */
.hero {
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -10% -10% -15% -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 26%, rgba(46,201,220,.14), transparent 22%),
    radial-gradient(circle at 78% 20%, rgba(108,226,238,.12), transparent 20%),
    radial-gradient(circle at 62% 72%, rgba(20,141,162,.10), transparent 24%);
  filter: blur(10px);
  opacity: .95;
  animation: heroAmbientShift 16s ease-in-out infinite alternate;
}

.hero-grid-pattern {
  animation: heroGridDrift 22s linear infinite;
}

/* Movimiento también en fondos oscuros para que toda la web se sienta viva */
.proof,
.dark-section,
.footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.proof::before,
.dark-section::before,
.footer::before {
  content: "";
  position: absolute;
  inset: auto -15% -30% -15%;
  height: 70%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 25% 40%, rgba(46,201,220,.08), transparent 24%),
    radial-gradient(circle at 80% 60%, rgba(108,226,238,.06), transparent 22%);
  filter: blur(22px);
  animation: sectionGlowMove 18s ease-in-out infinite alternate;
}

.proof > *,
.dark-section > *,
.footer > * {
  position: relative;
  z-index: 1;
}

/* Refuerzo muy sutil de brillo debajo del header */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(46,201,220,.45), transparent);
  opacity: .75;
}

/* Keyframes */
@keyframes heroAmbientShift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: .82;
  }
  50% {
    transform: translate3d(22px, -10px, 0) scale(1.04);
    opacity: 1;
  }
  100% {
    transform: translate3d(-18px, 18px, 0) scale(1.08);
    opacity: .88;
  }
}

@keyframes heroGridDrift {
  0% {
    transform: translate3d(0, 0, 0);
    background-position: 0 0, 0 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    background-position: 64px 32px, 32px 64px;
  }
}

@keyframes sectionGlowMove {
  0% {
    transform: translate3d(-18px, 0, 0) scale(1);
    opacity: .55;
  }
  50% {
    transform: translate3d(12px, -8px, 0) scale(1.05);
    opacity: .85;
  }
  100% {
    transform: translate3d(20px, 10px, 0) scale(1.08);
    opacity: .65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero-grid-pattern,
  .proof::before,
  .dark-section::before,
  .footer::before {
    animation: none !important;
  }
}


/* ==========================================================
   V7.9.1 - Corrección navegación logo -> inicio
   ========================================================== */

#inicio {
  scroll-margin-top: 84px;
}

.brand-lockup,
.footer-brand {
  cursor: pointer;
}


/* ==========================================================
   V8 - Pulido de modo móvil
   ========================================================== */

@media (max-width: 640px) {
  .site-header {
    backdrop-filter: blur(18px) saturate(140%);
  }

  .nav {
    height: 72px;
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .brand-copy strong {
    font-size: .92rem;
  }

  .brand-copy small {
    margin-top: 3px;
    font-size: .58rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
  }

  .menu-toggle span {
    width: 20px;
    margin: 2px 0;
  }

  .hero {
    padding: 102px 0 62px;
  }

  .hero-layout {
    gap: 28px;
  }

  .hero-kicker {
    font-size: .66rem;
    padding: 7px 10px;
  }

  .hero-description {
    font-size: .96rem;
    margin-top: 18px;
  }

  .hero-actions {
    margin-top: 24px;
    gap: 10px;
  }

  .hero-techline {
    margin-top: 20px;
    gap: 8px;
    font-size: .64rem;
  }

  .hero-system {
    min-height: auto;
    margin-top: 6px;
  }

  .system-shell {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
    border-radius: 24px;
    overflow: hidden;
  }

  .system-topbar {
    height: 52px;
    padding: 0 12px;
  }

  .system-brand-mark {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .system-brand-copy strong {
    font-size: .72rem;
  }

  .system-brand-copy small {
    font-size: .5rem;
  }

  .system-canvas {
    display: block;
    min-height: auto;
  }

  .system-code {
    padding: 16px 14px;
  }

  .code-title {
    padding-bottom: 12px;
  }

  .code-title span {
    font-size: .62rem;
  }

  .code-title small {
    font-size: .52rem;
  }

  .code-row {
    font-size: .56rem;
    gap: 4px;
    margin-top: 11px;
  }

  .architecture {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: auto;
    padding: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.00));
  }

  .arch-node {
    position: static;
    width: auto;
    min-height: 78px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.055);
  }

  .arch-node small {
    font-size: .5rem;
  }

  .arch-node strong {
    font-size: .8rem;
    margin-top: 5px;
  }

  .connector {
    display: none;
  }

  .system-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .system-footer div + div {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.06);
  }

  .proof {
    margin-top: 8px;
  }

  .proof-grid > div {
    padding: 18px 16px;
  }

  .section-intro {
    margin-bottom: 34px;
  }

  .section-intro h2,
  .company h2,
  .contact h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .product-panel {
    min-height: auto;
  }

  .product-panel h3 {
    font-size: clamp(1.55rem, 8vw, 2.1rem);
  }

  .product-logo {
    width: 200px;
    max-height: 62px;
  }

  .preview-note {
    right: 10px;
    left: 10px;
    bottom: 10px;
  }

  .whatsapp {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand-copy strong {
    font-size: .88rem;
  }

  .brand-copy small {
    font-size: .55rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 13vw, 3.3rem);
  }

  .hero-trust > div {
    padding: 12px 12px;
  }

  .hero-trust strong {
    font-size: .8rem;
  }

  .system-code {
    padding: 14px 12px;
  }

  .code-row {
    font-size: .52rem;
  }

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

  .arch-node {
    min-height: 70px;
  }

  .whatsapp {
    width: 52px;
    height: 52px;
    right: 12px;
    bottom: 12px;
  }
}
