/* Sata 0 Sistemas — tema claro, azules modernos (marino + cian + niebla) */
:root {
  --bg-deep: #e8f2fa;
  --bg: #f0f7fc;
  --surface: #ffffff;
  --surface-hover: #e3f0fa;
  --border: rgba(30, 100, 140, 0.14);
  --text: #0c2748;
  --muted: #5a7289;
  --accent: #0095d9;
  --accent-strong: #007eb8;
  --accent-deep: #006494;
  --accent-light: #3db8e8;
  --accent-sky: #b8e6fb;
  --accent-dim: rgba(0, 149, 217, 0.12);
  --accent-glow: rgba(0, 149, 217, 0.35);
  --navy-glow: rgba(40, 100, 140, 0.12);
  --gradient-hero: radial-gradient(ellipse 110% 80% at 50% -20%, rgba(0, 149, 217, 0.14), transparent 58%),
    radial-gradient(ellipse 85% 55% at 100% 35%, rgba(100, 180, 220, 0.18), transparent 50%),
    radial-gradient(ellipse 65% 45% at 0% 90%, rgba(184, 230, 251, 0.45), transparent 55%);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(15, 60, 100, 0.08);
  --shadow-accent: 0 10px 32px rgba(0, 130, 190, 0.22);
  --header-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee__track,
  .hero__glow,
  .hero__badge,
  .hero__grid,
  .hero__grid::before,
  .hero__grid::after {
    animation: none !important;
  }
  .hero__grid {
    transform: none !important;
  }
  .hero__grid::before {
    opacity: 0.55;
  }
  .hero__grid::after {
    opacity: 0;
  }
  .hero__digital::before {
    animation: none !important;
  }
  .nav-main {
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent-strong);
}

.container {
  width: min(1120px, calc(100% - clamp(1.25rem, 5vw, 2.5rem)));
  margin-inline: auto;
}

/* —— Top bar —— */
.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--muted);
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.topbar a {
  color: var(--muted);
}

.topbar a:hover {
  color: var(--accent);
}

.topbar__social {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* —— Header (fondo claro para que resalte el logo) —— */
.site-header {
  --header-nav: #0a2844;
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 55%, #eef6fc 100%);
  border-bottom: 1px solid rgba(30, 100, 140, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 4px 20px rgba(15, 60, 100, 0.04);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-main ul {
  display: flex;
  gap: 0.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-main a {
  position: relative;
  color: var(--header-nav, #0a2844);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.35rem 0;
}

.nav-main a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav-main a:hover::after,
.nav-main a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--accent-strong);
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  min-height: 44px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), filter 0.25s var(--ease);
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent) 45%, var(--accent-light));
  color: #ffffff;
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  color: #ffffff;
  filter: brightness(1.05);
  box-shadow: 0 14px 40px rgba(0, 130, 190, 0.35);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: rgba(0, 149, 217, 0.08);
  border-color: rgba(0, 149, 217, 0.35);
  color: var(--accent-strong);
}

