/* Estilos personalizados de Vemix. Tailwind sigue cargandose por CDN en cada pagina. */

/* Comun: tema, navegacion y aparicion al hacer scroll. */

:root {
  color-scheme: light;
}

:root.dark {
  color-scheme: dark;
}

@keyframes theme-light-up {
  0% { opacity: 0; transform: scale(0.96); }
  35% { opacity: 0.78; }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes theme-darken {
  0% { opacity: 0; }
  35% { opacity: 0.68; }
  100% { opacity: 0; }
}

.theme-flash-light {
  animation: theme-light-up 720ms ease-out forwards;
  background: radial-gradient(circle at 50% 18%, rgba(255,255,255,0.94), rgba(10,164,216,0.34) 34%, rgba(255,255,255,0) 72%);
}

.theme-flash-dark {
  animation: theme-darken 720ms ease-out forwards;
  background: radial-gradient(circle at 50% 18%, rgba(7,23,42,0.88), rgba(7,23,42,0.58) 42%, rgba(7,23,42,0) 78%);
}

@keyframes slogan-progreso {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

body.slogan-activo {
  overflow: hidden;
}

.slogan-bienvenida[hidden] {
  display: none;
}

.slogan-bienvenida {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 1.25rem;
  background:
    radial-gradient(circle at 14% 18%, rgba(10, 164, 216, 0.24), transparent 28rem),
    rgba(3, 13, 25, 0.88);
  opacity: 0;
  backdrop-filter: blur(18px) saturate(1.1);
  transition: opacity 420ms ease;
}

.slogan-bienvenida::before,
.slogan-bienvenida::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.slogan-bienvenida::before {
  top: -13rem;
  right: -10rem;
  width: 36rem;
  height: 36rem;
  border: 5rem solid rgba(56, 189, 248, 0.06);
}

.slogan-bienvenida::after {
  bottom: -10rem;
  left: 18%;
  width: 25rem;
  height: 25rem;
  background: rgba(10, 164, 216, 0.1);
  filter: blur(70px);
}

.slogan-bienvenida.is-visible {
  opacity: 1;
}

.slogan-bienvenida-tarjeta {
  position: relative;
  z-index: 1;
  width: min(68rem, 100%);
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 3rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  color: #fff;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.035), transparent 40%),
    linear-gradient(145deg, #07172a 0%, #082b43 68%, #075f84 100%);
  box-shadow: 0 45px 130px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translateY(24px) scale(0.975);
  transition: opacity 500ms ease 80ms, transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1) 80ms;
}

.slogan-bienvenida-tarjeta::before {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 32rem;
  height: 32rem;
  border: 4rem solid rgba(255, 255, 255, 0.055);
  border-radius: 999px;
  pointer-events: none;
}

.slogan-bienvenida.is-visible .slogan-bienvenida-tarjeta {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.slogan-bienvenida-cerrar {
  position: absolute;
  z-index: 3;
  top: clamp(1.2rem, 3vw, 2rem);
  right: clamp(1.2rem, 3vw, 2rem);
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  color: #bae6fd;
  background: rgba(255, 255, 255, 0.07);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.slogan-bienvenida-cerrar:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transform: rotate(4deg);
}

.slogan-bienvenida-cerrar:focus-visible,
.slogan-bienvenida-boton:focus-visible {
  outline: 3px solid rgba(125, 211, 252, 0.55);
  outline-offset: 4px;
}

.slogan-bienvenida-cerrar svg {
  width: 1.25rem;
  height: 1.25rem;
}

.slogan-bienvenida-marca {
  position: relative;
  z-index: 1;
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 1rem;
}

.slogan-bienvenida-marca img {
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 1.35rem;
  object-fit: contain;
  box-shadow: 0 18px 44px rgba(10, 164, 216, 0.25);
}

.slogan-bienvenida-marca p {
  display: grid;
  gap: 0.35rem;
}

.slogan-bienvenida-marca strong {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.slogan-bienvenida-marca span {
  color: #38bdf8;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.34em;
}

.slogan-bienvenida-contenido {
  position: relative;
  z-index: 1;
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.slogan-bienvenida-etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #7dd3fc;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.slogan-bienvenida-etiqueta span {
  width: 2.5rem;
  height: 2px;
  border-radius: 999px;
  background: #38bdf8;
}

.slogan-bienvenida-contenido h2 {
  margin-top: 1.35rem;
  max-width: 58rem;
  font-size: clamp(3rem, 6.8vw, 6.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.slogan-bienvenida-contenido h2 span {
  color: #38bdf8;
}

.slogan-bienvenida-contenido > p:last-of-type {
  margin-top: 1.5rem;
  max-width: 42rem;
  color: #cbd5e1;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  line-height: 1.75;
}

.slogan-bienvenida-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  border-radius: 999px;
  padding: 1rem 1.35rem;
  color: #07172a;
  font-size: 0.82rem;
  font-weight: 900;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.slogan-bienvenida-boton:hover {
  color: #fff;
  background: #0aa4d8;
  transform: translateY(-3px);
}

.slogan-bienvenida-boton svg {
  width: 1.15rem;
  height: 1.15rem;
}

.slogan-bienvenida-progreso {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.3rem;
  background: linear-gradient(90deg, #38bdf8, #fff);
  transform-origin: left;
}

.slogan-bienvenida.is-visible .slogan-bienvenida-progreso {
  animation: slogan-progreso 6500ms linear forwards;
}

@media (max-width: 639px) {
  .slogan-bienvenida {
    align-items: end;
    padding: 0.75rem;
  }

  .slogan-bienvenida-tarjeta {
    max-height: calc(100dvh - 1.5rem);
    overflow-y: auto;
    border-radius: 2rem;
    padding: 1.4rem;
  }

  .slogan-bienvenida-cerrar {
    top: 1rem;
    right: 1rem;
  }

  .slogan-bienvenida-marca img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1.1rem;
  }

  .slogan-bienvenida-marca strong {
    font-size: 1.05rem;
  }

  .slogan-bienvenida-contenido {
    margin-top: 2.5rem;
  }

  .slogan-bienvenida-etiqueta {
    max-width: 14rem;
    font-size: 0.6rem;
    line-height: 1.5;
  }

  .slogan-bienvenida-contenido h2 {
    font-size: clamp(2.65rem, 13.5vw, 3.35rem);
    line-height: 0.92;
  }

  .slogan-bienvenida-boton {
    width: 100%;
  }
}

.menu-link,
.mobile-nav-link {
  position: relative;
  transition: background-color 260ms ease, color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.menu-link:hover,
.mobile-nav-link:hover {
  transform: translateY(-1px);
}

.menu-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.45rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 260ms ease, transform 260ms ease;
}

.menu-link.is-active,
.mobile-nav-link.is-active {
  background: #0aa4d8;
  color: #fff;
  box-shadow: 0 16px 34px rgba(10, 164, 216, 0.24);
  transform: translateY(-1px);
}

.menu-link.is-active::after {
  opacity: 0.55;
  transform: scaleX(1);
}

.menu-link.is-active .menu-link-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.mobile-nav-link.is-active .mobile-nav-index {
  color: rgba(255, 255, 255, 0.86);
}

#theme-toggle,
#menu-button {
  flex: 0 0 auto;
}

@media (max-width: 430px) {
  nav[aria-label="Navegacion principal"] > div:first-child {
    gap: 0.5rem;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  nav[aria-label="Navegacion principal"] > div:first-child > a:first-child {
    gap: 0.65rem;
  }

  nav[aria-label="Navegacion principal"] > div:first-child > a:first-child img {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
  }

  nav[aria-label="Navegacion principal"] > div:first-child > a:first-child > span {
    display: none;
  }

  nav[aria-label="Navegacion principal"] > div:first-child > div:last-child {
    gap: 0.5rem;
  }

  #menu-button {
    width: 3rem;
    height: 3rem;
    justify-content: center;
    gap: 0;
    padding: 0;
    font-size: 0;
  }
}

.datos-estado {
  grid-column: 1 / -1;
  width: 100%;
  padding: 1.5rem;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.solution-board > .datos-estado,
.portafolio-proyectos-rejilla > .datos-estado {
  display: grid;
  min-height: 12rem;
  place-items: center;
  border: 1px dashed rgba(10, 164, 216, 0.3);
  border-radius: 1.5rem;
  background: rgba(10, 164, 216, 0.045);
}

.datos-estado-error {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.28);
  background: rgba(185, 28, 28, 0.06);
}

.dark .datos-estado {
  color: #cbd5e1;
}

.dark .datos-estado-error {
  color: #fca5a5;
}

.pie-sitio .datos-estado {
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  text-align: left;
}

/* Servicios: tablero de soluciones y tarjetas internas. */

.solution-board {
  counter-reset: solution-group;
}

.solution-board > article {
  --solution-accent: #0aa4d8;
  --solution-accent-rgb: 10, 164, 216;
  --solution-title: #06739e;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.solution-board > article:nth-child(2) {
  --solution-accent: #2563eb;
  --solution-accent-rgb: 37, 99, 235;
  --solution-title: #1d4ed8;
}

.solution-board > article:nth-child(3) {
  --solution-accent: #14b8a6;
  --solution-accent-rgb: 20, 184, 166;
  --solution-title: #0f766e;
}

.solution-board > article:nth-child(4) {
  --solution-accent: #7c3aed;
  --solution-accent-rgb: 124, 58, 237;
  --solution-title: #6d28d9;
}

.solution-board > article::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(var(--solution-accent-rgb), 0.18), transparent 36%);
}

.solution-board > article::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  pointer-events: none;
  width: 0.35rem;
  background: linear-gradient(180deg, var(--solution-accent), rgba(10, 164, 216, 0.12));
}

.solution-board > article > * {
  position: relative;
  z-index: 1;
}

.solution-board > article:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--solution-accent-rgb), 0.42);
  box-shadow: 0 28px 80px rgba(7, 23, 42, 0.14);
}

.solution-board > article > .flex:first-child {
  flex-wrap: wrap;
  margin: -0.35rem -0.35rem 0;
  padding: 0.35rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(var(--solution-accent-rgb), 0.13), rgba(255, 255, 255, 0.68));
}

.dark .solution-board > article > .flex:first-child {
  background: linear-gradient(135deg, rgba(var(--solution-accent-rgb), 0.24), rgba(255, 255, 255, 0.04));
}

.solution-board > article > .flex:first-child > .flex,
.solution-board > article > .flex:first-child > .flex > div {
  min-width: 0;
}

.solution-board > article > .flex:first-child > .flex > span {
  flex-shrink: 0;
}

.solution-board > article > .flex:first-child :is(h2, h3) {
  overflow-wrap: anywhere;
}

.solution-group {
  counter-increment: solution-group;
}

.solution-group::before {
  content: "Bloque 0" counter(solution-group);
}

.solution-item {
  position: relative;
  overflow: hidden;
  transition: transform 240ms ease, border-color 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
}

.solution-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--solution-accent, #0aa4d8);
  opacity: 0.5;
}

