html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

#inicio h1 {
  font-size: clamp(2.15rem, 3.8vw, 3.75rem);
  line-height: 1.08;
}

#servicios h2,
#metodo h2,
#proyectos h2,
#stack h2,
#contacto h2 {
  font-size: clamp(1.75rem, 2.45vw, 2.65rem);
  line-height: 1.14;
}

#contacto h2 {
  max-width: 40rem;
}

#inicio p,
#contacto p {
  font-size: clamp(.96rem, 1.1vw, 1.05rem);
  line-height: 1.75;
}

#inicio .max-w-3xl {
  max-width: 42rem;
}

#siteHeader.header-solid {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(9, 11, 16, .76);
  box-shadow: 0 16px 50px rgba(0, 0, 0, .26);
  backdrop-filter: blur(18px);
}

.nav-link {
  display: block;
  border-radius: 8px;
  padding: .7rem .9rem;
  color: rgb(203 213 225);
  font-size: .9rem;
  font-weight: 600;
  transition: color .2s ease, background .2s ease;
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, .08);
}

.section-kicker {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.metric-box {
  min-height: 74px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  padding: .85rem;
}

.metric-box span,
.metric-box small {
  display: block;
}

.metric-box span {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 800;
  color: white;
}

.metric-box small {
  margin-top: .25rem;
  color: rgb(148 163 184);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.code-line {
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(24, 215, 195, .8), rgba(255, 255, 255, .12));
}

.tech-chip {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  padding: .55rem .45rem;
  text-align: center;
  font-size: .74rem;
  font-weight: 800;
  color: rgb(216 255 246);
}

.floating-panel {
  animation: floatPanel 7s ease-in-out infinite;
}

.floating-panel-delay {
  animation-delay: -2.8s;
}

.service-card,
.process-card,
.project-card {
  border-radius: 8px;
}

.service-card {
  min-height: 220px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: white;
  padding: 1.35rem;
  box-shadow: 0 20px 60px rgba(15, 23, 42, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, .22);
  box-shadow: 0 28px 80px rgba(15, 23, 42, .12);
}

.service-card i {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #0f766e;
  color: white;
}

.service-card h3,
.process-card h3,
.project-card h3 {
  margin-top: 1.05rem;
  font-size: .98rem;
  font-weight: 800;
}

.service-card p,
.process-card p,
.project-card p {
  margin-top: .7rem;
  color: rgb(71 85 105);
  font-size: .87rem;
  line-height: 1.65;
}

.parallax-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 70px 70px;
}

.process-card {
  min-height: 205px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .07);
  padding: 1.35rem;
  backdrop-filter: blur(12px);
}

.process-card span {
  color: #18d7c3;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.process-card p {
  color: rgb(148 163 184);
}

.project-card {
  min-height: 250px;
  padding: 1.4rem;
  position: relative;
  overflow: hidden;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(24, 215, 195, .22);
  filter: blur(12px);
}

.project-card i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .14);
}

.project-card p {
  max-width: 23rem;
  color: currentColor;
  opacity: .72;
}

.stack-pill {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  padding: .75rem .9rem;
  font-size: .9rem;
  font-weight: 800;
  box-shadow: 0 18px 46px rgba(15, 23, 42, .06);
}

.stack-pill i {
  color: #0f766e;
  font-size: 1.1rem;
}

.contact-row {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  padding: .85rem;
  color: white;
  font-size: .92rem;
  font-weight: 700;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.contact-row:hover {
  transform: translateY(-2px);
  border-color: rgba(24, 215, 195, .4);
  background: rgba(255, 255, 255, .13);
}

.contact-row i {
  color: #18d7c3;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: .7rem;
  border: 1px solid rgba(24, 215, 195, .34);
  border-radius: 999px;
  background: rgba(9, 11, 16, .78);
  color: white;
  padding: .75rem .9rem .75rem .8rem;
  font-size: .82rem;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 55px rgba(0, 0, 0, .32), 0 0 0 6px rgba(24, 215, 195, .06);
  backdrop-filter: blur(18px);
  cursor: default;
  transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(24, 215, 195, .7);
  background: rgba(15, 118, 110, .88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 22px 70px rgba(0, 0, 0, .38), 0 0 0 7px rgba(24, 215, 195, .1);
  outline: none;
}

.whatsapp-float i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #18d7c3;
  color: #08110f;
  font-size: 1.05rem;
}

.corporate-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: #070a0f;
  color: rgb(203 213 225);
  padding: 4.5rem 1.25rem 1.5rem;
}

.corporate-footer__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(24, 215, 195, .18), transparent 30%),
    radial-gradient(circle at 86% 26%, rgba(255, 255, 255, .08), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 36%);
  pointer-events: none;
}

.corporate-footer__inner,
.corporate-footer__bottom {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
}

.corporate-footer__inner {
  display: grid;
  gap: 3rem;
}

.corporate-footer__brand {
  max-width: 34rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: white;
  text-decoration: none;
}

.footer-logo__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  color: #18d7c3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 50px rgba(0, 0, 0, .25);
  backdrop-filter: blur(16px);
}

.footer-logo__text {
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-logo__text span {
  color: rgb(148 163 184);
  font-weight: 500;
}

.corporate-footer__brand p {
  margin-top: 1.25rem;
  color: rgb(148 163 184);
  font-size: .9rem;
  line-height: 1.7;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}

.footer-trust span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  padding: .55rem .75rem;
  color: rgb(216 255 246);
  font-size: .78rem;
  font-weight: 800;
}

.footer-trust i {
  color: #18d7c3;
}

.corporate-footer__links {
  display: grid;
  gap: 2rem;
}

.footer-column {
  display: grid;
  gap: .72rem;
}

.footer-column h3 {
  margin-bottom: .35rem;
  color: white;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column span {
  color: rgb(148 163 184);
  font-size: .86rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover {
  color: #18d7c3;
  transform: translateX(3px);
}

.footer-column--contact a,
.footer-column--contact span {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.footer-column--contact i {
  width: 1rem;
  color: #18d7c3;
}

.corporate-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 1.25rem;
  color: rgb(100 116 139);
  font-size: .82rem;
}

@media (min-width: 1280px) {
  #inicio .max-w-3xl {
    max-width: 40rem;
  }

  #inicio .min-h-\[520px\] {
    min-height: 440px;
  }
}

.corporate-footer__bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1rem;
}

.corporate-footer__bottom span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 1rem;
  border-radius: 999px;
  background: rgba(24, 215, 195, .6);
  vertical-align: middle;
}

@keyframes floatPanel {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -14px, 0);
  }
}

@media (min-width: 1024px) {
  #mainMenu {
    display: flex !important;
  }

  .corporate-footer {
    padding-inline: 2rem;
  }

  .corporate-footer__inner {
    grid-template-columns: .95fr 1.3fr;
    align-items: start;
  }

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

  .corporate-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .service-card,
  .process-card,
  .project-card {
    min-height: auto;
  }

  .whatsapp-float {
    right: .9rem;
    bottom: .9rem;
    min-height: 50px;
    padding: .72rem;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .corporate-footer {
    padding-bottom: 5.5rem;
  }

  .corporate-footer__bottom span + span::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floating-panel {
    animation: none;
  }

  * {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