.site-header .btn--ghost {
  color: var(--header-nav, #0a2844);
  border-color: rgba(10, 40, 68, 0.22);
}

.site-header .btn--ghost:hover {
  background: rgba(0, 149, 217, 0.12);
  border-color: var(--accent);
  color: var(--accent-deep);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.65rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-toggle:hover {
  border-color: rgba(0, 149, 217, 0.35);
  background: rgba(0, 149, 217, 0.06);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--header-nav, #0a2844);
  border-radius: 1px;
}

.site-header .nav-toggle {
  border-color: rgba(10, 40, 68, 0.22);
}

.site-header .nav-toggle:hover {
  background: rgba(0, 149, 217, 0.1);
  border-color: rgba(0, 149, 217, 0.32);
}

/* Fondo al abrir menú (controlado por JS) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(12, 45, 72, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
  pointer-events: none;
}

.nav-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-main a::after {
    display: none;
  }

  .site-header .nav-main a {
    color: var(--text);
  }

  .site-header .nav-main a:hover,
  .site-header .nav-main a[aria-current="page"] {
    color: var(--accent-strong);
  }

  .nav-main {
    position: fixed;
    inset: 0;
    top: calc(var(--header-h) + 36px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem max(1.5rem, env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
    border-top: 1px solid var(--border);
    box-shadow: -8px 0 40px var(--navy-glow);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 99;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-main.is-open {
    transform: translateX(0);
  }

  .nav-main ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav-main ul a {
    padding: 0.85rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(30, 100, 140, 0.1);
  }

  .nav-cta {
    flex-direction: column;
    width: 100%;
    margin-top: auto;
    padding-top: 1rem;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .site-header .nav-cta .btn--ghost {
    color: var(--text);
    border-color: var(--border);
  }

  .site-header .nav-cta .btn--ghost:hover {
    color: var(--accent-strong);
    border-color: rgba(0, 149, 217, 0.4);
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: clamp(3rem, 10vw, 6rem) 0 clamp(4rem, 12vw, 7rem);
  overflow: hidden;
  background: var(--gradient-hero), var(--bg);
}

.hero__grid {
  --hero-cell: min(48px, 11vw);
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 118%;
  z-index: 0;
  background-image: linear-gradient(rgba(0, 120, 170, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 120, 170, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(0, 149, 217, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 149, 217, 0.035) 1px, transparent 1px);
  background-size: var(--hero-cell) var(--hero-cell), var(--hero-cell) var(--hero-cell),
    calc(var(--hero-cell) * 2) calc(var(--hero-cell) * 2), calc(var(--hero-cell) * 2) calc(var(--hero-cell) * 2);
  background-position: 0 0, 0 0, calc(var(--hero-cell) * 0.5) calc(var(--hero-cell) * 0.5),
    calc(var(--hero-cell) * 0.5) calc(var(--hero-cell) * 0.5);
  mask-image: linear-gradient(to bottom, black 40%, transparent 96%);
  pointer-events: none;
  animation: hero-grid-parallax 28s ease-in-out infinite alternate;
}

@keyframes hero-grid-parallax {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(calc(var(--hero-cell) * -0.45), calc(var(--hero-cell) * -0.35));
  }
}

/* Nodos de red + latidos (datos / conectividad) */
.hero__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      circle 3px at center,
      rgba(0, 149, 217, 0.55) 0,
      rgba(0, 149, 217, 0.18) 42%,
      transparent 58%
    ),
    radial-gradient(circle 1px at center, rgba(255, 255, 255, 0.5) 0, transparent 70%);
  background-size: var(--hero-cell) var(--hero-cell), var(--hero-cell) var(--hero-cell);
  animation: hero-grid-nodes 4.2s ease-in-out infinite;
}

@keyframes hero-grid-nodes {
  0%,
  100% {
    opacity: 0.4;
    filter: brightness(0.92) drop-shadow(0 0 0 transparent);
  }
  50% {
    opacity: 1;
    filter: brightness(1.25) drop-shadow(0 0 6px rgba(0, 149, 217, 0.25));
  }
}

/* Haz de barrido: tráfico / escaneo de red */
.hero__grid::after {
  content: "";
  position: absolute;
  top: -25%;
  left: -40%;
  width: min(58vw, 460px);
  height: 150%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 149, 217, 0.05) 22%,
    rgba(184, 230, 251, 0.22) 50%,
    rgba(0, 149, 217, 0.05) 78%,
    transparent 100%
  );
  transform: skewX(-16deg);
  filter: blur(0.5px);
  animation: hero-grid-sweep 16s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  mix-blend-mode: multiply;
}

@keyframes hero-grid-sweep {
  0% {
    transform: skewX(-16deg) translateX(-20%);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  38% {
    transform: skewX(-16deg) translateX(340%);
    opacity: 0.9;
  }
  44% {
    opacity: 0;
  }
  100% {
    transform: skewX(-16deg) translateX(340%);
    opacity: 0;
  }
}

/* Capa digital: campo de datos / anillo de procesamiento (sobre la cuadrícula) */
.hero__digital {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 36%, transparent 96%);
}

.hero__digital::before {
  content: "";
  position: absolute;
  width: 180%;
  height: 180%;
  left: 50%;
  top: 42%;
  margin-left: -90%;
  margin-top: -90%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(0, 149, 217, 0.06) 32deg,
    transparent 72deg,
    rgba(0, 100, 150, 0.05) 118deg,
    transparent 165deg,
    rgba(155, 223, 251, 0.1) 210deg,
    transparent 255deg,
    rgba(0, 149, 217, 0.07) 295deg,
    transparent 360deg
  );
  animation: hero-digital-orbit 38s linear infinite;
}

@keyframes hero-digital-orbit {
  to {
    transform: rotate(360deg);
  }
}

/* Hero: en pantallas pequeñas se apagan animaciones pesadas (mejor batería y scroll) */
@media (max-width: 640px) {
  .hero__grid {
    animation: none;
    transform: none;
  }

  .hero__digital::before {
    animation: none;
  }

  .hero__grid::after {
    animation: none;
  }
}