.solution-item strong {
  display: block;
  color: var(--solution-title, #06739e);
}

.dark .solution-item strong {
  color: #fff;
}

.solution-item:hover {
  transform: translateX(6px);
  border-color: rgba(var(--solution-accent-rgb), 0.42);
  background: rgba(var(--solution-accent-rgb), 0.07);
  box-shadow: 0 16px 36px rgba(10, 164, 216, 0.12);
}

.dark .solution-item:hover {
  background: rgba(var(--solution-accent-rgb), 0.14);
}

@media (max-width: 639px) {
  .solution-board > article {
    border-radius: 1.5rem;
  }

  .solution-board > article > .flex:first-child {
    gap: 0.75rem;
  }

  .solution-board > article > .flex:first-child > .flex {
    gap: 0.75rem;
  }

  .solution-board > article > .flex:first-child > .flex > span {
    width: 3rem;
    height: 3rem;
    border-radius: 0.9rem;
  }

  .solution-board > article > .flex:first-child > .flex > span img {
    width: 2.15rem;
    height: 2.15rem;
  }

  .solution-board > article > .flex:first-child :is(h2, h3) {
    font-size: 1.2rem;
    line-height: 1.2;
  }

  .solution-item {
    padding: 0.875rem;
  }
}

/* Inicio: clientes, proceso y experiencia de acceso al login. */

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

.clientes-estado {
  display: grid;
  min-height: 10rem;
  grid-column: 1 / -1;
  place-items: center;
  border: 1px dashed rgba(10, 164, 216, 0.3);
  border-radius: 1.5rem;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(10, 164, 216, 0.04);
  text-align: center;
}

.clientes-estado-error {
  border-color: rgba(239, 68, 68, 0.28);
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.05);
}

.cliente-tarjeta {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 11rem;
  grid-template-rows: minmax(5.5rem, 1fr) auto;
  gap: 0.7rem;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 1.5rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(7, 23, 42, 0.07);
  text-align: center;
  transition: border-color 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.cliente-tarjeta::before {
  content: "";
  position: absolute;
  top: -4rem;
  left: -4rem;
  width: 8rem;
  height: 8rem;
  border-radius: 999px;
  background: rgba(10, 164, 216, 0.09);
  filter: blur(20px);
  pointer-events: none;
}

.cliente-tarjeta:hover {
  border-color: rgba(10, 164, 216, 0.42);
  box-shadow: 0 24px 55px rgba(10, 164, 216, 0.14);
  transform: translateY(-5px);
}

.cliente-logo {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  height: 6rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.96);
}

.cliente-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 5rem;
  object-fit: contain;
  transition: transform 240ms ease;
}

.cliente-tarjeta:hover .cliente-logo img {
  transform: scale(1.06);
}

.cliente-logo-alternativo {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  background: #0aa4d8;
  letter-spacing: 0.08em;
}

.cliente-nombre {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 2rem;
  place-items: center;
  border-top: 1px solid rgba(203, 213, 225, 0.75);
  padding: 0.7rem 0.2rem 0.1rem;
  overflow-wrap: anywhere;
  color: #1e293b;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1.35;
}

.dark .clientes-estado {
  color: #94a3b8;
  background: rgba(10, 164, 216, 0.05);
}

.dark .clientes-estado-error {
  color: #fca5a5;
}

.dark .cliente-tarjeta {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 16px 38px rgba(2, 9, 17, 0.18);
}

.dark .cliente-tarjeta:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.dark .cliente-nombre {
  border-color: rgba(255, 255, 255, 0.09);
  color: #e2e8f0;
}

@media (min-width: 640px) {
  .clientes-lista {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .clientes-lista {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cliente-tarjeta {
    min-height: 11.5rem;
    padding: 1rem;
  }
}

.clients-showcase {
  isolation: isolate;
}

.clients-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(10, 164, 216, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(10, 164, 216, 0.08), transparent 42%);
}

.clients-showcase > * {
  position: relative;
  z-index: 1;
}

.clients-glow,
.clients-grid-lines {
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.clients-glow {
  border-radius: 999px;
  background: rgba(10, 164, 216, 0.18);
  filter: blur(42px);
}

.clients-glow-left {
  left: -5rem;
  top: -4rem;
  height: 18rem;
  width: 18rem;
}

.clients-glow-right {
  bottom: -6rem;
  right: -5rem;
  height: 22rem;
  width: 22rem;
}

.clients-grid-lines {
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(10, 164, 216, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 164, 216, 0.12) 1px, transparent 1px);
  background-size: 3.25rem 3.25rem;
  mask-image: radial-gradient(circle at center, #000, transparent 72%);
}

.clients-feature-card {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(10, 164, 216, 0.22);
  border-radius: 2rem;
  background:
    linear-gradient(145deg, rgba(7, 23, 42, 0.96), rgba(6, 115, 158, 0.92)),
    #07172a;
  padding: 1.35rem;
  color: #fff;
  box-shadow: 0 26px 80px rgba(7, 23, 42, 0.18);
}

.clients-feature-card::after {
  content: "";
  position: absolute;
  inset: auto -4rem -5rem auto;
  height: 13rem;
  width: 13rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.clients-feature-mark {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.45rem 0.9rem;
  color: #7dd3fc;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.clients-feature-card h3 {
  margin-top: 6rem;
  max-width: 18rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.clients-feature-card p {
  margin-top: 1rem;
  max-width: 24rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  line-height: 1.7;
}

.clients-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.5rem;
}

.clients-feature-tags span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  padding: 0.5rem 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.clients-showcase .client-card {
  position: relative;
  display: grid;
  min-height: 9rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(7, 23, 42, 0.08);
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease, background-color 280ms ease;
}

.dark .clients-showcase .client-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
}

.clients-showcase .client-card:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: rgba(10, 164, 216, 0.48);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 30px 90px rgba(10, 164, 216, 0.2);
}

.dark .clients-showcase .client-card:hover {
  background: rgba(255, 255, 255, 0.12);
}

.client-card-shine {
  position: absolute;
  inset: -35% auto auto -45%;
  height: 10rem;
  width: 10rem;
  border-radius: 999px;
  background: rgba(10, 164, 216, 0.16);
  filter: blur(20px);
  transition: transform 320ms ease, opacity 320ms ease;
}

.clients-showcase .client-card:hover .client-card-shine {
  opacity: 0.9;
  transform: translate3d(4rem, 2rem, 0) scale(1.15);
}

.clients-showcase .client-card img {
  position: relative;
  z-index: 1;
  max-height: 4.8rem;
  max-width: 72%;
  object-fit: contain;
  transition: transform 280ms ease, filter 280ms ease;
}

.clients-showcase .client-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.04);
}

.clients-showcase .client-card-featured {
  min-height: 11rem;
}

.clients-showcase .client-card-soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 248, 253, 0.78));
}

.dark .clients-showcase .client-card-soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 164, 216, 0.1));
}

@media (min-width: 640px) {
  .clients-logo-wall {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .clients-feature-card {
    padding: 1.65rem;
  }

  .clients-logo-wall {
    gap: 1rem;
  }

  .clients-showcase .client-card:nth-child(2),
  .clients-showcase .client-card:nth-child(6) {
    transform: translateY(1.4rem);
  }

  .clients-showcase .client-card:nth-child(2):hover,
  .clients-showcase .client-card:nth-child(6):hover {
    transform: translateY(0.8rem) rotate(1deg) scale(1.02);
  }

  .clients-showcase .client-card-featured {
    grid-column: span 2;
  }
}

.team-group {
  position: relative;
  overflow: hidden;
}

.team-group::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top right, rgba(10, 164, 216, 0.13), transparent 34%);
}

.team-group > * {
  position: relative;
  z-index: 1;
}

.team-group-label {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(10, 164, 216, 0.2);
  border-radius: 999px;
  background: rgba(10, 164, 216, 0.1);
  padding: 0.45rem 0.9rem;
  color: #0aa4d8;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1.5rem;
  background: rgba(248, 250, 252, 0.88);
  box-shadow: 0 12px 34px rgba(7, 23, 42, 0.07);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background-color 260ms ease;
}

.dark .team-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 164, 216, 0.42);
  box-shadow: 0 24px 70px rgba(10, 164, 216, 0.17);
}

.team-card img {
  height: 15rem;
  width: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.team-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.12) contrast(1.03);
}

.team-card-body {
  padding: 1.1rem;
}

.team-role {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(10, 164, 216, 0.1);
  padding: 0.35rem 0.75rem;
  color: #0aa4d8;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.team-card h4 {
  margin-top: 0.85rem;
  color: #07172a;
  font-size: 1.3rem;
  font-weight: 900;
}

.dark .team-card h4 {
  color: #fff;
}

.team-card p {
  margin-top: 0.65rem;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.65;
}

.dark .team-card p {
  color: #cbd5e1;
}

.team-card strong {
  color: #06739e;
}

.dark .team-card strong {
  color: #7dd3fc;
}

.team-gallery-group {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 2.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 248, 253, 0.72));
  padding: 1.25rem;
  box-shadow: 0 22px 70px rgba(7, 23, 42, 0.1);
}

.dark .team-gallery-group {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 164, 216, 0.08));
}

.team-gallery-group::before {
  content: "";
  position: absolute;
  inset: -8rem -8rem auto auto;
  height: 18rem;
  width: 18rem;
  border-radius: 999px;
  background: rgba(10, 164, 216, 0.14);
  filter: blur(28px);
}

.team-gallery-heading {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.team-gallery-heading h2 {
  color: #07172a;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.dark .team-gallery-heading h2 {
  color: #fff;
}

.team-gallery-heading p {
  max-width: 42rem;
  color: #475569;
  font-weight: 700;
  line-height: 1.7;
}

.dark .team-gallery-heading p {
  color: #cbd5e1;
}

.team-gallery-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.team-gallery-card {
  position: relative;
  display: grid;
  min-height: 28rem;
  overflow: hidden;
  border-radius: 1.75rem;
  background: #07172a;
  box-shadow: 0 18px 48px rgba(7, 23, 42, 0.16);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.team-gallery-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 30px 90px rgba(10, 164, 216, 0.22);
}

.team-gallery-card img {
  grid-area: 1 / 1;
  height: 100%;
  min-height: 28rem;
  width: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
}

.team-gallery-card:hover img {
  transform: scale(1.06);
  opacity: 1;
  filter: saturate(1.14) contrast(1.04);
}

.team-gallery-card > div {
  grid-area: 1 / 1;
  align-self: end;
  padding: 1.2rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(7, 23, 42, 0.42) 24%, rgba(7, 23, 42, 0.92));
}

.team-gallery-card h3 {
  margin-top: 0.75rem;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.team-gallery-card p {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.65;
}

.team-gallery-card strong {
  color: #7dd3fc;
}

@media (min-width: 768px) {
  .team-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .team-gallery-grid-featured {
    grid-template-columns: 1.35fr 0.9fr;
  }

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

  .team-gallery-card-large {
    min-height: 34rem;
  }

  .team-gallery-card-tall {
    transform: translateY(2.5rem);
  }

.team-gallery-card-tall:hover {
    transform: translateY(1.8rem) scale(1.01);
  }
}

.image-gallery {
  display: grid;
  gap: 2rem;
}

.image-gallery-group {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 2.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 248, 253, 0.72));
  padding: 1rem;
  box-shadow: 0 22px 70px rgba(7, 23, 42, 0.1);
}

