@import url(
  "https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap"
);


/* ==========================================================
   VARIABLES
========================================================== */

:root {
  --bg: #020817;
  --bg-soft: #020b25;
  --bg-card: #06112b;

  --blue: #2e9bff;
  --cyan: #7bdcff;
  --purple: #8b5cff;

  --text: #ffffff;
  --muted: #b8c7e8;

  --border: rgba(46, 155, 255, 0.3);
  --border-strong: rgba(123, 220, 255, 0.68);

  --shadow-blue: rgba(46, 155, 255, 0.22);
}


/* ==========================================================
   RESET
========================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  overflow-x: hidden;

  font-family: "Inter", sans-serif;

  color: var(--text);
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}


/* ==========================================================
   HERO
========================================================== */

.hero {
  min-height: 100vh;

  padding: 28px 64px;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(2, 8, 23, 0.99) 0%,
      rgba(2, 8, 23, 0.88) 34%,
      rgba(2, 8, 23, 0.2) 72%
    ),
    url("../assets/images/hero-bg.png");

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}


/* ==========================================================
   NAVBAR
========================================================== */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-logo {
  color: var(--blue);

  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.brand-name {
  color: var(--text);

  font-size: 15px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;

  color: var(--muted);

  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;

  padding-bottom: 5px;

  transition: color 0.25s ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 2px;

  content: "";

  background: linear-gradient(
    90deg,
    var(--blue),
    var(--cyan)
  );

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}


/* ==========================================================
   HERO CONTENT
========================================================== */

.hero-content {
  display: flex;
  align-items: center;

  min-height: calc(100vh - 90px);
}

.hero-text {
  width: 100%;
  max-width: 760px;
}

.hero h1 {
  max-width: 760px;

  color: var(--cyan);

  font-size: clamp(46px, 5vw, 82px);
  line-height: 0.96;
  font-weight: 900;

  overflow-wrap: break-word;
}

.hero h1 span {
  display: block;

  margin-top: 28px;

  color: var(--blue);
}

.hero-tags {
  margin-top: 28px;

  color: #9fc8ff;

  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
}

.hero-description {
  max-width: 720px;

  margin-top: 42px;

  color: #f3f7ff;

  font-size: 22px;
  line-height: 1.7;
  font-weight: 800;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;

  margin-top: 58px;
}


/* ==========================================================
   BUTTONS
========================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 210px;

  padding: 18px 32px;

  border-radius: 12px;

  font-size: 15px;
  font-weight: 900;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.btn-primary {
  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #2e9bff,
      #27c3ff
    );

  box-shadow:
    0 0 24px rgba(46, 155, 255, 0.32);
}

.btn-secondary {
  color: var(--blue);

  border: 2px solid var(--blue);

  background:
    rgba(2, 8, 23, 0.38);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary:hover {
  box-shadow:
    0 0 34px rgba(46, 155, 255, 0.55);
}

.btn-secondary:hover {
  color: #ffffff;

  border-color: var(--cyan);

  background:
    rgba(46, 155, 255, 0.12);
}


/* ==========================================================
   PARTNERS
========================================================== */

.partners {
  width: 100%;
  max-width: 760px;

  margin-top: 70px;

  overflow: hidden;
}

.partners > p {
  margin-bottom: 26px;

  color: #9fc8ff;

  font-size: 13px;
  line-height: 1.4;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.partners-marquee {
  position: relative;

  width: 100%;

  padding: 14px 0;

  overflow: hidden;
}

.partners-marquee::before,
.partners-marquee::after {
  position: absolute;
  top: 0;
  z-index: 2;

  width: 72px;
  height: 100%;

  content: "";

  pointer-events: none;
}

.partners-marquee::before {
  left: 0;

  background:
    linear-gradient(
      90deg,
      rgba(2, 8, 23, 1),
      transparent
    );
}

.partners-marquee::after {
  right: 0;

  background:
    linear-gradient(
      270deg,
      rgba(2, 8, 23, 1),
      transparent
    );
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 54px;

  width: max-content;

  animation:
    partnerScroll 28s linear infinite;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

.partners-track img {
  width: auto;
  height: 52px;
  max-width: 170px;

  flex-shrink: 0;

  object-fit: contain;

  opacity: 0.9;

  filter:
    drop-shadow(
      0 0 10px rgba(46, 155, 255, 0.24)
    );

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    filter 0.3s ease;
}

.partners-track img:hover {
  opacity: 1;

  filter:
    drop-shadow(
      0 0 16px rgba(46, 155, 255, 0.68)
    );

  transform:
    translateY(-3px)
    scale(1.06);
}

@keyframes partnerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* ==========================================================
   GENERAL SECTIONS
========================================================== */

.section {
  padding: 110px 64px;

  background: var(--bg-soft);
}

.section-alt {
  background:
    radial-gradient(
      circle at top,
      #071a3f,
      #020817 55%
    );
}

.section-header {
  max-width: 980px;

  margin: 0 auto 70px;

  text-align: center;
}

.eyebrow {
  display: block;

  margin-bottom: 14px;

  color: var(--blue);

  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-header h2 {
  margin-bottom: 24px;

  color: var(--cyan);

  font-size: clamp(38px, 4vw, 62px);
  line-height: 1;
  font-weight: 900;
}

.section-header p {
  color: var(--muted);

  font-size: 18px;
  line-height: 1.7;
}


/* ==========================================================
   VISUAL SERVICES
========================================================== */

.services-section {
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(46, 155, 255, 0.1),
      transparent 36%
    ),
    #020b25;
}

.visual-services-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 30px;

  width:
    min(
      1640px,
      calc(100% - 48px)
    );

  margin: 0 auto;
}

.visual-service-card {
  position: relative;

  min-height: 440px;
  aspect-ratio: 1 / 1;

  overflow: hidden;

  isolation: isolate;

  border:
    1px solid rgba(46, 155, 255, 0.32);

  border-radius: 26px;

  background: var(--bg-card);

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.visual-service-card::before {
  position: absolute;
  inset: 0;
  z-index: 2;

  content: "";

  background:
    linear-gradient(
      180deg,
      rgba(2, 8, 23, 0.04) 0%,
      rgba(2, 8, 23, 0.2) 34%,
      rgba(2, 8, 23, 0.95) 100%
    );
}

.visual-service-card::after {
  position: absolute;
  inset: 0;
  z-index: 3;

  content: "";

  opacity: 0;

  background:
    radial-gradient(
      circle at 50% 75%,
      rgba(46, 155, 255, 0.24),
      transparent 50%
    );

  transition:
    opacity 0.35s ease;
}

.visual-service-card img {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.35s ease;
}

.visual-service-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;

  padding: 34px;

  transform: translateY(64px);

  transition:
    transform 0.38s ease;
}

.service-number {
  display: inline-flex;

  margin-bottom: 14px;

  color: var(--cyan);

  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.visual-service-content h3 {
  max-width: 94%;

  margin-bottom: 14px;

  color: #ffffff;

  font-size: 30px;
  line-height: 1.08;
  font-weight: 900;
}

.visual-service-content p {
  max-width: 96%;

  color: #c3d1ed;

  font-size: 16px;
  line-height: 1.65;

  opacity: 0;

  transform: translateY(14px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 22px;

  color: var(--cyan);

  font-size: 15px;
  font-weight: 900;

  opacity: 0;

  transform: translateY(14px);

  transition:
    opacity 0.3s ease 0.04s,
    transform 0.3s ease 0.04s,
    color 0.25s ease;
}

.service-link span {
  font-size: 19px;

  transition:
    transform 0.25s ease;
}

.service-link:hover {
  color: #ffffff;
}

.service-link:hover span {
  transform: translateX(5px);
}

.visual-service-card:hover {
  transform: translateY(-10px);

  border-color:
    rgba(123, 220, 255, 0.75);

  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.36),
    0 0 34px rgba(46, 155, 255, 0.22);
}

.visual-service-card:hover::after {
  opacity: 1;
}

.visual-service-card:hover img {
  transform: scale(1.08);

  filter:
    saturate(1.12)
    brightness(1.05);
}

.visual-service-card:hover .visual-service-content {
  transform: translateY(0);
}

.visual-service-card:hover .visual-service-content p,
.visual-service-card:hover .service-link {
  opacity: 1;

  transform: translateY(0);
}


/* ==========================================================
   SERVICE IMAGE POSITIONING
========================================================== */

.service-ai img {
  object-position: 68% center;
}

.service-cyber img {
  object-position: 63% center;
}

.service-cloud img {
  object-position: 67% center;
}

.service-development img {
  object-position: 71% center;
}

.service-security img {
  object-position: 68% center;
}

.service-automation img {
  object-position: 70% center;
}


/* ==========================================================
   VISUAL PROJECTS
========================================================== */

.projects-section {
  position: relative;

  overflow: hidden;
}

.projects-section::before {
  position: absolute;
  top: 5%;
  left: 50%;

  width: 900px;
  height: 900px;

  content: "";

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(46, 155, 255, 0.12),
      transparent 66%
    );

  transform: translateX(-50%);

  pointer-events: none;
}

.visual-projects-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 30px;

  width:
    min(
      1640px,
      calc(100% - 48px)
    );

  margin: 0 auto;
}

.visual-project-card {
  position: relative;

  min-height: 480px;
  aspect-ratio: 16 / 11;

  overflow: hidden;

  isolation: isolate;

  border:
    1px solid rgba(46, 155, 255, 0.34);

  border-radius: 26px;

  background: #031026;

  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.visual-project-card::after {
  position: absolute;
  inset: 0;
  z-index: 3;

  content: "";

  opacity: 0;

  background:
    radial-gradient(
      circle at 50% 70%,
      rgba(46, 155, 255, 0.25),
      transparent 52%
    );

  transition:
    opacity 0.35s ease;
}

.visual-project-card img {
  position: absolute;
  inset: 0;
  z-index: 1;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition:
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.35s ease;
}

.visual-project-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  background:
    linear-gradient(
      180deg,
      rgba(2, 8, 23, 0.06) 0%,
      rgba(2, 8, 23, 0.24) 38%,
      rgba(2, 8, 23, 0.98) 100%
    );
}

.visual-project-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4;

  padding: 34px;

  transform: translateY(110px);

  transition:
    transform 0.38s ease;
}

