:root {
  --bg: #14212d;
  --bg-soft: #1b2c3b;
  --panel: rgba(20, 33, 45, 0.8);
  --panel-strong: #223340;
  --text: #ffffff;
  --muted: #c3d2db;
  --line: rgba(255, 255, 255, 0.1);
  --primary: #49b9ac;
  --primary-deep: #127974;
  --accent: #6bd6ca;
  --neutral: #434b52;
  --danger: #ff8f8f;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --radius: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(73, 185, 172, 0.18), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(107, 214, 202, 0.16), transparent 24%),
    linear-gradient(180deg, #0f1822 0%, #14212d 38%, #1b2c3b 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 90%);
  opacity: 0.22;
  animation: driftGrid 22s linear infinite;
  pointer-events: none;
  z-index: 0;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 999;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #0d181d;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.24;
  pointer-events: none;
  z-index: 0;
}

.particle-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.page-glow-left {
  background: #49b9ac;
  top: 8%;
  left: -120px;
}

.page-glow-right {
  background: #6bd6ca;
  top: 45%;
  right: -140px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 0;
  backdrop-filter: blur(14px);
  background: rgba(5, 11, 21, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}


/* Logo de MayoSoft.
   Pon tu archivo en: img/logo-mayosoft.png
   Si no existe el archivo, se muestra la letra M como respaldo. */
.brand-mark.has-logo {
  position: relative;
  overflow: hidden;
}

.brand-logo-img {
  position: absolute;
  inset: 4px;
  z-index: 2;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: contain;
}

.brand-logo-letter {
  display: none;
  position: relative;
  z-index: 1;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #0d181d;
  box-shadow: 0 14px 30px rgba(73, 185, 172, 0.28);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav a,
.site-footer a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--primary);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    filter 180ms ease;
}

.nav-cta {
  min-height: 46px;
  padding: 0 20px;
  background: rgba(73, 185, 172, 0.12);
  border: 1px solid rgba(73, 185, 172, 0.28);
  font-weight: 700;
  white-space: nowrap;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(73, 185, 172, 0.18);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 6px auto;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  padding: 72px 0 48px;
  position: relative;
}

.hero-grid,
.company-grid,
.contact-shell,
.results-shell {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(73, 185, 172, 0.12);
  border: 1px solid rgba(73, 185, 172, 0.24);
  color: #dff8f4;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.65rem, 5.8vw, 5.35rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 62ch;
  margin: 24px 0 30px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.button {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-weight: 800;
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #0d181d;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(73, 185, 172, 0.2);
  color: var(--text);
}

.button-primary:hover {
  filter: saturate(1.1);
}

.button-secondary:hover {
  background: rgba(73, 185, 172, 0.12);
}

.button-full {
  width: 100%;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-points li,
.stack-list span,
.contact-benefits span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #dce8f5;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease;
}

.hero-points li:hover,
.stack-list span:hover,
.contact-benefits span:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 185, 172, 0.35);
  background: rgba(73, 185, 172, 0.14);
  color: #ffffff;
}

.hero-panel {
  display: grid;
  gap: 20px;
}