.dark .image-gallery-group {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 164, 216, 0.08));
}

.image-gallery-group::before {
  content: "";
  position: absolute;
  inset: -7rem -6rem auto auto;
  height: 16rem;
  width: 16rem;
  border-radius: 999px;
  background: rgba(10, 164, 216, 0.16);
  filter: blur(26px);
}

.image-gallery-heading {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  padding: 0.5rem 0.5rem 1rem;
}

.image-gallery-heading h2 {
  color: #07172a;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.dark .image-gallery-heading h2 {
  color: #fff;
}

.image-gallery-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-auto-flow: dense;
  gap: 1rem;
}

.image-gallery-card {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  border-radius: 1.65rem;
  background: #07172a;
  box-shadow: 0 18px 48px rgba(7, 23, 42, 0.16);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.image-gallery-card:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 30px 90px rgba(10, 164, 216, 0.22);
}

.image-gallery-card img {
  height: 100%;
  min-height: 18rem;
  width: 100%;
  object-fit: cover;
  opacity: 0.92;
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
}

.image-gallery-card:hover img {
  transform: scale(1.06);
  opacity: 1;
  filter: saturate(1.14) contrast(1.04);
}

.image-gallery-card figcaption {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 23, 42, 0.72);
  padding: 0.45rem 0.75rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.image-gallery-card-logo {
  display: grid;
  min-height: 13rem;
  place-items: center;
  background: linear-gradient(135deg, #fff, #e8f8fd);
}

.dark .image-gallery-card-logo {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 164, 216, 0.12));
}

.image-gallery-card-logo img {
  height: auto;
  min-height: 0;
  max-height: 8rem;
  max-width: 72%;
  object-fit: contain;
  padding: 1rem;
}

@media (min-width: 640px) {
  .image-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .image-gallery-group {
    padding: 1.35rem;
  }

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

  .image-gallery-grid-compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .image-gallery-card-wide {
    grid-column: span 2;
  }

  .image-gallery-card-tall {
    grid-row: span 2;
    min-height: 37rem;
  }

  .image-gallery-card-tall img {
    min-height: 37rem;
  }
}

.image-gallery-hero,
.image-gallery-heading,
.image-gallery-card figcaption {
  display: none;
}

.image-gallery {
  padding-top: 4rem;
}

.image-gallery-group {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.image-gallery-group::before {
  display: none;
}

.image-gallery-grid {
  margin-bottom: 1rem;
}

.image-gallery-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@keyframes route-draw {
  from { stroke-dashoffset: 900; }
  to { stroke-dashoffset: 0; }
}

@keyframes node-glow {
  0%, 100% { box-shadow: 0 18px 42px rgba(10, 164, 216, 0.22); }
  50% { box-shadow: 0 24px 60px rgba(10, 164, 216, 0.38); }
}

@keyframes voice-reaction-left {
  0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  22% { opacity: 0.92; transform: translate3d(-14px, 8px, 0) rotate(-8deg) scale(1.12); }
  48% { opacity: 1; transform: translate3d(16px, -12px, 0) rotate(10deg) scale(0.94); }
  72% { transform: translate3d(-8px, 6px, 0) rotate(-4deg) scale(1.08); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}

@keyframes voice-reaction-right {
  0% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  20% { opacity: 0.9; transform: translate3d(18px, -10px, 0) scale(1.16); }
  46% { opacity: 1; transform: translate3d(-16px, 12px, 0) scale(0.9); }
  74% { transform: translate3d(10px, -6px, 0) scale(1.08); }
  100% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes voice-orbit-left {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  25% { transform: translate3d(28px, 12px, 0) rotate(90deg) scale(1.08); }
  50% { transform: translate3d(56px, -12px, 0) rotate(180deg) scale(0.95); }
  75% { transform: translate3d(24px, -34px, 0) rotate(270deg) scale(1.06); }
  100% { transform: translate3d(0, 0, 0) rotate(360deg) scale(1); }
}

@keyframes voice-orbit-right {
  0% { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  25% { transform: translate3d(-34px, -14px, 0) rotate(-90deg) scale(1.08); }
  50% { transform: translate3d(-62px, 10px, 0) rotate(-180deg) scale(0.92); }
  75% { transform: translate3d(-26px, 36px, 0) rotate(-270deg) scale(1.06); }
  100% { transform: translate3d(0, 0, 0) rotate(-360deg) scale(1); }
}

@keyframes loading-orb-drift {
  0%, 100% { opacity: 0.3; transform: translate3d(0, 0, 0) scale(0.82); }
  45% { opacity: 0.88; transform: translate3d(var(--orb-x), var(--orb-y), 0) scale(1.08); }
}

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

@keyframes login-panel-enter {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes switch-gate-flash {
  0% { opacity: 0; transform: scale(0.2) rotate(-18deg); }
  18% { opacity: 1; transform: scale(0.78) rotate(8deg); }
  58% { opacity: 0.82; transform: scale(1.16) rotate(28deg); }
  100% { opacity: 0; transform: scale(1.55) rotate(52deg); }
}

@keyframes switch-gate-beam {
  0% { opacity: 0; transform: translateX(-130%) rotate(18deg); }
  35% { opacity: 0.95; }
  100% { opacity: 0; transform: translateX(130%) rotate(18deg); }
}

@keyframes switch-gate-spark {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.4); }
  24% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--spark-x), var(--spark-y), 0) scale(1.25); }
}

@keyframes switch-login-enter {
  0% { opacity: 0; transform: translateY(34px) rotate(-2deg) scale(0.86); filter: blur(10px); }
  62% { opacity: 1; transform: translateY(-8px) rotate(1deg) scale(1.04); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg) scale(1); filter: blur(0); }
}

.voice-hero-stage {
  isolation: isolate;
}

.voice-hero-card,
.voice-hero-thumbs,
.voice-loading-panel,
.voice-login-panel {
  transition: opacity 700ms ease, transform 700ms ease, filter 700ms ease;
}

.voice-hero-stage.voice-sequence-loading .voice-hero-card,
.voice-hero-stage.voice-sequence-login .voice-hero-card,
.voice-hero-stage.switch-sequence-login .voice-hero-card {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.96);
  filter: blur(8px) saturate(0.75);
}

.voice-hero-stage.voice-sequence-loading .voice-hero-thumbs,
.voice-hero-stage.voice-sequence-login .voice-hero-thumbs,
.voice-hero-stage.switch-sequence-login .voice-hero-thumbs {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.96);
  filter: blur(6px) saturate(0.75);
}

.voice-hero-stage.switch-sequence-login .voice-hero-card {
  transform: perspective(900px) rotateY(-16deg) rotateX(7deg) translateY(24px) scale(0.92);
  filter: blur(10px) saturate(1.25) brightness(1.15);
}

.voice-hero-stage.switch-sequence-login .voice-hero-thumbs {
  transform: translateY(28px) scale(0.86);
  filter: blur(8px) saturate(1.2) brightness(1.12);
}

.voice-decoration {
  transform-origin: center;
  will-change: transform, opacity, filter;
}

.voice-decoration.is-reacting-to-voice {
  filter: saturate(1.3) brightness(1.08);
}

.voice-decoration-left.is-reacting-to-voice {
  animation: voice-reaction-left 980ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.voice-decoration-right.is-reacting-to-voice {
  animation: voice-reaction-right 980ms cubic-bezier(0.2, 0.75, 0.2, 1) both;
}

.voice-decoration-left.is-orbiting {
  animation: voice-orbit-left 1.5s linear infinite;
  filter: saturate(1.35) brightness(1.08);
}

.voice-decoration-right.is-orbiting {
  animation: voice-orbit-right 1.5s linear infinite;
  filter: saturate(1.35) brightness(1.08);
}

.voice-loading-panel,
.voice-login-panel {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

.voice-hero-stage.voice-sequence-loading .voice-loading-panel {
  opacity: 1;
  transform: scale(1);
}

.voice-hero-stage.voice-sequence-login .voice-login-panel {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  animation: login-panel-enter 620ms ease both;
}

.voice-hero-stage.switch-sequence-login .voice-login-panel {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  animation: switch-login-enter 820ms cubic-bezier(0.18, 0.9, 0.2, 1) both;
}

.theme-gate-flash {
  opacity: 0;
  pointer-events: none;
}

.theme-gate-flash::before,
.theme-gate-flash::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 999px;
}

.theme-gate-flash::before {
  background: conic-gradient(from 120deg, transparent, rgba(10, 164, 216, 0.9), rgba(255, 255, 255, 0.95), rgba(10, 164, 216, 0.7), transparent);
  filter: blur(4px);
}

.theme-gate-flash::after {
  inset: 24%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 36px rgba(10, 164, 216, 0.58), inset 0 0 26px rgba(10, 164, 216, 0.32);
}

.theme-gate-beam {
  opacity: 0;
  transform-origin: center;
}

.voice-hero-stage.switch-sequence-igniting .theme-gate-flash {
  animation: switch-gate-flash 980ms ease-out both;
}

.voice-hero-stage.switch-sequence-igniting .theme-gate-beam {
  animation: switch-gate-beam 900ms ease-out both;
}

.voice-hero-stage.switch-sequence-igniting .theme-gate-spark {
  animation: switch-gate-spark 940ms ease-out both;
}

.theme-gate-spark:nth-child(2) {
  --spark-x: 5.5rem;
  --spark-y: -4.5rem;
}

.theme-gate-spark:nth-child(3) {
  --spark-x: -5rem;
  --spark-y: -3.2rem;
  animation-delay: 80ms;
}

.theme-gate-spark:nth-child(4) {
  --spark-x: 4.2rem;
  --spark-y: 4.8rem;
  animation-delay: 150ms;
}

.theme-gate-spark:nth-child(5) {
  --spark-x: -4.7rem;
  --spark-y: 4.2rem;
  animation-delay: 220ms;
}

.voice-loading-orb {
  animation: loading-orb-drift 1.45s ease-in-out infinite;
  background: rgba(10, 164, 216, 0.18);
  box-shadow: 0 18px 44px rgba(10, 164, 216, 0.16);
}

.voice-loading-orb:nth-child(1) {
  --orb-x: 2.4rem;
  --orb-y: -1.5rem;
}

.voice-loading-orb:nth-child(2) {
  --orb-x: -2rem;
  --orb-y: 1.6rem;
  animation-delay: 180ms;
}

.voice-loading-orb:nth-child(3) {
  --orb-x: 1.2rem;
  --orb-y: 2.3rem;
  animation-delay: 360ms;
}

.voice-loading-ring {
  animation: loading-ring-spin 1s linear infinite;
}

@keyframes proyecto-tarjeta-entrada {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.proyectos-portada {
  position: relative;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(circle at 88% 18%, rgba(10, 164, 216, 0.34), transparent 31%),
    radial-gradient(circle at 12% 86%, rgba(10, 164, 216, 0.13), transparent 27%),
    linear-gradient(135deg, #061323 0%, #071d33 48%, #06354d 100%);
}

.proyectos-portada::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(120deg, transparent 4%, #000 46%, transparent 96%);
}

.proyectos-portada::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -10rem;
  right: -7rem;
  width: 30rem;
  height: 30rem;
  border: 4rem solid rgba(255, 255, 255, 0.045);
  border-radius: 999px;
}

.proyectos-portada-contenido {
  position: relative;
  z-index: 1;
}

.proyectos-collage {
  position: relative;
  min-height: 25rem;
}

.proyectos-collage-principal,
.proyectos-collage-secundario {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: #07172a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.proyectos-collage-principal {
  inset: 0 2.6rem 2.4rem 0;
  border-radius: 2rem;
  transform: rotate(-1.5deg);
}

.proyectos-collage-secundario {
  right: 0;
  bottom: 0;
  width: 44%;
  height: 42%;
  border: 0.5rem solid #0b2239;
  border-radius: 1.5rem;
  transform: rotate(4deg);
}

.proyectos-collage-principal img,
.proyectos-collage-secundario img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proyectos-collage-principal img {
  object-position: center 42%;
}

.proyectos-collage-sello {
  position: absolute;
  top: 1rem;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  padding: 0.75rem 1rem;
  color: #07172a;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  transform: rotate(3deg);
}

.proyectos-collage-sello svg {
  color: #0aa4d8;
}

.proyecto-destacado {
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.proyecto-destacado:hover {
  border-color: rgba(10, 164, 216, 0.4);
  box-shadow: 0 34px 100px rgba(10, 164, 216, 0.17);
  transform: translateY(-4px);
}

.proyecto-destacado-imagen img {
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 500ms ease;
}

.proyecto-destacado:hover .proyecto-destacado-imagen img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.02);
}

.filtro-proyectos {
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 164, 216, 0.45) transparent;
}