.project-category {
  display: inline-flex;

  margin-bottom: 13px;

  color: var(--cyan);

  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.visual-project-content h3 {
  max-width: 95%;

  margin-bottom: 14px;

  color: #ffffff;

  font-size: 28px;
  line-height: 1.1;
  font-weight: 900;
}

.visual-project-content p {
  max-width: 96%;

  color: #c3d1ed;

  font-size: 15px;
  line-height: 1.62;

  opacity: 0;

  transform: translateY(14px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.project-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: 18px;

  opacity: 0;

  transform: translateY(14px);

  transition:
    opacity 0.3s ease 0.03s,
    transform 0.3s ease 0.03s;
}

.project-technologies span {
  display: inline-flex;
  align-items: center;

  padding: 7px 11px;

  border:
    1px solid rgba(123, 220, 255, 0.25);

  border-radius: 999px;

  color: #bfeaff;

  background:
    rgba(46, 155, 255, 0.1);

  font-size: 11px;
  font-weight: 800;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-top: 20px;

  color: var(--cyan);

  font-size: 14px;
  font-weight: 900;

  opacity: 0;

  transform: translateY(14px);

  transition:
    opacity 0.3s ease 0.06s,
    transform 0.3s ease 0.06s,
    color 0.25s ease;
}

.project-link span {
  font-size: 19px;

  transition:
    transform 0.25s ease;
}

.project-link:hover {
  color: #ffffff;
}

.project-link:hover span {
  transform: translateX(5px);
}

.visual-project-card:hover {
  transform: translateY(-10px);

  border-color: var(--border-strong);

  box-shadow:
    0 28px 76px rgba(0, 0, 0, 0.4),
    0 0 34px rgba(46, 155, 255, 0.2);
}

.visual-project-card:hover::after {
  opacity: 1;
}

.visual-project-card:hover img {
  transform: scale(1.07);

  filter:
    saturate(1.1)
    brightness(1.04);
}

.visual-project-card:hover .visual-project-content {
  transform: translateY(0);
}

.visual-project-card:hover .visual-project-content p,
.visual-project-card:hover .project-technologies,
.visual-project-card:hover .project-link {
  opacity: 1;

  transform: translateY(0);
}


/* ==========================================================
   STATS / CONTADORES
========================================================== */

.stats {
  position: relative;

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;

  padding: 90px 64px;

  overflow: hidden;

  text-align: center;

  background:
    radial-gradient(
      circle at center,
      rgba(46, 155, 255, 0.08),
      transparent 52%
    ),
    #020817;
}

.stats::before {
  position: absolute;
  top: 50%;
  left: 50%;

  width: 900px;
  height: 300px;

  content: "";

  background:
    radial-gradient(
      ellipse,
      rgba(46, 155, 255, 0.08),
      transparent 68%
    );

  transform: translate(-50%, -50%);

  pointer-events: none;
}

.stat-item {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 130px;

  padding: 16px 24px;

  border-right:
    1px solid rgba(255, 255, 255, 0.11);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  display: block;

  min-height: 58px;

  color: var(--blue);

  font-size: clamp(40px, 3.4vw, 58px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;

  text-shadow:
    0 0 24px rgba(46, 155, 255, 0.22);

  font-variant-numeric: tabular-nums;

  transition:
    color 0.3s ease,
    text-shadow 0.3s ease,
    transform 0.3s ease;
}

.stat-item:hover .stat-number {
  color: var(--cyan);

  text-shadow:
    0 0 30px rgba(123, 220, 255, 0.38);

  transform: translateY(-4px);
}

.stat-item span {
  display: block;

  max-width: 190px;

  margin-top: 12px;

  color: var(--muted);

  font-size: 14px;
  line-height: 1.4;
  font-weight: 800;
}

.stat-static {
  letter-spacing: -3px;
}
/* ==========================================================
   FOOTER / CTA
========================================================== */

.footer {
  padding: 110px 64px;

  text-align: center;

  background:
    radial-gradient(
      circle at center,
      rgba(46, 155, 255, 0.18),
      transparent 45%
    ),
    #020817;
}

.footer h2 {
  margin-bottom: 18px;

  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.1;
  font-weight: 900;
}

.footer p {
  margin-bottom: 36px;

  color: var(--muted);

  font-size: 20px;
  line-height: 1.6;
}

/* ==========================================================
   PORTAFOLIO - ESCRITORIO GRANDE
========================================================== */

.visual-projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;

  width: 100%;
  max-width: 1680px;

  margin: 0 auto;
  padding: 0 24px;
}

.visual-project-card {
  width: 100%;
  min-width: 0;

  min-height: 0;
  aspect-ratio: 16 / 10;

  overflow: hidden;
}

.visual-project-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.visual-project-content {
  right: 0;
  left: 0;

  width: 100%;
  max-width: 100%;

  padding: 28px;

  overflow: hidden;
}

.visual-project-content h3 {
  width: 100%;
  max-width: 100%;

  font-size: clamp(22px, 1.55vw, 29px);
  line-height: 1.08;

  overflow-wrap: anywhere;
  word-break: normal;
}

.visual-project-content p {
  width: 100%;
  max-width: 100%;
}
/* ==========================================================
   LARGE LAPTOP
========================================================== */

@media (max-width: 1500px) {

  .visual-services-grid,
  .visual-projects-grid {
    width: min(1180px, calc(100% - 48px));
    max-width: 1180px;

    gap: 24px;
    padding: 0;

    margin: 0 auto;
  }

  .visual-service-card {
    min-height: 390px;
  }

  .visual-service-content h3 {
    font-size: 26px;
  }

  .visual-project-card {
    width: 100%;
    min-width: 0;

    min-height: 390px;
    aspect-ratio: 16 / 11;
  }

  .visual-project-content {
    width: 100%;
    max-width: 100%;

    padding: 28px;

    transform: translateY(105px);
  }

  .visual-project-content h3 {
    width: 100%;
    max-width: 100%;

    font-size: 25px;
    overflow-wrap: anywhere;
  }
}
/* ==========================================================
   TABLET
========================================================== */

@media (min-width: 721px) and (max-width: 1100px) {

  .hero {
    padding: 26px;
  }

  .nav-links {
    display: none;
  }

  .section {
    padding-left: 28px;
    padding-right: 28px;
  }

  .visual-services-grid,
  .visual-projects-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    width: 100%;
    max-width: 940px;

    gap: 28px;

    margin: 0 auto;
  }

  .visual-service-card {
    width: 100%;
    min-width: 0;
    min-height: 420px;

    aspect-ratio: auto;

    border-radius: 24px;
  }

  .visual-service-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;
  }

  .visual-service-content {
    padding: 28px;

    transform: translateY(54px);
  }

  .visual-service-content h3 {
    max-width: 100%;

    font-size: 25px;
    line-height: 1.08;
  }

  .visual-service-content p {
    font-size: 15px;
    line-height: 1.55;
  }

  .visual-project-card {
    width: 100%;
    min-width: 0;
    min-height: 430px;

    aspect-ratio: auto;

    border-radius: 24px;
  }

  .visual-project-content {
    padding: 28px;

    transform: translateY(96px);
  }

  .visual-project-content h3 {
    max-width: 100%;

    font-size: 25px;
  }

  .stats {
    grid-template-columns: 1fr;

    gap: 46px;
  }

  .stats div {
    padding-bottom: 32px;

    border-right: none;
    border-bottom:
      1px solid rgba(255, 255, 255, 0.1);
  }

  .stats div:last-child {
    padding-bottom: 0;

    border-bottom: none;
  }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 720px) {

  .hero {
    min-height: auto;

    padding: 22px;

    background:
      linear-gradient(
        180deg,
        rgba(2, 8, 23, 0.99),
        rgba(2, 8, 23, 0.92)
      ),
      url("../assets/images/hero-bg.png");

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .navbar {
    align-items: flex-start;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    font-size: 34px;
  }

  .brand-name {
    max-width: 230px;

    font-size: 14px;
  }

  .hero-content {
    min-height: auto;

    padding: 42px 0 20px;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;

    font-size: clamp(38px, 10.5vw, 48px);
    line-height: 1.05;

    overflow-wrap: break-word;
  }

  .hero h1 span {
    margin-top: 24px;
  }

  .hero-tags {
    margin-top: 28px;

    font-size: 14px;
    line-height: 1.55;
  }

  .hero-description {
    margin-top: 36px;

    font-size: 17px;
    line-height: 1.65;
  }

  .hero-buttons {
    width: 100%;

    flex-direction: column;
    gap: 22px;
  }

  .btn {
    width: 100%;
    min-width: 0;

    padding: 17px 20px;
  }

  .partners {
    width: 100%;
    max-width: 100%;

    margin-top: 58px;
  }

  .partners > p {
    font-size: 12px;
    line-height: 1.5;
  }

  .partners-track {
    gap: 38px;

    animation-duration: 22s;
  }

  .partners-track img {
    height: 40px;
    max-width: 132px;
  }

  .section {
    padding: 80px 22px;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .services-section,
  .projects-section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .section-header h2 {
    font-size: 42px;
    line-height: 1;
  }

  .section-header p {
    font-size: 17px;
    line-height: 1.7;
  }

  .visual-services-grid,
  .visual-projects-grid {
    grid-template-columns: 1fr;

    gap: 24px;

    width: 100%;
  }

  .visual-service-card {
    min-height: 410px;
    aspect-ratio: auto;

    border-radius: 22px;
  }

  .visual-service-card::before {
    background:
      linear-gradient(
        180deg,
        rgba(2, 8, 23, 0.08) 0%,
        rgba(2, 8, 23, 0.34) 42%,
        rgba(2, 8, 23, 0.98) 100%
      );
  }

  .visual-service-card img {
    transform: scale(1.02);
  }

  .visual-service-content {
    padding: 26px;

    transform: none;
  }

  .service-number {
    margin-bottom: 8px;
  }

  .visual-service-content h3 {
    max-width: 100%;

    margin-bottom: 12px;

    font-size: 27px;
    line-height: 1.08;
  }

  .visual-service-content p {
    max-width: 100%;

    font-size: 15px;
    line-height: 1.55;

    opacity: 1;

    transform: none;
  }

  .service-link {
    margin-top: 16px;

    opacity: 1;

    transform: none;
  }

  .visual-project-card {
    min-height: 440px;
    aspect-ratio: auto;

    border-radius: 22px;
  }

  .visual-project-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(2, 8, 23, 0.05) 0%,
        rgba(2, 8, 23, 0.38) 40%,
        rgba(2, 8, 23, 0.99) 100%
      );
  }

  .visual-project-card img {
    object-position: center;
  }

  .visual-project-content {
    padding: 26px;

    transform: none;
  }

  .project-category {
    margin-bottom: 9px;
  }

  .visual-project-content h3 {
    max-width: 100%;

    margin-bottom: 12px;

    font-size: 26px;
    line-height: 1.1;
  }

  .visual-project-content p {
    max-width: 100%;

    font-size: 15px;
    line-height: 1.55;

    opacity: 1;

    transform: none;
  }

  .project-technologies,
  .project-link {
    opacity: 1;

    transform: none;
  }

  .project-technologies {
    margin-top: 16px;
  }

  .project-link {
    margin-top: 18px;
  }

  .service-ai img {
    object-position: 70% center;
  }

  .service-cyber img {
    object-position: 67% center;
  }

  .service-cloud img {
    object-position: 70% center;
  }

  .service-development img {
    object-position: 73% center;
  }

  .service-security img {
    object-position: 70% center;
  }

  .service-automation img {
    object-position: 73% center;
  }

  .stats {
    padding: 70px 22px;
  }

  .stats strong {
    font-size: 46px;
  }

  .footer {
    padding: 90px 22px;
  }

  .footer p {
    font-size: 18px;
  }

}