.hero__glow {
  position: absolute;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 149, 217, 0.12) 0%, rgba(100, 180, 220, 0.1) 42%, transparent 68%);
  top: -10%;
  right: -10%;
  animation: pulse-glow 8s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  from {
    opacity: 0.6;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.08);
  }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 2vw, 0.75rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(220, 240, 252, 0.9));
  border: 1px solid rgba(0, 149, 217, 0.28);
  border-radius: 999px;
  margin-bottom: 1.25rem;
  animation: badge-float 5s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(0, 100, 140, 0.08);
}

@keyframes badge-float {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 0 0 0 rgba(0, 149, 217, 0);
  }
  50% {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 120, 170, 0.15);
  }
}

.hero h1 {
  font-size: clamp(1.85rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  max-width: 18ch;
  background: linear-gradient(135deg, #042f50 0%, #0c4a6e 42%, var(--accent-strong) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .hero h1 {
    color: var(--text);
    background: none;
  }
}

.hero__lead {
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  color: var(--muted);
  max-width: min(42ch, 100%);
  margin: 0 0 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  transition: transform 0.3s var(--ease-out);
}

.stat:hover {
  transform: translateX(4px);
}

.stat__value {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.stat__label {
  font-size: 0.875rem;
  color: var(--muted);
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--surface {
  background: linear-gradient(180deg, #f7fbff 0%, #edf5fc 100%);
  border-block: 1px solid var(--border);
}

.section__head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.section__title {
  position: relative;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.section__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent), var(--accent-light));
}

.clients-section .section__title::after {
  margin-left: auto;
  margin-right: auto;
}

.section__desc {
  color: var(--muted);
  margin: 0;
}

/* —— Service cards —— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}

.service-card {
  position: relative;
  padding: 1.5rem 1.5rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(15, 60, 100, 0.04);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.service-card:hover {
  border-color: rgba(0, 149, 217, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0, 149, 217, 0.08), 0 16px 40px rgba(0, 80, 120, 0.1);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-dim);
  color: var(--accent);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.125rem;
  margin: 0 0 0.75rem;
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

.service-card strong {
  color: var(--text);
}

.service-card__link {
  display: inline-flex;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* —— Client marquee (vitrina clara para logos) —— */
.clients-section {
  overflow: hidden;
  background: linear-gradient(180deg, #f2f8fd 0%, #e5f0fa 45%, #dceaf7 100%);
  border-block: 1px solid rgba(30, 100, 140, 0.1);
}

.clients-section .section__head {
  text-align: center;
  margin-inline: auto;
  max-width: 36rem;
}

.clients-section .section__desc {
  color: var(--muted);
}

.marquee {
  position: relative;
  margin: 0 clamp(0.75rem, 3vw, 1.75rem) 0;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(0.5rem, 2vw, 1rem);
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 100, 140, 0.1);
  box-shadow: 0 8px 40px rgba(20, 70, 110, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.marquee__track {
  display: flex;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
  width: max-content;
  animation: marquee-scroll var(--marquee-duration, 48s) linear infinite;
  padding: 0.35rem 0;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

.marquee__item {
  flex: 0 0 auto;
  width: clamp(104px, 28vw, 140px);
  height: clamp(58px, 16vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  background: linear-gradient(180deg, #fbfdff, #f3f8fc);
  border: 1px solid rgba(30, 100, 140, 0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(15, 60, 100, 0.05);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    transform 0.25s var(--ease-out);
}

.marquee__item:hover {
  background: #ffffff;
  border-color: rgba(0, 149, 217, 0.28);
  box-shadow: 0 6px 20px rgba(0, 120, 170, 0.1);
  transform: translateY(-2px);
}

.marquee__item img {
  max-height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.marquee__item:hover img {
  filter: none;
  opacity: 1;
}

/* —— CTA band —— */
.cta-band {
  margin-top: 0;
  padding: clamp(2rem, 5vw, 3rem) 0;
  background: linear-gradient(120deg, #e0f0fb 0%, #d4e9f8 40%, #cfe5f6 100%);
  border-block: 1px solid rgba(30, 100, 140, 0.12);
}

.cta-band .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  color: var(--text);
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #ddeaf5 0%, #d0e2f2 100%);
  border-top: 1px solid rgba(30, 100, 140, 0.12);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.9375rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.5rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer h4 {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}

.footer-phone {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent) !important;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(30, 100, 140, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

/* —— Inner pages —— */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--gradient-hero), linear-gradient(180deg, #f7fbff, #eef6fc);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 50ch;
}

.content-block {
  max-width: 720px;
}

.content-block h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--text);
}

.content-block p {
  color: var(--muted);
}

.detail-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.detail-list li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-list h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.detail-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

/* —— Página Servicios (catálogo visual TI) —— */
.page-services .page-hero {
  position: relative;
  overflow: hidden;
}

.page-services .page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
  margin: 0 0 0.75rem;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.page-hero__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: rgba(0, 149, 217, 0.1);
  border: 1px solid rgba(0, 149, 217, 0.2);
  border-radius: 999px;
}

.services-section {
  background: linear-gradient(180deg, #fbfdff 0%, #f2f8fc 100%);
  border-block: 1px solid var(--border);
}

.services-catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 920px;
  margin: 0 auto;
}

.service-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
  padding: 1.5rem 1.5rem 1.65rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(15, 60, 100, 0.05);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.service-detail:hover {
  border-color: rgba(0, 149, 217, 0.28);
  box-shadow: 0 8px 32px rgba(0, 100, 140, 0.08);
}

.service-detail__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(0, 149, 217, 0.12), rgba(184, 230, 251, 0.35));
  border: 1px solid rgba(0, 149, 217, 0.18);
  color: var(--accent-deep);
}

.service-detail__icon svg {
  width: 26px;
  height: 26px;
}

.service-detail__body {
  min-width: 0;
}

.service-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.65rem;
}

.service-detail__head h2 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text);
}

.service-detail__badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-strong));
  color: #fff;
}