.boton-filtro-proyecto {
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  padding: 0.72rem 1rem;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 900;
  transition: color 200ms ease, background 200ms ease, border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.dark .boton-filtro-proyecto {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

.boton-filtro-proyecto:hover {
  border-color: rgba(10, 164, 216, 0.5);
  color: #06739e;
  transform: translateY(-2px);
}

.boton-filtro-proyecto:focus-visible {
  outline: 3px solid rgba(10, 164, 216, 0.28);
  outline-offset: 3px;
}

.boton-filtro-proyecto.is-active {
  border-color: #0aa4d8;
  background: #0aa4d8;
  color: #fff;
  box-shadow: 0 12px 28px rgba(10, 164, 216, 0.25);
}

.rejilla-proyectos {
  display: grid;
  gap: 1rem;
}

.proyecto-tarjeta {
  --acento-proyecto: #0aa4d8;
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 50px rgba(7, 23, 42, 0.08);
  animation: proyecto-tarjeta-entrada 420ms ease both;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.proyecto-tarjeta::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 0.28rem;
  background: var(--acento-proyecto);
}

.dark .proyecto-tarjeta {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 31, 50, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.proyecto-tarjeta[data-categoria-proyecto="infraestructura"] {
  --acento-proyecto: #0aa4d8;
}

.proyecto-tarjeta[data-categoria-proyecto="automatizacion"] {
  --acento-proyecto: #14b8a6;
}

.proyecto-tarjeta[data-categoria-proyecto="identidad"] {
  --acento-proyecto: #8b5cf6;
}

.proyecto-tarjeta[data-categoria-proyecto="seguridad"] {
  --acento-proyecto: #f59e0b;
}

.proyecto-tarjeta:hover {
  border-color: color-mix(in srgb, var(--acento-proyecto) 48%, transparent);
  box-shadow: 0 28px 80px rgba(7, 23, 42, 0.16);
  transform: translateY(-7px);
}

.dark .proyecto-tarjeta:hover {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.proyecto-tarjeta[hidden] {
  display: none;
}

.proyecto-tarjeta-imagen {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #07172a;
}

.proyecto-tarjeta-imagen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 23, 42, 0.05), rgba(7, 23, 42, 0.5));
  pointer-events: none;
}

.proyecto-tarjeta-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 400ms ease;
}

.proyecto-tarjeta:hover .proyecto-tarjeta-imagen img {
  transform: scale(1.055);
  filter: saturate(1.12) contrast(1.03);
}

.proyecto-tarjeta-numero,
.proyecto-tarjeta-estado {
  position: absolute;
  z-index: 1;
  color: #fff;
  font-weight: 900;
}

.proyecto-tarjeta-numero {
  top: 1rem;
  left: 1.1rem;
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.08em;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.proyecto-tarjeta-estado {
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 23, 42, 0.75);
  padding: 0.5rem 0.7rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  backdrop-filter: blur(12px);
}