/* ==========================================================
   REDUCED MOTION / ACCESSIBILITY
========================================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  .partners-track {
    animation-play-state: paused;
  }

  .visual-service-card,
  .visual-service-card img,
  .visual-service-content,
  .visual-service-content p,
  .service-link,
  .visual-project-card,
  .visual-project-card img,
  .visual-project-content,
  .visual-project-content p,
  .project-technologies,
  .project-link,
  .btn {
    transition: none;
  }

}


/* ==========================================================
   PORTAFOLIO CORPORATIVO SIN IMÁGENES
   Este bloque reemplaza visualmente el portafolio anterior
   sin modificar Hero, Partners ni Servicios.
========================================================== */

.projects-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(46, 155, 255, 0.10),
      transparent 38%
    ),
    #020817;
}

.projects-section::before {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 920px;
  height: 920px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(139, 92, 255, 0.08),
      transparent 67%
    );
  transform: translateX(-50%);
  pointer-events: none;
}

.projects-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;

  width: 100%;
  max-width: 1500px;

  margin: 0 auto;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;

  min-width: 0;
  min-height: 500px;

  padding: 36px;

  overflow: hidden;

  border: 1px solid rgba(46, 155, 255, 0.28);
  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(9, 27, 60, 0.94),
      rgba(4, 14, 35, 0.94)
    );

  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
}