.service-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.service-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.service-detail__tags span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(12, 39, 72, 0.05);
  border: 1px solid rgba(30, 100, 140, 0.1);
}

.services-cta-panel {
  max-width: 920px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(120deg, rgba(0, 149, 217, 0.1), rgba(184, 230, 251, 0.25));
  border: 1px solid rgba(0, 149, 217, 0.2);
  border-radius: var(--radius);
}

.services-cta-panel p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.services-cta-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 560px) {
  .services-cta-panel__actions {
    justify-content: center;
  }

  .service-detail {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service-detail__icon {
    margin: 0 auto;
  }

  .service-detail__head {
    justify-content: center;
  }

  .service-detail__tags {
    justify-content: center;
  }

  .services-cta-panel {
    flex-direction: column;
    text-align: center;
  }
}

/* —— Página Nosotros —— */
.page-nosotros .page-hero {
  position: relative;
  overflow: hidden;
}

.page-nosotros .page-hero .container {
  position: relative;
  z-index: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.about-stat-card {
  text-align: center;
  padding: 1.35rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(15, 60, 100, 0.05);
}

.about-stat-card__value {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--accent-strong);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-stat-card__label {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

.about-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.about-intro .section__title::after {
  margin-left: auto;
  margin-right: auto;
}

.about-intro p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0 0 1rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.about-pillar {
  padding: 1.5rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(15, 60, 100, 0.04);
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.about-pillar:hover {
  border-color: rgba(0, 149, 217, 0.25);
  box-shadow: 0 8px 28px rgba(0, 100, 140, 0.07);
}

.about-pillar__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(0, 149, 217, 0.12), rgba(184, 230, 251, 0.35));
  border: 1px solid rgba(0, 149, 217, 0.18);
  color: var(--accent-deep);
}

.about-pillar__icon svg {
  width: 24px;
  height: 24px;
}

.about-pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text);
}

.about-pillar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.about-process-section {
  background: linear-gradient(180deg, #fbfdff 0%, #f0f7fc 100%);
  border-block: 1px solid var(--border);
}

.about-process__head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.about-process__head .section__title {
  margin-bottom: 0.5rem;
}

.about-process__head .page-hero__eyebrow {
  margin-bottom: 0.5rem;
}

.about-process__head h2.section__title {
  margin-top: 0;
}

.about-process__lede {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-process__head .section__title::after {
  margin-left: auto;
  margin-right: auto;
}

.about-process {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  counter-reset: about-step;
}

.about-process li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  counter-increment: about-step;
}

.about-process li:last-child {
  border-bottom: none;
}

.about-process li::before {
  content: counter(about-step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent-strong));
  flex-shrink: 0;
}

.about-process h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--text);
}

.about-process p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

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

@media (max-width: 480px) {
  .about-process li {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-process li::before {
    margin: 0 auto;
  }
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(15, 60, 100, 0.06);
}

.contact-form label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: #fbfdff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

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

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* —— Ajustes responsivos extra —— */
@media (max-width: 600px) {
  .topbar .container {
    justify-content: center;
    text-align: center;
  }

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

  .hero h1 {
    max-width: none;
  }

  .hero__stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .marquee__track {
    animation-duration: 38s;
  }

  .marquee__item img {
    max-height: 40px;
  }

  .cta-band .container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cta-band .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: var(--text);
  }

  .site-header__logo img {
    height: 38px;
  }

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

@media (min-width: 901px) {
  .nav-backdrop {
    display: none !important;
  }
}