.proyecto-tarjeta-contenido {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.proyecto-tarjeta-categoria {
  color: var(--acento-proyecto);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.proyecto-tarjeta h3 {
  margin-top: 0.65rem;
  color: #07172a;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.dark .proyecto-tarjeta h3 {
  color: #fff;
}

.proyecto-tarjeta-contenido > p:not(.proyecto-tarjeta-categoria) {
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.7;
}

.dark .proyecto-tarjeta-contenido > p:not(.proyecto-tarjeta-categoria) {
  color: #cbd5e1;
}

.proyecto-etiquetas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.proyecto-etiquetas span {
  border: 1px solid color-mix(in srgb, var(--acento-proyecto) 20%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--acento-proyecto) 8%, transparent);
  padding: 0.4rem 0.65rem;
  color: #475569;
  font-size: 0.66rem;
  font-weight: 800;
}

.dark .proyecto-etiquetas span {
  color: #dbeafe;
}

.proyecto-tarjeta-enlace {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.4rem;
  color: #07172a;
  font-size: 0.78rem;
  font-weight: 900;
  transition: color 200ms ease;
}

.dark .proyecto-tarjeta-enlace {
  color: #fff;
}

.proyecto-tarjeta-enlace svg {
  color: var(--acento-proyecto);
  transition: transform 200ms ease;
}

.proyecto-tarjeta-enlace:hover {
  color: var(--acento-proyecto);
}

.proyecto-tarjeta-enlace:hover svg {
  transform: translateX(4px);
}

.metodo-proyectos li {
  position: relative;
  overflow: hidden;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.metodo-proyectos li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 5rem;
  height: 0.3rem;
  border-radius: 0 0 0 999px;
  background: #0aa4d8;
}

.metodo-proyectos li:hover {
  border-color: rgba(10, 164, 216, 0.4);
  box-shadow: 0 24px 60px rgba(10, 164, 216, 0.14);
  transform: translateY(-5px);
}

.proyectos-cta {
  background:
    linear-gradient(120deg, rgba(7, 23, 42, 0.12), transparent 55%),
    #0aa4d8;
}

@media (min-width: 768px) {
  .rejilla-proyectos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .proyectos-collage {
    min-height: 32rem;
  }

  .rejilla-proyectos {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .proyecto-tarjeta-amplia {
    grid-column: span 7;
  }

  .proyecto-tarjeta-compacta {
    grid-column: span 5;
  }

  .proyecto-tarjeta-amplia .proyecto-tarjeta-imagen {
    aspect-ratio: 18 / 10;
  }
}

@media (max-width: 639px) {
  .proyectos-collage {
    min-height: 21rem;
  }

  .proyectos-collage-principal {
    inset: 0 1.5rem 2.6rem 0;
  }

  .proyectos-collage-secundario {
    width: 48%;
    height: 38%;
    border-width: 0.35rem;
  }

  .proyectos-collage-sello {
    top: 0.75rem;
    padding: 0.6rem 0.75rem;
    font-size: 0.58rem;
  }
}

@keyframes muestra-proyecto-entrada {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.presentacion-proyectos {
  position: relative;
}

.presentacion-proyectos::before {
  content: "VEMIX";
  position: absolute;
  z-index: -1;
  top: 0.5rem;
  right: -1rem;
  color: rgba(10, 164, 216, 0.045);
  font-size: clamp(7rem, 21vw, 19rem);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.09em;
  pointer-events: none;
}

.presentacion-proyectos-cabecera {
  position: relative;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.dark .presentacion-proyectos-cabecera {
  border-color: rgba(255, 255, 255, 0.1);
}

.presentacion-proyectos-cabecera h1 span {
  color: #0aa4d8;
}

.proyectos-muestra {
  display: grid;
  gap: 1.25rem;
}

.proyectos-muestra-rejilla {
  display: grid;
  gap: 1.25rem;
}

.proyecto-muestra {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 2.25rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 70px rgba(7, 23, 42, 0.1);
  animation: muestra-proyecto-entrada 700ms ease both;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.proyecto-muestra:nth-child(2) {
  animation-delay: 80ms;
}

.proyecto-muestra:nth-child(3) {
  animation-delay: 160ms;
}

.proyecto-muestra:nth-child(4) {
  animation-delay: 240ms;
}

.dark .proyecto-muestra {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(15, 31, 50, 0.94);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.proyecto-muestra:hover {
  border-color: rgba(10, 164, 216, 0.45);
  box-shadow: 0 34px 100px rgba(10, 164, 216, 0.17);
  transform: translateY(-7px);
}

.proyecto-muestra-imagen {
  position: relative;
  min-height: 20rem;
  overflow: hidden;
  background: #07172a;
}

.proyecto-muestra-imagen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 23, 42, 0.02) 35%, rgba(7, 23, 42, 0.72) 100%);
  pointer-events: none;
}

.proyecto-muestra-imagen img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 450ms ease;
}

.proyecto-muestra:hover .proyecto-muestra-imagen img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.proyecto-muestra-estado {
  position: absolute;
  z-index: 1;
  color: #fff;
  font-weight: 900;
}

.proyecto-muestra-estado {
  right: 1.25rem;
  bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(7, 23, 42, 0.76);
  padding: 0.55rem 0.8rem;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  backdrop-filter: blur(14px);
}

.proyecto-muestra-contenido {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem;
}

.proyecto-muestra-categoria {
  color: #0aa4d8;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.proyecto-muestra h2 {
  margin-top: 0.75rem;
  color: #07172a;
  font-size: clamp(2rem, 4vw, 3.7rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.dark .proyecto-muestra h2 {
  color: #fff;
}

.proyecto-muestra-contenido > p:not(.proyecto-muestra-categoria) {
  margin-top: 1.15rem;
  max-width: 36rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.75;
}

.dark .proyecto-muestra-contenido > p:not(.proyecto-muestra-categoria) {
  color: #cbd5e1;
}

.proyecto-muestra-etiquetas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.proyecto-muestra-etiquetas span {
  border: 1px solid rgba(10, 164, 216, 0.18);
  border-radius: 999px;
  background: rgba(10, 164, 216, 0.08);
  padding: 0.45rem 0.7rem;
  color: #06739e;
  font-size: 0.66rem;
  font-weight: 900;
}

.dark .proyecto-muestra-etiquetas span {
  color: #7dd3fc;
}

.proyecto-muestra-seguridad .proyecto-muestra-categoria {
  color: #d97706;
}

.proyecto-muestra-identidad .proyecto-muestra-categoria {
  color: #8b5cf6;
}

@media (min-width: 768px) {
  .proyecto-muestra-destacado {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 0.8fr);
  }

  .proyecto-muestra-destacado .proyecto-muestra-imagen {
    min-height: 38rem;
  }

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

  .proyecto-muestra-vertical .proyecto-muestra-imagen {
    min-height: 30rem;
  }
}

@media (min-width: 1024px) {
  .proyectos-muestra-rejilla {
    grid-auto-flow: dense;
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .proyecto-muestra-vertical:not(.proyecto-muestra-identidad) {
    grid-column: span 5;
    grid-row: span 2;
  }

  .proyecto-muestra-horizontal {
    display: grid;
    grid-column: span 7;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }

  .proyecto-muestra-horizontal .proyecto-muestra-imagen {
    min-height: 22rem;
  }

  .proyecto-muestra-identidad {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
  }

  .proyecto-muestra-identidad .proyecto-muestra-imagen {
    min-height: 31rem;
  }

  .proyecto-muestra-identidad .proyecto-muestra-contenido {
    padding: 3rem;
  }
}

@media (max-width: 767px) {
  .presentacion-proyectos-cabecera {
    padding-bottom: 2rem;
  }

  .proyecto-muestra {
    border-radius: 1.75rem;
  }

  .proyecto-muestra-imagen {
    min-height: 18rem;
  }

  .proyecto-muestra-contenido {
    padding: 1.4rem;
  }
}

/* Presentacion editorial y uniforme de proyectos. */
.presentacion-proyectos::before {
  top: 2rem;
  right: 1rem;
  color: rgba(10, 164, 216, 0.055);
  font-size: clamp(6rem, 16vw, 13rem);
}

.presentacion-proyectos-cabecera {
  overflow: hidden;
  border: 1px solid rgba(186, 230, 253, 0.9);
  border-radius: 2.25rem;
  background:
    radial-gradient(circle at 92% 10%, rgba(10, 164, 216, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(232, 248, 253, 0.9));
  padding: clamp(2rem, 5vw, 4.25rem);
  box-shadow: 0 24px 80px rgba(7, 23, 42, 0.09);
}

.dark .presentacion-proyectos-cabecera {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 92% 10%, rgba(10, 164, 216, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(10, 164, 216, 0.07));
}

.presentacion-proyectos-cabecera h1 {
  font-size: clamp(3.4rem, 7vw, 6.2rem);
}

.proyectos-muestra {
  gap: 1.5rem;
}

.proyectos-muestra-rejilla {
  grid-auto-flow: row;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.proyecto-muestra,
.proyectos-muestra-rejilla .proyecto-muestra {
  display: flex;
  grid-column: auto;
  grid-row: auto;
  flex-direction: column;
  border-radius: 1.75rem;
  background: #fff;
  box-shadow: 0 18px 55px rgba(7, 23, 42, 0.08);
}

.proyecto-muestra::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 0.28rem;
  background: #0aa4d8;
}

.proyecto-muestra-infraestructura::before {
  background: #2563eb;
}

.proyecto-muestra-automatizacion::before {
  background: #14b8a6;
}

.proyecto-muestra-seguridad::before {
  background: #f59e0b;
}

.proyecto-muestra-identidad::before {
  background: #8b5cf6;
}

.dark .proyecto-muestra,
.dark .proyectos-muestra-rejilla .proyecto-muestra {
  background: rgba(15, 31, 50, 0.96);
}

.proyecto-muestra:hover {
  box-shadow: 0 28px 80px rgba(7, 23, 42, 0.14);
  transform: translateY(-5px);
}

.proyecto-muestra-destacado {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 0.65fr);
  min-height: 33rem;
}

.proyecto-muestra-destacado .proyecto-muestra-imagen {
  min-height: 33rem;
}

.proyecto-muestra-destacado .proyecto-muestra-contenido {
  background: #07172a;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.proyecto-muestra-destacado h2,
.dark .proyecto-muestra-destacado h2 {
  color: #fff;
  font-size: clamp(2.7rem, 4vw, 4.2rem);
}

.proyecto-muestra-destacado .proyecto-muestra-contenido > p:not(.proyecto-muestra-categoria) {
  color: #cbd5e1;
}

.proyecto-muestra-destacado .proyecto-muestra-etiquetas span {
  border-color: rgba(125, 211, 252, 0.22);
  background: rgba(10, 164, 216, 0.12);
  color: #7dd3fc;
}

.proyectos-muestra-rejilla .proyecto-muestra-imagen,
.proyectos-muestra-rejilla .proyecto-muestra-vertical .proyecto-muestra-imagen,
.proyectos-muestra-rejilla .proyecto-muestra-horizontal .proyecto-muestra-imagen,
.proyectos-muestra-rejilla .proyecto-muestra-identidad .proyecto-muestra-imagen {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.proyectos-muestra-rejilla .proyecto-muestra-contenido {
  min-height: 17.5rem;
  flex: 1;
  justify-content: flex-start;
  padding: 2rem;
}

.proyectos-muestra-rejilla .proyecto-muestra h2 {
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  line-height: 1;
}

.proyectos-muestra-rejilla .proyecto-muestra-etiquetas {
  margin-top: auto;
  padding-top: 1.5rem;
}

@media (max-width: 767px) {
  .presentacion-proyectos-cabecera {
    padding: 1.75rem;
  }

  .presentacion-proyectos-cabecera h1 {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  .proyectos-muestra-rejilla {
    grid-template-columns: 1fr;
  }

  .proyecto-muestra-destacado {
    display: flex;
    min-height: 0;
  }

  .proyecto-muestra-destacado .proyecto-muestra-imagen {
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .proyecto-muestra-destacado .proyecto-muestra-contenido,
  .proyectos-muestra-rejilla .proyecto-muestra-contenido {
    min-height: 0;
    padding: 1.5rem;
  }

  .proyectos-muestra-rejilla .proyecto-muestra-etiquetas {
    margin-top: 1.25rem;
    padding-top: 0;
  }
}

@keyframes tarjeta-proyecto-aparecer {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.portafolio-proyectos {
  position: relative;
}

.portafolio-proyectos::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -5rem;
  right: -10rem;
  width: 32rem;
  height: 32rem;
  border: 5rem solid rgba(10, 164, 216, 0.055);
  border-radius: 999px;
  pointer-events: none;
}

.portafolio-proyectos-cabecera {
  position: relative;
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(148, 163, 184, 0.32);
}

.dark .portafolio-proyectos-cabecera {
  border-color: rgba(255, 255, 255, 0.1);
}

.portafolio-proyectos-rejilla {
  display: grid;
  gap: 1.5rem;
}

.tarjeta-proyecto-visual {
  --acento-tarjeta: #0aa4d8;
  position: relative;
  isolation: isolate;
  min-height: 34rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 2rem;
  background: #dbeafe;
  box-shadow: 0 22px 65px rgba(7, 23, 42, 0.12);
  animation: tarjeta-proyecto-aparecer 650ms ease both;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.tarjeta-proyecto-visual:nth-child(2) {
  animation-delay: 70ms;
}

.tarjeta-proyecto-visual:nth-child(3) {
  animation-delay: 140ms;
}

.tarjeta-proyecto-visual:nth-child(4) {
  animation-delay: 210ms;
}

.tarjeta-proyecto-visual:nth-child(5) {
  animation-delay: 280ms;
}

.tarjeta-proyecto-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 32%, rgba(7, 23, 42, 0.3) 100%);
  pointer-events: none;
}

.tarjeta-proyecto-visual::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 1.25rem;
  right: 1.25rem;
  width: 3rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--acento-tarjeta);
  box-shadow: 0 0 24px color-mix(in srgb, var(--acento-tarjeta) 55%, transparent);
}

.tarjeta-proyecto-infraestructura {
  --acento-tarjeta: #2563eb;
}

.tarjeta-proyecto-automatizacion {
  --acento-tarjeta: #14b8a6;
}

.tarjeta-proyecto-seguridad {
  --acento-tarjeta: #f59e0b;
}

.tarjeta-proyecto-identidad {
  --acento-tarjeta: #8b5cf6;
}

.tarjeta-proyecto-visual:hover {
  border-color: color-mix(in srgb, var(--acento-tarjeta) 45%, transparent);
  box-shadow: 0 34px 90px rgba(7, 23, 42, 0.19);
  transform: translateY(-6px);
}

.tarjeta-proyecto-fondo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 500ms ease;
}

.tarjeta-proyecto-visual:hover .tarjeta-proyecto-fondo {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.02);
}

.tarjeta-proyecto-principal {
  min-height: 40rem;
}

.tarjeta-proyecto-panel {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  padding: clamp(1.35rem, 3vw, 2rem);
  color: #07172a;
  box-shadow: 0 22px 60px rgba(7, 23, 42, 0.22);
  backdrop-filter: blur(20px) saturate(1.25);
  transition: background 300ms ease, transform 300ms ease;
}

.dark .tarjeta-proyecto-panel {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(7, 23, 42, 0.86);
  color: #fff;
}

.tarjeta-proyecto-visual:hover .tarjeta-proyecto-panel {
  transform: translateY(-3px);
}

.tarjeta-proyecto-principal .tarjeta-proyecto-panel {
  right: auto;
  width: min(38rem, calc(100% - 2.5rem));
}

.tarjeta-proyecto-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.tarjeta-proyecto-meta > span {
  color: var(--acento-tarjeta);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.tarjeta-proyecto-meta strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dark .tarjeta-proyecto-meta strong {
  color: #cbd5e1;
}

.tarjeta-proyecto-meta i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--acento-tarjeta);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--acento-tarjeta) 13%, transparent);
}

.tarjeta-proyecto-panel :is(h2, h3) {
  margin-top: 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.tarjeta-proyecto-principal .tarjeta-proyecto-panel :is(h2, h3) {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}

.tarjeta-proyecto-panel > p {
  margin-top: 0.9rem;
  max-width: 34rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.7;
}

.dark .tarjeta-proyecto-panel > p {
  color: #cbd5e1;
}

.tarjeta-proyecto-etiquetas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin-top: 1.15rem;
}

.tarjeta-proyecto-etiquetas span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #334155;
  font-size: 0.68rem;
  font-weight: 800;
}

.dark .tarjeta-proyecto-etiquetas span {
  color: #e2e8f0;
}

.tarjeta-proyecto-etiquetas span:not(:first-child)::before {
  content: "";
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: var(--acento-tarjeta);
}