.project-card::before {
  position: absolute;
  top: -130px;
  right: -130px;

  width: 280px;
  height: 280px;

  content: "";

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(46, 155, 255, 0.16),
      transparent 68%
    );

  pointer-events: none;
  transition: transform 0.4s ease;
}

.project-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 3px;

  content: "";

  opacity: 0;

  background:
    linear-gradient(
      90deg,
      transparent,
      var(--blue),
      var(--cyan),
      transparent
    );

  transition: opacity 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);

  border-color: rgba(123, 220, 255, 0.62);

  box-shadow:
    0 30px 78px rgba(0, 0, 0, 0.36),
    0 0 32px rgba(46, 155, 255, 0.15);
}

.project-card:hover::before {
  transform: scale(1.12);
}

.project-card:hover::after {
  opacity: 1;
}

.project-card-header {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  margin-bottom: 30px;
}

.project-number {
  color: rgba(123, 220, 255, 0.72);

  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;
}

.project-card .project-category {
  display: inline-flex;
  align-items: center;

  margin: 0;
  padding: 8px 12px;

  border: 1px solid rgba(123, 220, 255, 0.23);
  border-radius: 999px;

  color: #bfeaff;
  background: rgba(46, 155, 255, 0.08);

  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.project-card h3 {
  position: relative;
  z-index: 1;

  margin-bottom: 18px;

  color: #ffffff;

  font-size: clamp(25px, 1.7vw, 32px);
  line-height: 1.12;
  font-weight: 900;

  overflow-wrap: anywhere;
}

.project-card > p {
  position: relative;
  z-index: 1;

  margin-bottom: 26px;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.72;
}

.project-results {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;

  margin-bottom: 24px;
}

.project-results > div {
  min-width: 0;
  padding: 15px;

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.025);
}