.hero-card,
.platform-card,
.service-card,
.problem-card,
.process-card,
.use-case-card,
.trust-card,
.company-notes article,
.contact-card,
.results-shell {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

.hero-card:hover,
.platform-card:hover,
.service-card:hover,
.problem-card:hover,
.process-card:hover,
.use-case-card:hover,
.trust-card:hover,
.company-notes article:hover,
.contact-card:hover,
.results-shell:hover {
  transform: translateY(-8px);
  border-color: rgba(73, 185, 172, 0.38);
  background: rgba(24, 42, 57, 0.92);
  box-shadow: 0 28px 80px rgba(8, 20, 28, 0.44);
}

.hero-card::before,
.platform-card::before,
.service-card::before,
.problem-card::before,
.process-card::before,
.use-case-card::before,
.trust-card::before,
.company-notes article::before,
.contact-card::before,
.results-shell::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(107, 214, 202, 0.22), transparent 28%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.hero-card:hover::before,
.platform-card:hover::before,
.service-card:hover::before,
.problem-card:hover::before,
.process-card:hover::before,
.use-case-card:hover::before,
.trust-card:hover::before,
.company-notes article:hover::before,
.contact-card:hover::before,
.results-shell:hover::before {
  opacity: 1;
}

.hero-card {
  padding: 28px;
}

.hero-card-main h2 {
  margin: 10px 0 24px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.card-label {
  color: #9de8df;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.metric-grid,
.services-grid,
.stats-grid {
  display: grid;
  gap: 18px;
}

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

.metric-grid article,
.stats-grid article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.metric-grid article:hover,
.stats-grid article:hover {
  transform: translateY(-6px) scale(1.01);
  background: linear-gradient(180deg, rgba(73, 185, 172, 0.16), rgba(255, 255, 255, 0.04));
  border-color: rgba(73, 185, 172, 0.34);
}

.metric-grid strong,
.stats-grid strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.metric-grid span,
.stats-grid span {
  color: #d9e8ef;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.platforms-grid,
.problems-grid,
.use-cases-grid,
.trust-grid {
  display: grid;
  gap: 18px;
}

.platforms-grid,
.problems-grid,
.trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.section {
  padding: 56px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(73, 185, 172, 0.05), rgba(255, 255, 255, 0));
}

.section-accent {
  background:
    radial-gradient(circle at 20% 20%, rgba(73, 185, 172, 0.22), transparent 24%),
    linear-gradient(180deg, rgba(20, 33, 45, 0.4), rgba(20, 33, 45, 0.1));
}

.clients-section {
  position: relative;
}

.clients-marquee {
  position: relative;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid rgba(73, 185, 172, 0.16);
  border-bottom: 1px solid rgba(73, 185, 172, 0.16);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: marqueeLoop 26s linear infinite;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

.clients-track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 72px;
  padding: 0 24px;
  border-radius: 22px;
  border: 1px solid rgba(73, 185, 172, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(73, 185, 172, 0.08));
  color: #f6fdfd;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 18px 36px rgba(5, 12, 18, 0.22);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.clients-track span:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(73, 185, 172, 0.24), rgba(107, 214, 202, 0.14));
  border-color: rgba(107, 214, 202, 0.32);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

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

.platform-card,
.service-card,
.trust-card {
  padding: 26px;
}

.platform-card i,
.service-icon,
.trust-card i {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(73, 185, 172, 0.26), rgba(107, 214, 202, 0.18));
  color: #eef8ff;
  font-size: 1.2rem;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.platform-card:hover i,
.service-card:hover .service-icon,
.trust-card:hover i {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #0f1822;
}

.service-card ul {
  padding-left: 18px;
  margin: 18px 0 0;
  color: #d7e4f3;
}

.platform-card:hover h3,
.service-card:hover h3,
.problem-card:hover h3,
.process-card:hover h3,
.use-case-card:hover h3,
.trust-card:hover h3,
.company-notes article:hover h3 {
  color: var(--accent);
}

.service-card li + li {
  margin-top: 10px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.process-card,
.problem-card,
.use-case-card {
  padding: 24px;
}

.problem-card i,
.use-case-top i {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(73, 185, 172, 0.24), rgba(255, 255, 255, 0.06));
  color: #ecfffd;
  font-size: 1.18rem;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.problem-card:hover i,
.use-case-card:hover .use-case-top i {
  transform: translateY(-4px) scale(1.08);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #14212d;
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #11202b;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.process-card:hover span {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 14px 28px rgba(73, 185, 172, 0.28);
}

.process-timeline {
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(73, 185, 172, 0), rgba(73, 185, 172, 0.34), rgba(73, 185, 172, 0));
  pointer-events: none;
}

.process-card small {
  display: block;
  margin-top: 14px;
  color: #9de8df;
  line-height: 1.5;
}

.use-case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.use-case-top span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(73, 185, 172, 0.22);
  background: rgba(73, 185, 172, 0.08);
  color: #dff8f4;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.results-shell {
  grid-template-columns: 0.95fr 1.05fr;
  padding: 28px;
}

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

.company-grid,
.contact-shell {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.company-notes {
  display: grid;
  gap: 18px;
}

.company-notes article {
  padding: 24px;
}

.company-note-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(73, 185, 172, 0.22), rgba(255, 255, 255, 0.08));
  color: #aef2e9;
  font-size: 1.1rem;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.company-notes article:hover .company-note-icon {
  transform: translateY(-4px) scale(1.08);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #14212d;
}

.contact-card {
  padding: 28px;
}

.contact-methods {
  display: grid;
  gap: 20px;
  margin-bottom: 26px;
}

.contact-item span {
  display: block;
  margin-bottom: 8px;
  color: #a7efe6;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
}

.contact-item a,
.contact-item p {
  margin: 0;
  color: var(--text);
  font-size: 1.06rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-item a {
  transition: color 220ms ease, transform 220ms ease;
}

.contact-item a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.contact-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-benefits i {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dff8f4;
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 14px 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(216, 232, 239, 0.55);
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 21px) calc(50% + 1px),
    calc(100% - 15px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.contact-form select option {
  color: #14212d;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: rgba(107, 214, 202, 0.65);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(73, 185, 172, 0.14);
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-note {
  margin: 0;
  color: rgba(195, 210, 219, 0.78);
  font-size: 0.86rem;
}

.site-footer {
  padding: 24px 0 40px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-shell p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.hero-copy,
.hero-panel {
  animation: floatIn 1s ease both;
}

.hero-panel {
  animation-delay: 120ms;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.22;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.32;
  }
}

.page-glow-left,
.page-glow-right {
  animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes driftGrid {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(56px, 56px, 0);
  }
}

@keyframes marqueeLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}


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

.project-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(107, 214, 202, 0.22), transparent 28%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(73, 185, 172, 0.38);
  background: rgba(24, 42, 57, 0.92);
  box-shadow: 0 28px 80px rgba(8, 20, 28, 0.44);
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover h3 {
  color: var(--accent);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.project-top i {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(73, 185, 172, 0.26), rgba(107, 214, 202, 0.18));
  color: #eef8ff;
  font-size: 1.18rem;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.project-card:hover .project-top i {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #0f1822;
}

.project-top span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(73, 185, 172, 0.22);
  background: rgba(73, 185, 172, 0.08);
  color: #dff8f4;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: right;
}

.project-highlight {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 0 16px 16px 0;
  background: rgba(73, 185, 172, 0.1);
  color: #e9fbf9;
  line-height: 1.6;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.project-tags span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #dce8f5;
  font-size: 0.84rem;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  .nav-cta {
    padding: 0 16px;
  }
}

@media (max-width: 1100px) {
  .platforms-grid,
  .services-grid,
  .trust-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 940px) {
  .menu-toggle {
    display: inline-block;
  }

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

  .site-header.is-open .nav-shell {
    flex-wrap: wrap;
  }

  .site-header.is-open .site-nav {
    display: grid;
    width: 100%;
    gap: 14px;
    padding-top: 12px;
  }

  .site-header.is-open .site-nav a {
    padding: 10px 0;
  }

  .site-header.is-open .nav-cta {
    display: inline-flex;
  }

  .hero-grid,
  .results-shell,
  .company-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 13ch;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

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

  .process-timeline::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero {
    padding-top: 48px;
  }

  .section {
    padding: 44px 0;
  }

  .platforms-grid,
  .services-grid,
  .problems-grid,
  .process-list,
  .use-cases-grid,
  .stats-grid,
  .metric-grid,
  .trust-grid,
  .projects-grid,
  .form-grid,
  .form-actions {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .hero-actions .button,
  .nav-cta {
    width: 100%;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-card,
  .hero-card,
  .results-shell {
    padding: 22px;
  }

  .clients-track span {
    min-width: 150px;
    min-height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .particle-canvas,
  .page-glow {
    display: none;
  }

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