@media (min-width: 768px) {
  .portafolio-proyectos-rejilla {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tarjeta-proyecto-principal {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .portafolio-proyectos::before {
    top: -2rem;
    right: -14rem;
  }

  .tarjeta-proyecto-visual,
  .tarjeta-proyecto-principal {
    min-height: 35rem;
    border-radius: 1.65rem;
  }

  .tarjeta-proyecto-panel {
    right: 0.8rem;
    bottom: 0.8rem;
    left: 0.8rem;
    border-radius: 1.2rem;
    padding: 1.25rem;
  }

  .tarjeta-proyecto-principal .tarjeta-proyecto-panel {
    width: auto;
  }

  .tarjeta-proyecto-meta {
    align-items: flex-start;
  }
}

@media (max-width: 1024px) {
  .tarjeta-proyecto-visual,
  .tarjeta-proyecto-principal {
    display: flex;
    min-height: 0;
    flex-direction: column;
  }

  .tarjeta-proyecto-visual::before {
    display: none;
  }

  .tarjeta-proyecto-fondo {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .tarjeta-proyecto-panel,
  .tarjeta-proyecto-principal .tarjeta-proyecto-panel {
    position: relative;
    inset: auto;
    width: 100%;
    flex: 1;
    border: 0;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
  }

  .dark .tarjeta-proyecto-panel {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(15, 31, 50, 0.98);
  }

  .tarjeta-proyecto-visual:hover .tarjeta-proyecto-panel {
    transform: none;
  }
}

.nosotros-portada {
  position: relative;
}

.nosotros-portada::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -5rem;
  left: -12rem;
  width: 28rem;
  height: 28rem;
  border: 4rem solid rgba(10, 164, 216, 0.055);
  border-radius: 999px;
}

.nosotros-ficha > div {
  border-left: 2px solid #0aa4d8;
  padding-left: 1rem;
}

.nosotros-ficha span,
.nosotros-ficha strong {
  display: block;
}

.nosotros-ficha span {
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nosotros-ficha strong {
  margin-top: 0.35rem;
  color: #334155;
  font-size: 0.82rem;
}

.dark .nosotros-ficha strong {
  color: #e2e8f0;
}

.nosotros-portada-visual {
  position: relative;
  min-height: 38rem;
}

.nosotros-portada-principal,
.nosotros-portada-secundaria {
  position: absolute;
  overflow: hidden;
  background: #07172a;
  box-shadow: 0 28px 80px rgba(7, 23, 42, 0.22);
}

.nosotros-portada-principal {
  inset: 0 5rem 4rem 0;
  border-radius: 2.5rem;
}

.nosotros-portada-secundaria {
  right: 0;
  bottom: 0;
  width: 55%;
  height: 42%;
  border: 0.6rem solid #f8fafc;
  border-radius: 2rem;
  transform: rotate(2.5deg);
}

.dark .nosotros-portada-secundaria {
  border-color: #07172a;
}

.nosotros-portada-principal img,
.nosotros-portada-secundaria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 450ms ease;
}

.nosotros-portada-principal img {
  object-position: 42% center;
}

.nosotros-portada-visual:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.02);
}

.nosotros-portada-marca {
  position: absolute;
  top: 1.5rem;
  right: 0;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.85rem 1.1rem;
  color: #07172a;
  text-transform: uppercase;
  box-shadow: 0 16px 42px rgba(7, 23, 42, 0.18);
  backdrop-filter: blur(18px);
  transform: rotate(2deg);
}

.nosotros-portada-marca span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.nosotros-portada-marca strong {
  color: #0aa4d8;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
}

.nosotros-principios article {
  position: relative;
  border-top: 1px solid rgba(148, 163, 184, 0.34);
  padding: 1.75rem 0.5rem 0.5rem 0;
  transition: border-color 260ms ease, transform 260ms ease;
}

.dark .nosotros-principios article {
  border-color: rgba(255, 255, 255, 0.12);
}

.nosotros-principios article:hover {
  border-color: #0aa4d8;
  transform: translateY(-5px);
}

.nosotros-principio-icono {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 1rem;
  background: rgba(10, 164, 216, 0.1);
  color: #0aa4d8;
}

.nosotros-principio-icono svg {
  width: 1.5rem;
  height: 1.5rem;
}

.nosotros-principios h4 {
  margin-top: 1.5rem;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.nosotros-principios p {
  margin-top: 0.75rem;
  max-width: 23rem;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.7;
}

.dark .nosotros-principios p {
  color: #cbd5e1;
}

.nosotros-historia-imagen {
  position: relative;
  min-height: 43rem;
  overflow: hidden;
  border-radius: 2.5rem;
  background: #07172a;
  box-shadow: 0 28px 90px rgba(7, 23, 42, 0.17);
}

.nosotros-historia-imagen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 23, 42, 0.72));
  pointer-events: none;
}

.nosotros-historia-imagen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nosotros-historia-imagen figcaption {
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.2rem;
  background: rgba(7, 23, 42, 0.7);
  padding: 1rem 1.15rem;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  backdrop-filter: blur(16px);
}

.nosotros-perfil {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.dark .nosotros-perfil {
  border-color: rgba(255, 255, 255, 0.1);
}

.nosotros-perfil > div {
  display: grid;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.1rem 0;
}

.dark .nosotros-perfil > div {
  border-color: rgba(255, 255, 255, 0.1);
}

.nosotros-perfil dt {
  color: #0aa4d8;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nosotros-perfil dd {
  color: #475569;
  line-height: 1.65;
}

.dark .nosotros-perfil dd {
  color: #cbd5e1;
}

.nosotros-proposito {
  display: grid;
  color: #fff;
  background:
    radial-gradient(circle at 50% 50%, rgba(10, 164, 216, 0.22), transparent 28%),
    linear-gradient(135deg, #061323, #092b43);
  box-shadow: 0 30px 90px rgba(7, 23, 42, 0.25);
}

.nosotros-proposito-marca {
  display: grid;
  min-height: 12rem;
  place-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nosotros-proposito-marca img {
  width: 7rem;
  height: 7rem;
  border-radius: 2rem;
  object-fit: contain;
  box-shadow: 0 22px 55px rgba(10, 164, 216, 0.25);
}

.nosotros-proposito article {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.nosotros-proposito article + article {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nosotros-proposito article p {
  color: #38bdf8;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.nosotros-proposito article h3 {
  margin-top: 1rem;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.nosotros-cultura-tarjeta {
  position: relative;
  display: grid;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 2.75rem;
  background: #fff;
  box-shadow: 0 34px 100px rgba(7, 23, 42, 0.14);
}

.nosotros-cultura-tarjeta::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -8rem;
  bottom: -10rem;
  width: 28rem;
  height: 28rem;
  border: 4.5rem solid rgba(10, 164, 216, 0.055);
  border-radius: 999px;
  pointer-events: none;
}

.dark .nosotros-cultura-tarjeta {
  border-color: rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(15, 31, 50, 0.98), rgba(7, 23, 42, 0.98));
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.3);
}

.nosotros-cultura figure {
  position: relative;
  min-height: 44rem;
  overflow: hidden;
  background: #07172a;
}

.nosotros-cultura figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(3, 16, 30, 0.88) 100%);
  pointer-events: none;
}

.nosotros-cultura figure img {
  width: 100%;
  height: 100%;
  min-height: 44rem;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.75, 0.2, 1), filter 500ms ease;
}

.nosotros-cultura-tarjeta:hover figure img {
  filter: saturate(1.07) contrast(1.02);
  transform: scale(1.035);
}

.nosotros-cultura figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 3vw, 2rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
  left: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 1.25rem;
  color: #fff;
  background: rgba(7, 23, 42, 0.68);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(1.15);
}

.nosotros-cultura figcaption span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #7dd3fc;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.nosotros-cultura figcaption i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #38bdf8;
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.14);
}