.project-results strong {
  display: block;

  margin-bottom: 6px;

  color: #ffffff;

  font-size: 13px;
  line-height: 1.3;
  font-weight: 900;
}

.project-results span {
  display: block;

  color: #98add2;

  font-size: 12px;
  line-height: 1.45;
}

.project-card .project-technologies {
  position: relative;
  z-index: 1;

  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-top: auto;

  opacity: 1;
  transform: none;
}

.project-card .project-technologies span {
  display: inline-flex;
  align-items: center;

  padding: 7px 11px;

  border: 1px solid rgba(123, 220, 255, 0.22);
  border-radius: 999px;

  color: #bfeaff;
  background: rgba(46, 155, 255, 0.08);

  font-size: 11px;
  line-height: 1;
  font-weight: 800;
}

.project-card .project-link {
  position: relative;
  z-index: 1;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  width: fit-content;

  margin-top: 22px;

  color: var(--cyan);

  font-size: 14px;
  font-weight: 900;

  opacity: 1;
  transform: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.project-card .project-link span {
  font-size: 19px;
  transition: transform 0.25s ease;
}

.project-card .project-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.project-card .project-link:hover span {
  transform: translateX(5px);
}


/* ==========================================================
   CONFIANZA EMPRESARIAL
========================================================== */

.section-trust {
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 10%,
      rgba(46, 155, 255, 0.08),
      transparent 36%
    ),
    #020b25;
}

.section-trust::before {
  position: absolute;
  top: 12%;
  left: -180px;

  width: 520px;
  height: 520px;

  content: "";

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(139, 92, 255, 0.08),
      transparent 68%
    );

  pointer-events: none;
}

.trust-grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;

  width: 100%;
  max-width: 1240px;

  margin: 0 auto;
}

.trust-card {
  position: relative;

  min-width: 0;
  min-height: 320px;

  padding: 36px;

  overflow: hidden;

  border: 1px solid rgba(46, 155, 255, 0.25);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(8, 23, 52, 0.88),
      rgba(3, 13, 32, 0.88)
    );

  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.trust-card::after {
  position: absolute;
  right: -85px;
  bottom: -85px;

  width: 220px;
  height: 220px;

  content: "";

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(46, 155, 255, 0.12),
      transparent 70%
    );

  pointer-events: none;
}

.trust-card:hover {
  transform: translateY(-7px);

  border-color: rgba(123, 220, 255, 0.58);

  box-shadow:
    0 26px 66px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(46, 155, 255, 0.13);
}

.trust-icon {
  position: relative;
  z-index: 1;

  display: grid;
  place-items: center;

  width: 68px;
  height: 68px;

  margin-bottom: 24px;

  border: 1px solid rgba(123, 220, 255, 0.32);
  border-radius: 18px;

  color: var(--cyan);

  background:
    linear-gradient(
      145deg,
      rgba(46, 155, 255, 0.14),
      rgba(139, 92, 255, 0.08)
    );

  box-shadow:
    inset 0 0 22px rgba(46, 155, 255, 0.08),
    0 0 20px rgba(46, 155, 255, 0.08);
}