.nosotros-cultura figcaption strong {
  display: block;
  margin-top: 0.7rem;
  max-width: 26rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.nosotros-cultura-contenido {
  position: relative;
  z-index: 1;
  min-width: 0;
  align-self: center;
  padding: clamp(2rem, 4.5vw, 4.25rem);
}

.nosotros-cultura-cabecera {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nosotros-cultura-cabecera p {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #0aa4d8;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.nosotros-cultura-cabecera p span {
  width: 2.25rem;
  height: 2px;
  border-radius: 999px;
  background: #0aa4d8;
}

.nosotros-cultura-cabecera small {
  border: 1px solid rgba(10, 164, 216, 0.2);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  color: #06739e;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(10, 164, 216, 0.08);
}

.dark .nosotros-cultura-cabecera small {
  color: #7dd3fc;
}

.nosotros-cultura-contenido > h3 {
  margin-top: 1.6rem;
  max-width: 42rem;
  font-size: clamp(2.5rem, 4.2vw, 4.75rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.nosotros-cultura-contenido > h3 span {
  color: #0aa4d8;
}

.nosotros-cultura-resumen {
  margin-top: 1.5rem;
  max-width: 39rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.75;
}

.dark .nosotros-cultura-resumen {
  color: #cbd5e1;
}

.nosotros-valores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.nosotros-valores > li {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 1.25rem;
  padding: 1rem;
  background: rgba(248, 250, 252, 0.86);
  transition: border-color 240ms ease, background 240ms ease, box-shadow 240ms ease, transform 240ms ease;
}

.nosotros-valores > li::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #0aa4d8, transparent 72%);
  opacity: 0.55;
}

.nosotros-valores > li:hover {
  border-color: rgba(10, 164, 216, 0.42);
  background: rgba(232, 248, 253, 0.72);
  box-shadow: 0 16px 38px rgba(10, 164, 216, 0.11);
  transform: translateY(-3px);
}

.dark .nosotros-valores > li {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

.dark .nosotros-valores > li:hover {
  border-color: rgba(56, 189, 248, 0.34);
  background: rgba(56, 189, 248, 0.08);
}

.nosotros-valor-indice {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.7rem;
  color: #06739e;
  font-size: 0.62rem;
  font-weight: 900;
  background: rgba(10, 164, 216, 0.12);
}

.dark .nosotros-valor-indice {
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.12);
}

.nosotros-valores strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.35;
}

.nosotros-valores p {
  margin-top: 0.4rem;
  color: #64748b;
  font-size: 0.75rem;
  line-height: 1.6;
}

.dark .nosotros-valores p {
  color: #cbd5e1;
}

@media (min-width: 1024px) {
  .nosotros-cultura-tarjeta {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }
}

/* Contacto: canales directos y formulario temporalmente deshabilitado. */
.contacto-seccion {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  background:
    radial-gradient(circle at 5% 24%, rgba(10, 164, 216, 0.22), transparent 28rem),
    radial-gradient(circle at 95% 82%, rgba(14, 116, 144, 0.16), transparent 26rem),
    linear-gradient(145deg, #061323 0%, #071a2e 52%, #061323 100%);
}

.contacto-seccion::before,
.contacto-seccion::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
}

.contacto-seccion::before {
  top: 10rem;
  left: -14rem;
  width: 34rem;
  height: 34rem;
  border: 5rem solid rgba(56, 189, 248, 0.055);
}

.contacto-seccion::after {
  right: -10rem;
  bottom: -14rem;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(56, 189, 248, 0.14);
  box-shadow: 0 0 0 5rem rgba(56, 189, 248, 0.025);
}

.contacto-contenido {
  position: relative;
  z-index: 1;
}

.contacto-indicador {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #bae6fd;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.contacto-indicador span {
  width: 2.8rem;
  height: 1px;
  background: #38bdf8;
}

.contacto-canales {
  display: grid;
  gap: 1rem;
}

.contacto-canal {
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  transition: border-color 260ms ease, background 260ms ease, transform 260ms ease;
}

.contacto-canal:hover {
  border-color: rgba(56, 189, 248, 0.58);
  background: rgba(255, 255, 255, 0.085);
  transform: translateY(-4px);
}

.contacto-canal-principal {
  position: relative;
  display: flex;
  min-height: 19rem;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 2.25rem;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  background: linear-gradient(145deg, #0aa4d8, #087ba7);
  box-shadow: 0 26px 70px rgba(10, 164, 216, 0.22);
}

.contacto-canal-principal::after {
  content: "";
  position: absolute;
  right: -7rem;
  bottom: -8rem;
  width: 22rem;
  height: 22rem;
  border: 3.5rem solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  pointer-events: none;
}

.contacto-canal-principal > * {
  position: relative;
  z-index: 1;
}

.contacto-canal-icono {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 1.1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
}

.contacto-canal-icono svg {
  width: 1.55rem;
  height: 1.55rem;
}

.contacto-canal-etiqueta {
  display: block;
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.67rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.contacto-canal-principal strong {
  display: block;
  margin-top: 0.55rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.contacto-canal-principal p {
  margin-top: 1rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.contacto-canal-accion {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.contacto-canal-accion svg {
  width: 1.2rem;
  height: 1.2rem;
  transition: transform 220ms ease;
}

.contacto-canal-principal:hover .contacto-canal-accion svg {
  transform: translateX(4px);
}

.contacto-canal-secundario {
  display: block;
  min-width: 0;
  border-radius: 1.6rem;
  padding: 1.35rem;
}

.contacto-canal-secundario .contacto-canal-icono {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.95rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
}

.contacto-canal-secundario .contacto-canal-etiqueta {
  margin-top: 1.25rem;
  color: #7dd3fc;
}

.contacto-canal-secundario strong {
  display: block;
  margin-top: 0.45rem;
  overflow-wrap: anywhere;
  font-size: 0.93rem;
  line-height: 1.55;
}

.contacto-datos {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.6rem;
  font-style: normal;
  background: rgba(255, 255, 255, 0.035);
}

.contacto-datos > * {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  padding: 1.25rem 1.35rem;
}

.contacto-datos > * + * {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contacto-datos span {
  color: #7dd3fc;
  font-size: 0.64rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.contacto-datos strong {
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  line-height: 1.55;
}

.contacto-datos a {
  transition: background 220ms ease;
}

.contacto-datos a:hover {
  background: rgba(56, 189, 248, 0.08);
}

.contacto-formulario {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

.contacto-formulario-cabecera {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.75rem;
}

.contacto-formulario-cabecera p {
  color: #38bdf8;
  font-size: 0.67rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.contacto-formulario-cabecera h3 {
  margin-top: 0.55rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.contacto-formulario-cabecera > span {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 1rem;
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 900;
  background: rgba(56, 189, 248, 0.08);
}

.contacto-campos {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.8rem;
}

.contacto-campo {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
}

.contacto-campo > span {
  color: #bae6fd;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.contacto-control {
  width: 100%;
  min-height: 3.45rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 1rem;
  outline: 0;
  padding: 0.9rem 1rem;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  background: rgba(3, 16, 30, 0.58);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.contacto-control:hover {
  border-color: rgba(125, 211, 252, 0.34);
}

.contacto-control:focus {
  border-color: #38bdf8;
  background: rgba(3, 16, 30, 0.8);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.contacto-control::placeholder {
  color: #718096;
  opacity: 1;
}

.contacto-control option {
  color: #fff;
  background: #07172a;
}

textarea.contacto-control {
  min-height: 10rem;
  resize: vertical;
  line-height: 1.65;
}

.contacto-form-boton {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
  border-radius: 999px;
  padding: 1rem 1.35rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  background: #0aa4d8;
  box-shadow: 0 18px 44px rgba(10, 164, 216, 0.22);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.contacto-form-boton:hover {
  background: #0786b5;
  box-shadow: 0 22px 52px rgba(10, 164, 216, 0.3);
  transform: translateY(-3px);
}

.contacto-form-boton:focus-visible {
  outline: 3px solid rgba(125, 211, 252, 0.45);
  outline-offset: 4px;
}

.contacto-form-boton:disabled,
.contacto-form-boton:disabled:hover {
  cursor: not-allowed;
  color: #cbd5e1;
  background: #475569;
  box-shadow: none;
  opacity: 0.72;
  transform: none;
}

.contacto-form-boton svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contacto-form-nota {
  margin-top: 1rem;
  color: #94a3b8;
  font-size: 0.72rem;
  line-height: 1.65;
  text-align: center;
}

/* Pie de pagina compartido: llamada final, mapa del sitio y contacto. */
.pie-sitio {
  position: relative;
  z-index: 10;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  background:
    radial-gradient(circle at 8% 0%, rgba(10, 164, 216, 0.13), transparent 25rem),
    linear-gradient(180deg, #040e1a 0%, #020911 100%);
}

.pie-sitio::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -15rem;
  bottom: -17rem;
  width: 42rem;
  height: 42rem;
  border: 1px solid rgba(56, 189, 248, 0.11);
  border-radius: 999px;
  box-shadow: 0 0 0 6rem rgba(56, 189, 248, 0.018);
  pointer-events: none;
}

.pie-sitio-contenido {
  position: relative;
  z-index: 2;
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.pie-sitio-marca-fondo {
  position: absolute;
  z-index: 0;
  right: -0.04em;
  bottom: -0.25em;
  color: rgba(255, 255, 255, 0.018);
  font-size: clamp(9rem, 24vw, 23rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  pointer-events: none;
  user-select: none;
}

.pie-sitio-llamada {
  position: relative;
  display: grid;
  gap: 2rem;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 2.35rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  color: #fff;
  background:
    radial-gradient(circle at 88% 25%, rgba(255, 255, 255, 0.16), transparent 14rem),
    linear-gradient(135deg, #0aa4d8 0%, #087ba7 62%, #075f84 100%);
  box-shadow: 0 28px 80px rgba(10, 164, 216, 0.17);
}

.pie-sitio-llamada::after {
  content: "";
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  width: 20rem;
  height: 20rem;
  border: 3rem solid rgba(255, 255, 255, 0.075);
  border-radius: 999px;
  pointer-events: none;
}

.pie-sitio-llamada > * {
  position: relative;
  z-index: 1;
}

.pie-sitio-llamada p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.pie-sitio-llamada h2 {
  margin-top: 0.65rem;
  max-width: 52rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.pie-sitio-llamada > a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  align-self: end;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 1rem 1.3rem;
  color: #07172a;
  font-size: 0.78rem;
  font-weight: 900;
  background: #fff;
  box-shadow: 0 15px 35px rgba(7, 23, 42, 0.15);
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.pie-sitio-llamada > a:hover {
  color: #fff;
  background: #07172a;
  transform: translateY(-3px);
}

.pie-sitio-llamada > a svg {
  width: 1.2rem;
  height: 1.2rem;
}

.pie-sitio-grid {
  display: grid;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.pie-sitio-identidad {
  min-width: 0;
}

.pie-sitio-logo {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.pie-sitio-logo img {
  width: 4.4rem;
  height: 4.4rem;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 1.45rem;
  object-fit: contain;
  box-shadow: 0 18px 45px rgba(10, 164, 216, 0.2);
}

.pie-sitio-logo span {
  display: block;
}

.pie-sitio-logo strong,
.pie-sitio-logo small {
  display: block;
  font-weight: 900;
  text-transform: uppercase;
}

.pie-sitio-logo strong {
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: 0.2em;
}

.pie-sitio-logo small {
  margin-top: 0.5rem;
  color: #38bdf8;
  font-size: 0.66rem;
  letter-spacing: 0.34em;
}

.pie-sitio-identidad > p {
  margin-top: 1.5rem;
  max-width: 24rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.8;
}

.pie-sitio-redes {
  margin-top: 1.4rem;
}

.pie-sitio-redes > span {
  display: block;
  color: #64748b;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.pie-sitio-redes-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.pie-sitio-redes-lista a {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 0.85rem;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.07);
  transition: border-color 220ms ease, color 220ms ease, background 220ms ease, transform 220ms ease;
}

.pie-sitio-redes-lista a:hover {
  border-color: rgba(56, 189, 248, 0.45);
  color: #fff;
  background: #0aa4d8;
  transform: translateY(-3px);
}

.pie-sitio-redes-lista a:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.3);
  outline-offset: 3px;
}

.pie-sitio-redes-lista svg {
  width: 1.1rem;
  height: 1.1rem;
}

.pie-sitio-redes-lista svg path {
  fill: currentColor;
}

.pie-sitio-ubicacion {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 1.35rem;
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 800;
}

.pie-sitio-ubicacion svg {
  width: 1.1rem;
  height: 1.1rem;
  color: #38bdf8;
}

.pie-sitio-grupo {
  min-width: 0;
  font-style: normal;
}

.pie-sitio-grupo h3 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #7dd3fc;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.19em;
}

.pie-sitio-grupo h3::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: #0aa4d8;
}

.pie-sitio-enlaces {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.pie-sitio-enlaces a {
  position: relative;
  width: fit-content;
  color: #94a3b8;
  font-size: 0.84rem;
  font-weight: 750;
  transition: color 220ms ease, transform 220ms ease;
}

.pie-sitio-enlaces a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -1rem;
  width: 0;
  height: 1px;
  background: #38bdf8;
  transition: width 220ms ease;
}

.pie-sitio-enlaces a:hover,
.pie-sitio-enlaces a.is-current {
  color: #fff;
  transform: translateX(0.5rem);
}

.pie-sitio-enlaces a:hover::before,
.pie-sitio-enlaces a.is-current::before {
  width: 0.65rem;
}

.pie-sitio-areas a {
  color: #aebccc;
}

.pie-sitio-contacto {
  display: grid;
  align-self: start;
  align-content: start;
  gap: 0.65rem;
}

.pie-sitio-contacto h3 {
  margin-bottom: 0.45rem;
}

.pie-sitio-contacto-linea {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem;
  border-radius: 1rem;
  padding: 0.6rem;
  transition: background 220ms ease;
}

.pie-sitio-contacto-linea:hover {
  background: rgba(56, 189, 248, 0.07);
}

.pie-sitio-contacto-linea > span:first-child {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 0.8rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.07);
}

.pie-sitio-contacto-linea svg {
  width: 1.1rem;
  height: 1.1rem;
}

.pie-sitio-contacto-linea small,
.pie-sitio-contacto-linea strong {
  display: block;
}

.pie-sitio-contacto-linea small {
  color: #64748b;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.pie-sitio-contacto-linea strong {
  margin-top: 0.25rem;
  overflow-wrap: anywhere;
  color: #cbd5e1;
  font-size: 0.76rem;
  line-height: 1.45;
}

.pie-sitio-whatsapp {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  background: #0aa4d8;
  box-shadow: 0 14px 34px rgba(10, 164, 216, 0.18);
  transition: background 220ms ease, transform 220ms ease;
}

.pie-sitio-whatsapp:hover {
  background: #0786b5;
  transform: translateY(-2px);
}

.pie-sitio-whatsapp svg {
  width: 1rem;
  height: 1rem;
}

.pie-sitio-oficinas-lista {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.pie-sitio-oficina {
  display: grid;
  min-width: 0;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: start;
  gap: 0.65rem;
}

.pie-sitio-oficina + .pie-sitio-oficina {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 0.65rem;
}

.pie-sitio-oficina > svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
  color: #38bdf8;
}

.pie-sitio-oficina strong,
.pie-sitio-oficina small {
  display: block;
}

.pie-sitio-oficina strong {
  overflow-wrap: anywhere;
  color: #cbd5e1;
  font-size: 0.73rem;
  line-height: 1.4;
}

.pie-sitio-oficina small {
  margin-top: 0.12rem;
  color: #64748b;
  font-size: 0.57rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.pie-sitio-final {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0 1.8rem;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 750;
}

.pie-sitio-final > a,
.pie-sitio-estado {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.pie-sitio-estado span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #0aa4d8;
  box-shadow: 0 0 0 4px rgba(10, 164, 216, 0.1);
}

.pie-sitio-final > a {
  width: fit-content;
  color: #94a3b8;
  transition: color 220ms ease;
}

.pie-sitio-final > a:hover {
  color: #fff;
}

.pie-sitio-final > a svg {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 640px) {
  .nosotros-perfil > div {
    grid-template-columns: 8rem 1fr;
    align-items: baseline;
  }

  .contacto-datos {
    grid-template-columns: 1fr 1.2fr;
  }

  .contacto-datos > * + * {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .contacto-campo-ancho {
    grid-column: 1 / -1;
  }

  .pie-sitio-llamada {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

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

  .pie-sitio-final {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  a.boton-contacto-escritorio {
    min-height: 4.5rem;
    padding: 1.25rem 2.25rem;
    font-size: 1.05rem;
  }

  a.boton-contacto-escritorio svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .contacto-canal-accion {
    gap: 0.8rem;
    font-size: 1.05rem;
  }

  .contacto-canal-accion svg {
    width: 1.35rem;
    height: 1.35rem;
  }

  .nosotros-proposito {
    grid-template-columns: 0.35fr 1fr 1fr;
  }

  .nosotros-proposito-marca {
    min-height: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
  }

  .nosotros-proposito article + article {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .pie-sitio-grid {
    grid-template-columns: 1.05fr 1fr 0.72fr 1.1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
  }

  .pie-sitio-identidad {
    grid-column: auto;
  }

  .pie-sitio-final {
    padding-right: 4.5rem;
  }
}

@media (max-width: 767px) {
  .nosotros-portada-visual {
    min-height: 28rem;
  }

  .nosotros-portada-principal {
    inset: 0 2rem 3.5rem 0;
    border-radius: 2rem;
  }

  .nosotros-portada-secundaria {
    width: 58%;
    height: 38%;
    border-width: 0.4rem;
    border-radius: 1.4rem;
  }

  .nosotros-portada-marca {
    top: 0.8rem;
    padding: 0.65rem 0.8rem;
  }

  .nosotros-historia-imagen {
    min-height: 32rem;
    border-radius: 2rem;
  }

  .nosotros-cultura figure,
  .nosotros-cultura figure img {
    min-height: 27rem;
  }

  .nosotros-cultura-tarjeta {
    border-radius: 2rem;
  }

  .nosotros-cultura figcaption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    border-radius: 1.2rem;
    padding: 1rem;
  }

  .nosotros-cultura-contenido {
    padding: 1.65rem;
  }

  .nosotros-cultura-contenido > h3 {
    font-size: clamp(2.2rem, 9.2vw, 2.6rem);
    line-height: 0.98;
  }

  .nosotros-valores {
    grid-template-columns: 1fr;
  }

  .nosotros-valores > li {
    border-radius: 1.1rem;
  }

  .contacto-canal-principal {
    min-height: 21rem;
  }

  .contacto-canal-principal strong {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .contacto-formulario {
    border-radius: 2rem;
  }

  .pie-sitio-llamada {
    border-radius: 2rem;
  }

  .pie-sitio-grupo {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
  }
}

/* El switch gobierna tambien las superficies editoriales que antes eran siempre oscuras. */

.dark .tarjeta-proyecto-visual {
  background: #07172a;
}

html:not(.dark) .nosotros-proposito {
  border: 1px solid rgba(186, 230, 253, 0.9);
  color: #07172a;
  background:
    radial-gradient(circle at 50% 50%, rgba(10, 164, 216, 0.12), transparent 30%),
    linear-gradient(135deg, #fff, #e8f8fd);
  box-shadow: 0 24px 70px rgba(7, 23, 42, 0.1);
}

html:not(.dark) .nosotros-proposito-marca,
html:not(.dark) .nosotros-proposito article + article {
  border-color: rgba(148, 163, 184, 0.24);
}

html:not(.dark) .nosotros-proposito article p {
  color: #06739e;
}

html:not(.dark) .contacto-seccion {
  border-color: rgba(148, 163, 184, 0.28);
  color: #07172a;
  background:
    radial-gradient(circle at 5% 24%, rgba(10, 164, 216, 0.13), transparent 28rem),
    radial-gradient(circle at 95% 82%, rgba(14, 116, 144, 0.08), transparent 26rem),
    linear-gradient(145deg, #f8fafc 0%, #fff 52%, #eefaff 100%);
}

html:not(.dark) .contacto-indicador {
  color: #06739e;
}

html:not(.dark) .contacto-canal-secundario {
  border-color: rgba(203, 213, 225, 0.9);
  color: #07172a;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(7, 23, 42, 0.06);
}

html:not(.dark) .contacto-canal-secundario:hover {
  border-color: rgba(10, 164, 216, 0.48);
  background: #fff;
}

html:not(.dark) .contacto-canal-secundario .contacto-canal-icono {
  border-color: rgba(10, 164, 216, 0.2);
  color: #06739e;
  background: rgba(10, 164, 216, 0.09);
}

html:not(.dark) .contacto-canal-secundario .contacto-canal-etiqueta,
html:not(.dark) .contacto-datos span,
html:not(.dark) .contacto-formulario-cabecera p {
  color: #06739e;
}

html:not(.dark) .contacto-datos {
  border-color: rgba(203, 213, 225, 0.9);
  color: #334155;
  background: rgba(255, 255, 255, 0.74);
}

html:not(.dark) .contacto-datos > * + * {
  border-color: rgba(203, 213, 225, 0.9);
}

html:not(.dark) .contacto-datos a:hover {
  background: rgba(10, 164, 216, 0.07);
}

html:not(.dark) .contacto-formulario {
  border-color: rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 75px rgba(7, 23, 42, 0.1);
}

html:not(.dark) .contacto-formulario-cabecera {
  border-color: rgba(203, 213, 225, 0.9);
}

html:not(.dark) .contacto-formulario-cabecera > span {
  border-color: rgba(10, 164, 216, 0.24);
  color: #06739e;
  background: rgba(10, 164, 216, 0.08);
}

html:not(.dark) .contacto-campo > span {
  color: #334155;
}

html:not(.dark) .contacto-control {
  border-color: #cbd5e1;
  color: #07172a;
  background: rgba(248, 250, 252, 0.92);
}

html:not(.dark) .contacto-control:focus {
  border-color: #0aa4d8;
  background: #fff;
}

html:not(.dark) .contacto-control::placeholder {
  color: #64748b;
}

html:not(.dark) .contacto-control option {
  color: #07172a;
  background: #fff;
}

html:not(.dark) .contacto-form-nota {
  color: #64748b;
}

html:not(.dark) .pie-sitio {
  border-color: rgba(203, 213, 225, 0.9);
  color: #07172a;
  background:
    radial-gradient(circle at 8% 0%, rgba(10, 164, 216, 0.1), transparent 25rem),
    linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

html:not(.dark) .pie-sitio::before {
  border-color: rgba(10, 164, 216, 0.09);
  box-shadow: 0 0 0 6rem rgba(10, 164, 216, 0.018);
}

html:not(.dark) .pie-sitio-marca-fondo {
  color: rgba(7, 23, 42, 0.025);
}

html:not(.dark) .pie-sitio-grid,
html:not(.dark) .pie-sitio-grupo,
html:not(.dark) .pie-sitio-oficina + .pie-sitio-oficina {
  border-color: rgba(203, 213, 225, 0.8);
}

html:not(.dark) .pie-sitio-logo small,
html:not(.dark) .pie-sitio-grupo h3,
html:not(.dark) .pie-sitio-oficina > svg,
html:not(.dark) .pie-sitio-ubicacion svg {
  color: #06739e;
}

html:not(.dark) .pie-sitio-identidad > p,
html:not(.dark) .pie-sitio-final {
  color: #64748b;
}

html:not(.dark) .pie-sitio-ubicacion,
html:not(.dark) .pie-sitio-contacto-linea strong,
html:not(.dark) .pie-sitio-oficina strong {
  color: #334155;
}

html:not(.dark) .pie-sitio-enlaces a,
html:not(.dark) .pie-sitio-areas a,
html:not(.dark) .pie-sitio-final > a {
  color: #475569;
}

html:not(.dark) .pie-sitio-enlaces a:hover,
html:not(.dark) .pie-sitio-enlaces a.is-current,
html:not(.dark) .pie-sitio-final > a:hover {
  color: #06739e;
}

html:not(.dark) .pie-sitio-contacto-linea > span:first-child {
  border-color: rgba(10, 164, 216, 0.2);
  color: #06739e;
  background: rgba(10, 164, 216, 0.07);
}

html:not(.dark) .pie-sitio-redes-lista a {
  border-color: rgba(10, 164, 216, 0.2);
  color: #06739e;
  background: rgba(10, 164, 216, 0.07);
}

html:not(.dark) .pie-sitio-redes-lista a:hover {
  color: #fff;
  background: #0aa4d8;
}

.process-route {
  counter-reset: process-step;
}

.process-step {
  counter-increment: process-step;
}

.process-node::before {
  content: counter(process-step, decimal-leading-zero);
}

.process-route-path {
  stroke-dasharray: 18 18;
  stroke-dashoffset: 900;
  animation: route-draw 5.5s ease-in-out infinite alternate;
}

.process-node {
  animation: node-glow 3.2s ease-in-out infinite;
}

.process-step:nth-of-type(2) .process-node {
  animation-delay: 260ms;
}

.process-step:nth-of-type(3) .process-node {
  animation-delay: 520ms;
}

.process-step-card {
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.process-step-card:hover {
  border-color: rgba(10, 164, 216, 0.45);
  box-shadow: 0 28px 80px rgba(10, 164, 216, 0.2);
  transform: translateY(-6px);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  .theme-flash-light,
  .theme-flash-dark,
  .slogan-bienvenida-progreso {
    animation: none;
  }

  .slogan-bienvenida,
  .slogan-bienvenida-tarjeta {
    transition: none;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .proyecto-muestra,
  .proyecto-muestra-imagen img,
  .tarjeta-proyecto-visual,
  .tarjeta-proyecto-fondo,
  .tarjeta-proyecto-panel {
    animation: none;
    transition: none;
  }

  .process-route-path,
  .process-node,
  .voice-decoration.is-reacting-to-voice,
  .voice-decoration.is-orbiting,
  .voice-loading-orb,
  .voice-loading-ring,
  .voice-hero-stage.voice-sequence-login .voice-login-panel,
  .voice-hero-stage.switch-sequence-login .voice-login-panel,
  .voice-hero-stage.switch-sequence-igniting .theme-gate-flash,
  .voice-hero-stage.switch-sequence-igniting .theme-gate-beam,
  .voice-hero-stage.switch-sequence-igniting .theme-gate-spark {
    animation: none;
  }
}