.trust-icon svg {
  width: 38px;
  height: 38px;

  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-number {
  position: absolute;
  top: 30px;
  right: 32px;

  color: rgba(123, 220, 255, 0.22);

  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;
}

.trust-card h3 {
  position: relative;
  z-index: 1;

  margin-bottom: 14px;

  color: #ffffff;

  font-size: 25px;
  line-height: 1.15;
  font-weight: 900;
}

.trust-card p {
  position: relative;
  z-index: 1;

  max-width: 92%;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.72;
}


/* ==========================================================
   RESPONSIVE NUEVAS SECCIONES
========================================================== */

@media (max-width: 1500px) {
  .projects-grid {
    max-width: 1180px;
    gap: 24px;
  }

  .project-card {
    min-height: 490px;
    padding: 30px;
  }

  .project-card h3 {
    font-size: 26px;
  }

  .trust-grid {
    max-width: 1040px;
    gap: 24px;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .projects-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 940px;
    gap: 24px;
  }

  .project-card {
    min-height: 500px;
  }

  .trust-card {
    min-height: 300px;
  }
}

@media (max-width: 720px) {
  .projects-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 22px;
  }

  .project-card {
    min-height: auto;
    padding: 27px;
    border-radius: 20px;
  }

  .project-card-header {
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .project-number {
    font-size: 36px;
  }

  .project-card .project-category {
    max-width: 62%;
    text-align: right;
    line-height: 1.25;
  }

  .project-card h3 {
    font-size: 25px;
  }

  .project-results {
    grid-template-columns: 1fr;
  }

  .trust-card {
    min-height: auto;
    padding: 28px;
    border-radius: 20px;
  }

  .trust-icon {
    width: 62px;
    height: 62px;
  }

  .trust-icon svg {
    width: 34px;
    height: 34px;
  }

  .trust-number {
    top: 28px;
    right: 28px;
    font-size: 36px;
  }

  .trust-card h3 {
    font-size: 23px;
  }

  .trust-card p {
    max-width: 100%;
  }
}
/* ==========================================================
   RESPONSIVE CONTADORES
========================================================== */

@media (max-width: 1200px) {

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;

    padding: 75px 32px;
  }

  .stat-item {
    border-right:
      1px solid rgba(255, 255, 255, 0.1);

    border-bottom:
      1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-item:nth-child(3n) {
    border-right: none;
  }

  .stat-item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}


@media (max-width: 720px) {

  .stats {
    grid-template-columns: 1fr;

    gap: 0;

    padding: 60px 22px;
  }

  .stat-item {
    min-height: 125px;

    padding: 28px 16px;

    border-right: none;
    border-bottom:
      1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-item:nth-child(3n) {
    border-right: none;
  }

  .stat-item:nth-last-child(-n + 2) {
    border-bottom:
      1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .stat-number {
    min-height: 50px;

    font-size: 48px;
  }

  .stat-item span {
    max-width: 100%;

    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-card::before,
  .project-card .project-link,
  .project-card .project-link span,
  .trust-card {
    transition: none;
  }
}
