/* ===== FUENTES ===== */

@font-face {
  font-family: 'Garet';
  src: url('Fonto/Garet-Book.woff2') format('woff2'),
       url('Fonto/Garet-Book.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Garet';
  src: url('Fonto/Garet-Bold.woff2') format('woff2');
  font-weight: bold;
}

/* ===== RESET ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Garet', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  padding-top: 60px;
  background: #f6f6f6;
  overflow-x: hidden;
}

/* ===== MODAL DE BIENVENIDA ===== */

.fondo-modal-bienvenida {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(33, 21, 76, 0.74);
  backdrop-filter: blur(7px);
  scrollbar-width: none;
}

.fondo-modal-bienvenida::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.fondo-modal-bienvenida.oculto {
  display: none;
}

.caja-modal-bienvenida {
  position: relative;
  width: min(100%, 680px);
  max-height: calc(100vh - 40px);
  overflow: hidden auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 8%, rgba(123, 44, 255, 0.34), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(159, 92, 255, 0.28), transparent 28%),
    #050505;
  box-shadow: 0 24px 70px rgba(33, 21, 76, 0.42);
  scrollbar-width: none;
}

.caja-modal-bienvenida::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.caja-modal-bienvenida::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.caja-modal-bienvenida::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -92px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: rgba(123, 44, 255, 0.24);
  filter: blur(42px);
  transform: translateX(-50%);
  pointer-events: none;
}

.boton-cerrar-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #555;
  font-size: 33px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.boton-cerrar-modal:hover {
  transform: scale(1.05);
  background: white;
  color: #21154c;
}

.imagen-modal-bienvenida {
  position: relative;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(123, 44, 255, 0.86), rgba(33, 21, 76, 0.92)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 14px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
}

.imagen-modal-bienvenida::before {
  content: "sCode Digital Solutions";
  position: absolute;
  left: 26px;
  top: 24px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.imagen-modal-bienvenida::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -48px;
  width: 180px;
  height: 180px;
  border: 28px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.contenido-modal-bienvenida {
  position: relative;
  z-index: 2;
  padding: 42px 54px 52px;
  text-align: center;
}

.contenido-modal-bienvenida h2 {
  max-width: 560px;
  margin: 0 auto 16px;
  color: white;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.08;
}

.contenido-modal-bienvenida p {
  max-width: 520px;
  margin: 0 auto 32px;
  color: #f6f6f6;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.boton-modal-bienvenida {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 430px);
  min-height: 62px;
  padding: 15px 24px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7b2cff, #9f5cff);
  color: white;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 16px 34px rgba(123, 44, 255, 0.34);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.boton-modal-bienvenida:hover {
  transform: translateY(-3px);
  color: white;
  box-shadow: 0 20px 42px rgba(123, 44, 255, 0.44);
}

body.modal-bienvenida-abierto {
  overflow: hidden;
}

@media (max-width: 680px) {

  .fondo-modal-bienvenida {
    padding: 14px;
    align-items: flex-start;
    overflow-y: auto;
  }

  .caja-modal-bienvenida {
    margin-top: 12px;
    max-height: none;
    border-radius: 14px;
  }

  .boton-cerrar-modal {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 33px;
  }

  .imagen-modal-bienvenida {
    min-height: 168px;
    font-size: 27px;
  }

  .imagen-modal-bienvenida::before {
    left: 18px;
    top: 18px;
    font-size: 11px;
  }

  .contenido-modal-bienvenida {
    padding: 32px 22px 38px;
  }

  .contenido-modal-bienvenida h2 {
    font-size: 29px;
  }

  .contenido-modal-bienvenida p {
    margin-bottom: 26px;
    font-size: 16px;
  }

  .boton-modal-bienvenida {
    min-height: 58px;
    padding: 14px 16px;
    font-size: 16px;
  }

}

/* ===== HEADER ===== */

header {
  width: 100%;
  padding: 9px 40px;

  position: fixed;
  top: 0;
  left: 0;

  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);

  z-index: 1000;

  opacity: 0;
  transform: translateY(-40px);

  animation: fadeDown 0.8s ease forwards;
}

@keyframes fadeDown {

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  flex: 1;
  min-width: 182px;
}

.logo a {
  text-decoration: none;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  color: #251553;
}

.brand-brace {
  color: #7b2cff;
  font-size: 39px;
  font-weight: 800;
  line-height: 1;
  transform: translateX(0);
  animation: braceOpen 1s cubic-bezier(.2,.8,.2,1) 0.2s both;
}

.brand-brace-right {
  animation-name: braceOpenRight;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  animation: wordmarkReveal 0.85s cubic-bezier(.2,.8,.2,1) 0.55s forwards;
}

.brand-main {
  color: #21154c;
  font-size: 22px;
  font-weight: 800;
  line-height: 0.95;
}

.brand-sub {
  color: #21154c;
  font-size: 8px;
  letter-spacing: 3px;
  line-height: 1.2;
}

@keyframes braceOpen {
  from {
    transform: translateX(6px);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes braceOpenRight {
  from {
    transform: translateX(-6px);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes wordmarkReveal {
  to {
    max-width: 150px;
    opacity: 1;
  }
}

@keyframes wordmarkRevealSmall {
  to {
    max-width: 72px;
    opacity: 1;
  }
}

.nav-center {
  flex: 2;

  display: flex;
  justify-content: center;
  gap: 30px;
}

.nav-right {
  flex: 1;

  display: flex;
  justify-content: flex-end;
}

.nav-center a {
  text-decoration: none;
  color: #333;

  position: relative;
}

.nav-center a::after {
  content: "";

  position: absolute;

  bottom: -5px;
  left: 0;

  width: 0%;
  height: 2px;

  background: #7b2cff;

  transition: 0.2s ease;
}

.nav-center a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #111;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: white;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 70px;
  left: 16px;
  right: 16px;
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 18px 45px rgba(25, 15, 54, 0.16);
  backdrop-filter: blur(14px);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu a {
  color: #21154c;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 14px;
}

.mobile-menu a:hover {
  background: rgba(123,44,255,0.09);
}

.cta-btn {
  background: linear-gradient(135deg, #7b2cff, #9f5cff);

  color: white;

  padding: 10px 22px;

  border-radius: 999px;

  text-decoration: none;

  transition: 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-1.5px);

  box-shadow: 0 10px 20px rgba(123,44,255,0.17);
}

/* ===== HERO ===== */

#home {
  background-color: #f6f6f6;
  padding: 25px;
}

.hero {
  position: relative;
  text-align: center;
}

.hero-img {
  display: block;

  margin: 0 auto;

  max-width: 600px;
  width: 100%;

  opacity: 0;
  transform: scale(1.1) translateY(40px);
  filter: blur(10px);

  animation: appleReveal 1.2s ease forwards;
}

@keyframes appleReveal {

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }

}

.hero-title {
  position: absolute;

  top: 40%;
  left: 50%;

  transform: translate(-50%, -50%);

  font-size: 42px;
  font-weight: bold;

  text-align: center;
}

.hero-title.typing::after {
  content: "|";
  margin-left: 5px;
  animation: blink 1s infinite;
}

@keyframes blink {

  0%, 50%, 100% {
    opacity: 1;
  }

  25%, 75% {
    opacity: 0;
  }

}

#typing-text {
  white-space: pre-line;
}

.letter {
  display: inline-block;
}

/* ===== CONTENT ===== */

.content {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.content p {
  font-size: 20px;
  color: #555;

  max-width: 600px;

  margin: 0 auto 35px;
}

.content-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.reunion {
  background: linear-gradient(135deg, #7c3aed, #9333ea);

  color: white;

  padding: 16px 34px;

  border-radius: 999px;

  text-decoration: none;

  transition: 0.4s ease;

  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.25);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px 26px;
  border-radius: 999px;
  background: #25d366;
  color: white;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.24);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.whatsapp-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex: 0 0 auto;
}

.reunion:hover {
  transform: translateY(-5px);

  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.35);
}

.whatsapp-btn:hover {
  transform: translateY(-5px);
  background: #1ebe5d;
  color: white;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.34);
}

/* ===== FUNCIONA ===== */

#funciona {
  background-color: #f6f6f6;
}

#funciona .cont {
  margin: 45px;
  padding: 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

#funciona h2 {
  color: black;
  font-size: 60px;
  margin-bottom: 23px;
}

#funciona .parrafo {
  color: black;
  font-size: 20px;
  max-width: 600px;
}

#funciona .negrita {
  margin-top: 30px;
  font-size: 22px;
}

.phone {
  opacity: 0;

  position: relative;

  max-width: 300px;
  width: min(100%, 300px);
  aspect-ratio: 9 / 18.6;

  margin-right: 160px;

  padding: 14px;

  border-radius: 46px;

  background:
    linear-gradient(145deg, #2b2b33, #050505 48%, #2f2f38);

  box-shadow:
    rgba(0, 0, 0, 0.25) 0px 14px 28px,
    rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

.phone::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 42px;
  pointer-events: none;
}

.phone-speaker {
  position: absolute;
  top: 3.8%;
  left: 50%;
  z-index: 3;
  width: 36%;
  height: 4.5%;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 72% 17%, rgba(123,44,255,0.22), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f5ff 48%, #ece7ff 100%);
}

.phone-status,
.phone-nav,
.responsive-showcase,
.phone-content-lines,
.phone-grid {
  position: relative;
  z-index: 1;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 18px 18px 0;
}

.phone-status span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: #111;
}

.phone-status span:first-child {
  width: 32px;
}

.phone-status span:last-child {
  width: 40px;
}

.phone-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 20px 16px;
}

.phone-logo-mark {
  color: #7b2cff;
  font-size: 22px;
  font-weight: 800;
}

.phone-nav span:last-child {
  width: 28px;
  height: 18px;
  border-top: 3px solid #171717;
  border-bottom: 3px solid #171717;
}

.responsive-showcase {
  position: relative;
  height: 42%;
  margin: 2% 7% 0;
}

.mock-device {
  position: absolute;
  border: clamp(3px, 1.6vw, 5px) solid #171717;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28,14,62,0.14);
}

.mock-device span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(135deg, #7b2cff, #d76cff);
}

.mock-desktop {
  left: 10%;
  top: 3%;
  width: 80%;
  height: 39%;
  padding: 8% 8%;
  border-radius: 13px;
}

.mock-desktop span:first-child {
  width: 60%;
  height: 14px;
}

.mock-desktop span:nth-child(2) {
  width: 78%;
  height: 8px;
  margin-top: 16px;
  background: #d9d4e8;
}

.mock-desktop span:nth-child(3) {
  width: 46%;
  height: 8px;
  margin-top: 10px;
  background: #d9d4e8;
}

.mock-tablet {
  left: 10%;
  bottom: 4%;
  width: 36%;
  height: 34%;
  padding: 7% 6%;
  border-radius: 12px;
}

.mock-tablet span:first-child,
.mock-mobile span:first-child {
  width: 72%;
  height: 10px;
}

.mock-tablet span:last-child,
.mock-mobile span:nth-child(2),
.mock-mobile span:nth-child(3) {
  width: 90%;
  height: 7px;
  margin-top: 10px;
  background: #d9d4e8;
}

.mock-mobile {
  right: 11%;
  bottom: 4%;
  width: 27%;
  height: 45%;
  padding: 8% 4%;
  border-radius: 18px;
}

.phone-content-lines {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 6% 12% 0;
}

.phone-content-lines span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #c9c2df;
}

.phone-content-lines span:first-child {
  width: 82%;
}

.phone-content-lines span:nth-child(2) {
  width: 68%;
}

.phone-content-lines span:last-child {
  width: 56%;
}

.phone-button {
  width: 54%;
  height: 7%;
  margin: 8% auto 0;
  border-radius: 999px;
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 10% 10% 0;
}

.phone-grid span {
  aspect-ratio: 1 / 1.25;
  height: auto;
  border: 1px solid rgba(123,44,255,0.13);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(123,44,255,0.18), rgba(123,44,255,0.04));
}

/* ===== ANIMACIONES ===== */

@keyframes slideLeft {

  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }

}

@keyframes slideRight {

  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }

}

.texto h2,
.parrafo,
.negrita {
  opacity: 0;
}

.texto.show h2 {
  animation: slideLeft 1s ease forwards;
}

.texto.show .parrafo {
  animation: slideLeft 1s ease forwards;
  animation-delay: 0.4s;
}

.texto.show .negrita {
  animation: slideLeft 1s ease forwards;
  animation-delay: 0.8s;
}

.texto.show + .img-container .phone {
  animation: slideRight 1.2s ease forwards;
  animation-delay: 0.3s;
}

/* ===== SERVICIOS ===== */

#servicios {
  background-color: #f6f6f6;
  padding: 25px;
}

.textos {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.textos h3 {
  color: #7b2cff;
  font-size: 18px;
  margin-bottom: 10px;
}

.textos h2 {
  color: black;
  font-size: 32px;
}

.textos p {
  color: black;
  font-size: 20px;
  text-align: center;
  margin-top: 20px;
}

.contenedor {
  
  display: grid;
  grid-template-columns: repeat(3, minmax(320px, 1fr));
  gap: 30px;

  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 25px;
}

.tarjetas {
  .icono-servicio {
  width: 60px;
  height: 60px;
  background: rgba(123,44,255,0.08);  

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 20px;
  margin: 0 auto 20px auto;
  transition: 0.3s ease;
}

.icono-servicio svg {
  width: 28px;
  height: 28px;

  stroke: #7b2cff;
  fill: none;
  stroke-width: 1.8;
}


.tarjetas:hover .icono-servicio {
  transform: scale(1.1);
  background: rgba(123,44,255,0.15);
}


.tarjetas {
  position: relative;
}

.tarjetas:hover .arrow {
  transform: translateX(6px);
}

  opacity: 0;
  transform: translateY(60px);

  padding: 40px;

  border-radius: 24px;

  background: white;

  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    box-shadow 0.4s ease;

  box-shadow:
    rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset,
    rgba(50, 50, 93, 0.15) 0px 20px 40px -20px,
    rgba(0, 0, 0, 0.08) 0px 20px 30px -30px;
}

.tarjetas.show {
  opacity: 1;
  transform: translateY(0);
}

.tarjetas:nth-child(1) { transition-delay: 0.32s; }
.tarjetas:nth-child(2) { transition-delay: 0.32s; }
.tarjetas:nth-child(3) { transition-delay: 0.32s; }
.tarjetas:nth-child(4) { transition-delay: 0.32s; }
.tarjetas:nth-child(5) { transition-delay: 0.32s; }
.tarjetas:nth-child(6) { transition-delay: 0.32s; }

.tarjetas h4 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #7c3aed;
  text-align: center;
}

.tarjetas p {
  line-height: 1.7;
  color: #666;
}

.tarjetas:hover {
  transform: translateY(-10px);
  transition: 0.8s;

  box-shadow:
    0 20px 40px rgba(0,0,0,0.08),
    0 20px 50px rgba(124, 58, 237, 0.12);
}

/* ===== PROYECTOS ===== */

#proyectos {
  background-color: #f6f6f6;
  padding: 80px 25px 35px;
}

.proyectos-grid {
  max-width: 1320px;
  margin: 45px auto 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.proyecto-card {
  overflow: hidden;

  border-radius: 24px;

  background: white;

  opacity: 0;
  transform: translateY(55px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    box-shadow 0.4s ease;

  box-shadow:
    rgba(50, 50, 93, 0.12) 0px 20px 40px -20px,
    rgba(0, 0, 0, 0.08) 0px 18px 28px -26px;
}

.proyecto-card.show {
  opacity: 1;
  transform: translateY(0);
}

.proyecto-card:nth-child(1) { transition-delay: 0.1s; }
.proyecto-card:nth-child(2) { transition-delay: 0.2s; }
.proyecto-card:nth-child(3) { transition-delay: 0.3s; }

.proyecto-card:hover {
  transform: translateY(-10px);

  box-shadow:
    0 24px 45px rgba(0,0,0,0.08),
    0 24px 55px rgba(124, 58, 237, 0.12);
}

.proyecto-preview {
  min-height: 245px;
  padding: 24px;

  position: relative;
  overflow: hidden;
}

.proyecto-preview::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.42), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.22), transparent);
}

.proyecto-preview-uno {
  background: linear-gradient(135deg, #18181b, #7c3aed);
}

.proyecto-preview-dos {
  background: linear-gradient(135deg, #111827, #0f766e);
}

.proyecto-preview-tres {
  background: linear-gradient(135deg, #171717, #db2777);
}

.preview-topbar,
.preview-content,
.database-layout,
.dashboard-layout {
  position: relative;
  z-index: 2;
}

.preview-topbar {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.preview-topbar span {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: rgba(255,255,255,0.72);
}

.preview-content {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 22px;
}

.preview-copy span,
.preview-copy strong,
.preview-copy p {
  display: block;

  border-radius: 999px;

  background: rgba(255,255,255,0.72);
}

.preview-copy span {
  width: 80px;
  height: 10px;
  margin-bottom: 18px;
}

.preview-copy strong {
  width: 100%;
  height: 24px;
  margin-bottom: 12px;
}

.preview-copy p {
  width: 75%;
  height: 12px;
}

.preview-panel {
  min-height: 130px;

  border-radius: 22px;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.52));

  box-shadow: 0 20px 35px rgba(0,0,0,0.16);
}

.database-layout {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
}

.database-sidebar {
  min-height: 150px;

  border-radius: 20px;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.28));

  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}

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

.database-tables span {
  min-height: 68px;

  border-radius: 18px;

  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.58));

  position: relative;
  overflow: hidden;
}

.database-tables span::before {
  content: "";

  position: absolute;
  left: 14px;
  right: 14px;
  top: 16px;

  height: 8px;

  border-radius: 999px;

  background: rgba(15,118,110,0.28);
}

.database-tables span::after {
  content: "";

  position: absolute;
  left: 14px;
  right: 28px;
  top: 34px;

  height: 7px;

  border-radius: 999px;

  background: rgba(17,24,39,0.16);
}

.dashboard-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  align-items: stretch;
}

.dashboard-chart {
  min-height: 150px;

  border-radius: 22px;

  background:
    linear-gradient(180deg, transparent 40%, rgba(255,255,255,0.76) 40% 50%, transparent 50%),
    linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,0.72));
}

.dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.dashboard-list span {
  flex: 1;

  border-radius: 18px;

  background: rgba(255,255,255,0.68);
}

.proyecto-info {
  padding: 30px;
}

.proyecto-info span {
  display: inline-block;

  color: #7b2cff;
  font-size: 14px;
  font-weight: bold;

  margin-bottom: 14px;
}

.proyecto-info h4 {
  font-size: 24px;
  margin-bottom: 14px;
}

.proyecto-info p {
  color: #666;
  line-height: 1.7;
}

/* ===== PROCESO ===== */

#proceso {
  background-color: #f6f6f6;
  margin-top: 45px;
  padding: 25px;
}

/* WRAPPER */

.process-wrapper {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 60px auto 0 auto;
  padding: 0 20px;
}

/* CONTENEDOR */

.contenedorProceso {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: nowrap;
}

/* TARJETAS */

.tarjetaProceso {
  display: flex;
  align-items: center;
  flex-direction: column;

  width: 280px;
  min-height: 420px;

  padding: 40px 30px;

  border-radius: 28px;

  background: white;

  box-shadow:
    rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset,
    rgba(50, 50, 93, 0.15) 0px 20px 40px -20px,
    rgba(0, 0, 0, 0.08) 0px 20px 30px -30px;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;

  flex-shrink: 0;
}

/* HOVER */

.tarjetaProceso:hover {
  transform: translateY(-10px);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.08),
    0 20px 50px rgba(124, 58, 237, 0.12);
}

/* ICONO */

.icon-circle {
  width: 110px;
  height: 110px;

  background: rgba(124, 58, 237, 0.08);

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 30px;

  transition: 0.3s ease;
}

.tarjetaProceso:hover .icon-circle {
  transform: scale(1.05);
}

.icon-circle svg {
  width: 52px;
  height: 52px;

  stroke: #7c3aed;
  stroke-width: 2;
}

/* NUMERO */

.tarjetaProceso h3 {
  padding: 13px 30px;

  background: linear-gradient(135deg, #7c3aed, #9333ea);

  color: white;

  border-radius: 16px;

  font-size: 20px;

  margin-bottom: 20px;
}

/* TITULO */

.tarjetaProceso h4 {
  font-size: 24px;
  margin-bottom: 15px;
}

/* LINEA */

.card-line {
  width: 60px;
  height: 4px;

  background: linear-gradient(90deg, #7c3aed, #a855f7);

  border-radius: 999px;

  margin-bottom: 25px;

  transition: 0.3s ease;
}

.tarjetaProceso:hover .card-line {
  width: 85px;
}

/* TEXTO */

.tarjetaProceso p {
  text-align: center;

  line-height: 1.7;

  color: #666;

  max-width: 220px;
}


/* ===== BANNER ===== */

.process-banner {
  width: 100%;
  max-width: 1400px;

  margin: 90px auto 0 auto;

  padding: 35px 50px;

  border-radius: 32px;

  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.06),
    rgba(168, 85, 247, 0.08)
  );

  border: 1px solid rgba(124, 58, 237, 0.08);

  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 40px;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 30px;
}

.banner-icon {
  min-width: 90px;
  height: 90px;

  border-radius: 50%;

  background: white;

  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.banner-icon svg {
  width: 42px;
  height: 42px;

  stroke: #7c3aed;
}

.banner-text h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.banner-text p {
  font-size: 1.1rem;
  color: #666;
}

/* BOTON */

.banner-btn {
  background: linear-gradient(135deg, #7c3aed, #9333ea);

  color: white;
  text-decoration: none;

  padding: 22px 38px;

  border-radius: 18px;

  font-size: 1rem;
  font-weight: 600;

  transition: 0.3s ease;

  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.25);
}

.banner-btn:hover {
  transform: translateY(-4px);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {

  /* SERVICIOS */

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

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

  /* PROCESO */

  .contenedorProceso {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;

    padding-bottom: 20px;
    scroll-behavior: smooth;
  }

  .contenedorProceso::-webkit-scrollbar {
    height: 8px;
  }

  .contenedorProceso::-webkit-scrollbar-thumb {
    background: #7c3aed;
    border-radius: 999px;
  }


  /* BANNER */

  .process-banner {
    flex-direction: column;
    text-align: center;
  }

  .banner-left {
    flex-direction: column;
  }

}

@media (max-width: 768px) {

  /* NAV */

  header {
    padding: 15px 20px;
  }

  .nav-center {
    display: none;
  }

  /* HERO */

  .hero-title {
    font-size: 30px;
  }

  .content p {
    font-size: 18px;
  }

  /* FUNCIONA */

  #funciona .cont {
    flex-direction: column;
    text-align: center;
    margin: 20px;
  }

  #funciona h2 {
    font-size: 42px;
  }

  .phone {
    margin-right: 0;
    margin-top: 40px;
    max-width: 240px;
  }

  /* SERVICIOS */

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

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

  .proyecto-preview {
    min-height: 220px;
  }

  /* PROCESO */

  .contenedorProceso {
    flex-direction: row;
    align-items: stretch;
  }

  .tarjetaProceso {
    min-width: 280px;
  }

  /* BANNER */

  .process-banner {
    padding: 30px 25px;
  }

  .banner-btn {
    width: 100%;
    text-align: center;
  }

}

/* ===== NOSOTROS ===== */

#nosotros {
  background: linear-gradient(
    180deg,
    #050505 0%,
    #0c0c12 100%
  );

  padding: 45px 25px;
  overflow: hidden;
  position: relative;
}

#nosotros::before {
  content: "";

  position: absolute;
  top: -200px;
  right: -200px;

  width: 500px;
  height: 500px;

  background: radial-gradient(
    circle,
    rgba(123,44,255,0.18) 0%,
    transparent 70%
  );

  z-index: 0;
}

.nosotros-container {
  max-width: 1900px;
  margin: 0 auto;
  display: flex;
  flex: 1.3;
  align-items: center;
  justify-content: space-between;

  gap: 80px;

  position: relative;
  z-index: 2;
}

/* ===== TEXTO ===== */

.nosotros-content {
  flex: 1;

  opacity: 0;
}

.nosotros-content.show {
  animation: nosotrosLeft 1s ease forwards;
}

.nosotros-subtitle {
  display: inline-block;

  color: #9f5cff;

  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;

  margin-bottom: 20px;
}

#nosotros h2 {
  font-size: 62px;
  line-height: 1.1;

  color: white;

  max-width: 700px;

  margin-bottom: 30px;
}

#nosotros p {
  font-size: 20px;
  line-height: 1.5;

  color: rgba(255,255,255,0.72);

  max-width: 1000px;

  margin-bottom: 45px;
}

/* ===== CARDS ===== */

.nosotros-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));

  gap: 20px;

  margin-bottom: 45px;
}

.nosotros-card {
  padding: 28px;

  border-radius: 24px;

  background: rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.06);

  backdrop-filter: blur(12px);

  transition:
    transform 0.4s ease,
    border 0.4s ease,
    box-shadow 0.4s ease;
}

.nosotros-card:hover {
  transform: translateY(-8px);
  border: 1px solid rgba(123,44,255,0.3);
  box-shadow:
    0 15px 35px rgba(123,44,255,0.12);
}

.nosotros-card h4 {
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
}

.nosotros-card p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 90%;
  margin-bottom: 0;
}

/* ===== BOTON ===== */

.nosotros-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 999px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  background: linear-gradient(
    135deg,
    #7b2cff,
    #9f5cff
  );

  transition: 0.4s ease;
  box-shadow:
    0 15px 35px rgba(123,44,255,0.25);
}

.nosotros-btn:hover {
  transform: translateY(-5px);
  box-shadow:
    0 20px 45px rgba(123,44,255,0.35);
}

/* ===== IMAGEN ===== */

.nosotros-image {
  flex: 1;
  display: flex;
  justify-content: center;
  opacity: 0;
}
.nosotros-image.show {
  animation: nosotrosRight 1.2s ease forwards;
}
.nosotros-image img {
  width: 100%;
  max-width: 650px;
  object-fit: contain;

  filter:
    drop-shadow(0 20px 40px rgba(123,44,255,0.18));
  animation: floatImage 5s ease-in-out infinite;
}

/* ===== KEYFRAMES ===== */

@keyframes nosotrosLeft {

  from {
    opacity: 0;
    transform: translateX(-80px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }

}

@keyframes nosotrosRight {

  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }

}

@keyframes floatImage {

  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0px);
  }

}

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {

  .nosotros-container {
    flex-direction: column;
    text-align: center;
  }

  #nosotros h2 {
    max-width: 100%;
  }

  #nosotros p {
    max-width: 100%;
  }

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

}

@media (max-width: 768px) {

  #nosotros {
    padding: 90px 20px;
  }

  #nosotros h2 {
    font-size: 42px;
  }

  #nosotros p {
    font-size: 18px;
  }

  .nosotros-card {
    padding: 24px;
  }

  .nosotros-image img {
    max-width: 100%;
  }

}

/* ===== FAQ ===== */

#faq {
  background: #f6f6f6;

  padding: 120px 25px;
}

/* HEADER */

.faq-header {
  text-align: center;

  max-width: 800px;

  margin: 0 auto 70px auto;
}

.faq-header span {
  display: inline-block;

  color: #7b2cff;

  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;

  margin-bottom: 15px;
}

.faq-header h2 {
  font-size: 56px;
  color: black;

  margin-bottom: 20px;
}

.faq-header p {
  font-size: 20px;
  line-height: 1.8;

  color: #666;
}

/* CONTENEDOR */

.faq-container {
  max-width: 950px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;

  gap: 20px;
}

/* ITEM */

.faq-item {
  background: white;

  border-radius: 24px;

  overflow: hidden;

  box-shadow:
    rgba(50, 50, 93, 0.08) 0px 15px 35px -20px,
    rgba(0, 0, 0, 0.05) 0px 10px 20px -20px;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.faq-item:hover {
  transform: translateY(-4px);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.08),
    0 20px 50px rgba(124, 58, 237, 0.08);
}

/* BOTON */

.faq-question {
  width: 100%;

  background: transparent;
  border: none;
  outline: none;

  padding: 28px 35px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  cursor: pointer;

  font-size: 20px;
  font-weight: bold;

  color: black;

  text-align: left;

  transition: 0.3s ease;
}

.faq-question span {
  font-size: 28px;
  font-weight: 300;

  color: #7b2cff;

  transition: transform 0.4s ease;
}

/* RESPUESTA */

.faq-answer {
  max-height: 0;

  overflow: hidden;

  transition:
    max-height 0.5s ease,
    padding 0.5s ease;
}

.faq-answer p {
  padding: 0 35px 30px 35px;

  color: #666;

  line-height: 1.8;
  font-size: 17px;
}

/* ACTIVE */

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* RESPONSIVE */

@media (max-width: 768px) {

  #faq {
    padding: 90px 20px;
  }

  .faq-header h2 {
    font-size: 40px;
  }

  .faq-header p {
    font-size: 18px;
  }

  .faq-question {
    font-size: 18px;
    padding: 24px;
  }

  .faq-answer p {
    padding: 0 24px 24px 24px;
  }

}

/* ===== FOOTER ===== */

#footer {
  background: linear-gradient(
    180deg,
    #f6f6f6 0%,
    #ececec 100%
  );

  padding: 100px 25px 35px;

  position: relative;
  overflow: hidden;
}

/* GLOW */

#footer::before {
  content: "";

  position: absolute;
  top: -250px;
  right: -250px;

  width: 500px;
  height: 500px;

  background: radial-gradient(
    circle,
    rgba(123,44,255,0.12) 0%,
    transparent 70%
  );

  z-index: 0;
}

/* CONTAINER */

.footer-container {
  max-width: 1400px;

  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  gap: 40px;

  position: relative;
  z-index: 2;
}

/* BRAND */

.footer-brand {
  max-width: 360px;
}

.footer-brand h2 {
  font-size: 52px;
  color: black;

  margin-bottom: 20px;
}

.footer-brand p {
  color: #666;

  line-height: 1.8;
  font-size: 18px;

  margin-bottom: 35px;
}

/* SOCIALS */

.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
  width: auto;
  max-width: 100%;
  flex-wrap: nowrap;
}

.footer-socials a {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;

  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 50%;

  background: white;

  color: #7b2cff;

  text-decoration: none;
  font-size: 18px;
  font-weight: bold;

  transition: 0.4s ease;

  box-shadow:
    rgba(50, 50, 93, 0.08) 0px 10px 20px -10px,
    rgba(0, 0, 0, 0.04) 0px 8px 15px -12px;
}

.footer-socials img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-socials a:hover {
  transform: translateY(-5px);

  background: linear-gradient(
    135deg,
    
  );

  color: white;

  box-shadow:
    0 15px 35px rgba(123,44,255,0.25);
}

/* LINKS */

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column h3 {
  color: black;

  font-size: 20px;

  margin-bottom: 24px;
}

.footer-column a {
  color: #666;

  text-decoration: none;

  margin-bottom: 16px;

  transition: 0.3s ease;
}

.footer-column a:hover {
  color: #7b2cff;
  transform: translateX(4px);
}

/* BOTTOM */

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.08);

  margin-top: 80px;
  padding-top: 30px;

  text-align: center;

  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: #777;

  font-size: 15px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {

  .footer-container {
    flex-direction: column;
    gap: 60px;
  }

  .footer-links {
    width: 100%;

    justify-content: space-between;
  }
}

@media (max-width: 768px) {

  #footer {
    padding: 80px 20px 30px;
  }

  .footer-brand h2 {
    font-size: 42px;
  }

  .footer-brand p {
    font-size: 17px;
  }

  .footer-links {
    flex-direction: column;
    gap: 40px;
  }

  .footer-socials {
    gap: 14px;
  }

}

/* ===== CONTACTO ===== */

.contacto-page {
  min-height: calc(100vh - 60px);
  padding: 65px 30px 110px;
  background:
    radial-gradient(circle at 8% 12%, rgba(123,44,255,0.08), transparent 28%),
    linear-gradient(180deg, #f6f6f6 0%, #ffffff 100%);
  overflow: hidden;
}

.contacto-shell {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.contacto-hero {
  max-width: 860px;
  margin-bottom: 56px;

  opacity: 0;
  transform: translateY(34px);
  animation: contactoReveal 0.9s ease forwards;
}

.contacto-hero span,
.formulario-header span {
  display: inline-block;

  color: #7b2cff;

  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;

  margin-bottom: 16px;
}

.contacto-hero h1 {
  color: black;

  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.02;

  max-width: 820px;

  margin-bottom: 24px;
}

.contacto-hero p {
  color: #666;

  font-size: 21px;
  line-height: 1.7;

  max-width: 720px;
}

.contacto-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.12fr);
  gap: 34px;
  align-items: stretch;
}

.contacto-visual {
  min-height: 620px;

  position: relative;
  overflow: hidden;

  border-radius: 28px;

  background:
    radial-gradient(circle at top right, rgba(159,92,255,0.34), transparent 36%),
    linear-gradient(145deg, #07070a 0%, #17121f 48%, #7b2cff 140%);

  box-shadow:
    rgba(50, 50, 93, 0.18) 0px 26px 60px -28px,
    rgba(123,44,255,0.24) 0px 24px 70px -44px;

  opacity: 0;
  transform: translateX(-46px);
  animation: contactoLeft 1s ease 0.2s forwards;
}

.contacto-visual::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 54px 54px;

  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent);
}

.contacto-visual::after {
  content: "sCode";

  position: absolute;
  right: 34px;
  bottom: 28px;

  color: rgba(255,255,255,0.08);

  font-size: 88px;
  font-weight: bold;
  line-height: 1;
}

.contacto-visual-card {
  width: min(78%, 380px);
  min-height: 390px;

  position: absolute;
  top: 50%;
  left: 50%;

  padding: 34px;

  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px;

  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(16px);

  transform: translate(-50%, -50%);

  box-shadow: 0 28px 70px rgba(0,0,0,0.24);

  animation: contactoFloat 5.5s ease-in-out infinite;
}

.visual-dot {
  width: 58px;
  height: 58px;

  display: block;

  border-radius: 50%;

  background: linear-gradient(135deg, #ffffff, #cbb4ff);

  margin-bottom: 34px;

  box-shadow: 0 16px 34px rgba(123,44,255,0.26);
}

.visual-line {
  display: block;

  width: 74%;
  height: 13px;

  border-radius: 999px;

  background: rgba(255,255,255,0.72);

  margin-bottom: 15px;
}

.visual-line-large {
  width: 100%;
  height: 24px;
}

.visual-line-small {
  width: 52%;
}

.visual-window {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;

  margin-top: 58px;
}

.visual-window span {
  min-height: 96px;

  border-radius: 18px;

  position: relative;
  overflow: hidden;

  background:
    radial-gradient(circle at 72% 18%, rgba(255,255,255,0.48), transparent 26%),
    linear-gradient(160deg, rgba(255,255,255,0.28), rgba(123,44,255,0.16));

  border: 1px solid rgba(255,255,255,0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 18px 28px rgba(0,0,0,0.13);

  animation: contactoPulse 2.8s ease-in-out infinite;
}

.visual-window span::before,
.visual-window span::after {
  content: "";

  position: absolute;
  left: 14px;
  right: 14px;

  border-radius: 999px;
}

.visual-window span::before {
  top: 20px;
  height: 10px;
  background: rgba(255,255,255,0.74);
}

.visual-window span::after {
  top: 42px;
  right: 32px;
  height: 8px;
  background: rgba(203,180,255,0.62);
}

.visual-window span:nth-child(1) {
  background:
    radial-gradient(circle at 72% 18%, rgba(255,255,255,0.5), transparent 26%),
    linear-gradient(160deg, rgba(123,44,255,0.42), rgba(255,255,255,0.13));
}

.visual-window span:nth-child(2) {
  animation-delay: 0.22s;
  background:
    radial-gradient(circle at 72% 18%, rgba(255,255,255,0.5), transparent 26%),
    linear-gradient(160deg, rgba(15,118,110,0.44), rgba(255,255,255,0.14));
}

.visual-window span:nth-child(3) {
  animation-delay: 0.44s;
  background:
    radial-gradient(circle at 72% 18%, rgba(255,255,255,0.5), transparent 26%),
    linear-gradient(160deg, rgba(219,39,119,0.38), rgba(255,255,255,0.13));
}

.formulario {
  width: 100%;
  margin: 0;
  padding: 42px;

  display: grid;
  gap: 15px;

  background: white;
  border: 1px solid rgba(123,44,255,0.08);
  border-radius: 28px;

  box-shadow:
    rgba(50, 50, 93, 0.12) 0px 24px 54px -24px,
    rgba(0, 0, 0, 0.08) 0px 16px 34px -28px;

  opacity: 0;
  transform: translateX(46px);
  animation: contactoRight 1s ease 0.32s forwards;
}

.formulario-header {
  margin-bottom: 16px;
}

.formulario-header h2 {
  color: black;

  font-size: 34px;
  line-height: 1.16;

  margin-bottom: 12px;
}

.formulario-header p {
  color: #666;

  font-size: 17px;
  line-height: 1.7;
}

.formulario label {
  color: #222;
  font-size: 15px;
  font-weight: bold;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 16px 18px;

  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  outline: none;

  color: #111;
  background: #fbfbfb;
  font-size: 16px;

  transition:
    border 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
}

.formulario input:focus,
.formulario textarea:focus {
  background: white;
  border-color: #7b2cff;
  box-shadow: 0 0 0 3px rgba(123,44,255,0.12);
  transform: translateY(-2px);
}

.formulario textarea {
  resize: vertical;
  min-height: 150px;
}

.formulario button {
  width: fit-content;
  border: 0;
  cursor: pointer;
  margin-top: 8px;
  font-weight: bold;
}

.contacto-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;

  margin-top: 34px;
}

.contacto-info article {
  padding: 28px;

  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);

  box-shadow:
    rgba(50, 50, 93, 0.08) 0px 18px 38px -24px,
    rgba(0, 0, 0, 0.05) 0px 14px 28px -28px;

  opacity: 0;
  transform: translateY(34px);
  animation: contactoReveal 0.8s ease forwards;
}

.contacto-info article:nth-child(1) {
  animation-delay: 0.48s;
}

.contacto-info article:nth-child(2) {
  animation-delay: 0.62s;
}

.contacto-info article:nth-child(3) {
  animation-delay: 0.76s;
}

.contacto-info article:hover {
  transform: translateY(-7px);
  box-shadow:
    0 22px 42px rgba(0,0,0,0.08),
    0 22px 52px rgba(123,44,255,0.1);
}

.contacto-info span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  color: #7b2cff;
  background: rgba(123,44,255,0.08);

  border-radius: 50%;

  font-size: 14px;
  font-weight: bold;

  margin-bottom: 22px;
}

.contacto-info h3 {
  color: black;

  font-size: 22px;

  margin-bottom: 12px;
}

.contacto-info p {
  color: #666;
  line-height: 1.7;
}

@keyframes contactoReveal {

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes contactoLeft {

  to {
    opacity: 1;
    transform: translateX(0);
  }

}

@keyframes contactoRight {

  to {
    opacity: 1;
    transform: translateX(0);
  }

}

@keyframes contactoFloat {

  0%, 100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% - 16px));
  }

}

@keyframes contactoPulse {

  0%, 100% {
    opacity: 0.62;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-8px);
  }

}

@media (max-width: 768px) {

  .contacto-page {
    padding-top: 68px;
    padding-bottom: 78px;
  }

  .contacto-hero {
    margin-bottom: 38px;
  }

  .contacto-hero p {
    font-size: 18px;
  }

  .contacto-grid,
  .contacto-info {
    grid-template-columns: 1fr;
  }

  .contacto-visual {
    min-height: 360px;
    border-radius: 22px;
  }

  .contacto-visual::after {
    right: 22px;
    bottom: 18px;
    font-size: 52px;
  }

  .contacto-visual-card {
    width: min(84%, 330px);
    min-height: 285px;
    padding: 26px;
  }

  .visual-dot {
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
  }

  .visual-window {
    margin-top: 36px;
  }

  .visual-window span {
    min-height: 62px;
    border-radius: 14px;
  }

  .formulario {
    padding: 26px;
    border-radius: 22px;
  }

  .formulario-header h2 {
    font-size: 28px;
  }

  .formulario button {
    width: 100%;
  }

  .contacto-info article {
    padding: 24px;
    border-radius: 20px;
  }

}

/* ===== RESPONSIVE GLOBAL ===== */

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

p,
h1,
h2,
h3,
h4,
a,
button,
span {
  overflow-wrap: break-word;
}

.faq-header h1 {
  font-size: 56px;
  color: black;
  margin-bottom: 20px;
}

@media (max-width: 1200px) {

  header {
    padding: 12px 24px;
  }

  header nav {
    gap: 20px;
  }

  .logo,
  .nav-right {
    flex: 0 0 auto;
  }

  .nav-center {
    flex: 1;
    gap: 18px;
  }

  #funciona .cont {
    margin: 45px auto;
    max-width: 980px;
    gap: 48px;
  }

  .phone {
    margin-right: 0;
  }

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

  .contenedorProceso {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .tarjetaProceso {
    width: 100%;
    min-width: 0;
  }

  .process-banner {
    border-radius: 24px;
  }

  .nosotros-container {
    gap: 52px;
  }

  .footer-container {
    gap: 54px;
  }

  .footer-links {
    gap: 44px;
  }

}

@media (max-width: 900px) {

  body {
    padding-top: 78px;
  }

  header {
    padding: 12px 18px;
  }

  header nav {
    flex-wrap: nowrap;
    justify-content: space-between;
    row-gap: 0;
  }

  .logo {
    flex: 1 1 auto;
  }

  .nav-center,
  .nav-right {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .mobile-menu {
    display: flex;
  }

  .nav-center a,
  .cta-btn,
  .reunion,
  .whatsapp-btn,
  .banner-btn,
  .nosotros-btn {
    white-space: nowrap;
  }

  #home,
  #servicios,
  #proyectos,
  #proceso,
  #nosotros,
  #faq,
  #footer,
  .contacto-page {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-img {
    max-width: 520px;
  }

  .hero-title {
    font-size: 36px;
  }

  #funciona .cont {
    flex-direction: column;
    text-align: center;
    margin: 30px auto;
    padding: 28px 22px;
  }

  #funciona h2 {
    font-size: 48px;
  }

  #funciona .parrafo {
    margin: 0 auto;
  }

  .phone {
    max-width: 260px;
    margin-top: 22px;
  }

  .textos h2,
  .faq-header h1,
  .faq-header h2 {
    font-size: 44px;
    text-align: center;
  }

  .textos p,
  .faq-header p {
    max-width: 680px;
  }

  .nosotros-container {
    flex-direction: column;
    text-align: center;
  }

  #nosotros h2,
  #nosotros p {
    max-width: 100%;
  }

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

  .nosotros-image img {
    max-width: 520px;
  }

  .process-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 32px;
  }

  .banner-left {
    flex-direction: column;
  }

  .banner-btn {
    width: 100%;
    text-align: center;
  }

  .footer-container,
  .footer-links {
    flex-direction: column;
  }

  .footer-links {
    gap: 34px;
  }
}

@media (max-width: 680px) {

  body {
    padding-top: 70px;
  }

  .logo {
    min-width: auto;
  }

  .brand-logo {
    gap: 5px;
  }

  .brand-brace {
    font-size: 32px;
  }

  .brand-wordmark {
    animation-name: wordmarkRevealSmall;
  }

  .brand-main {
    font-size: 20px;
  }

  .brand-sub {
    display: none;
  }

  .cta-btn {
    padding: 9px 16px;
    font-size: 14px;
  }

  #home {
    padding-top: 16px;
  }

  .hero-img {
    max-width: 360px;
  }

  .hero-title {
    top: 38%;
    width: 92%;
    font-size: 28px;
  }

  .content {
    margin-top: 20px;
  }

  .content p {
    font-size: 17px;
    margin-bottom: 28px;
  }

  .reunion,
  .whatsapp-btn,
  .nosotros-btn {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    padding: 14px 22px;
    text-align: center;
  }

  #funciona .cont {
    margin: 18px auto;
    padding: 26px 0;
  }

  #funciona h2 {
    font-size: 38px;
  }

  #funciona .parrafo {
    font-size: 17px;
    line-height: 1.7;
  }

  #funciona .negrita {
    font-size: 18px;
  }

  .phone {
    max-width: 260px;
    padding: 8px;
    border-radius: 30px;
  }

  .phone::before {
    inset: 3px;
    border-radius: 27px;
  }

  .phone-speaker {
    top: 3.9%;
    width: 35%;
    height: 4.2%;
  }

  .phone-screen {
    border-radius: 22px;
  }

  .phone-status {
    padding: 14px 14px 0;
  }

  .phone-status span {
    height: 4px;
  }

  .phone-status span:first-child {
    width: 24px;
  }

  .phone-status span:last-child {
    width: 31px;
  }

  .phone-nav {
    padding: 18px 16px 10px;
  }

  .phone-logo-mark {
    font-size: 18px;
  }

  .phone-nav span:last-child {
    width: 22px;
    height: 15px;
    border-top-width: 2px;
    border-bottom-width: 2px;
  }

  .responsive-showcase {
    height: 43%;
    margin: 3% 7% 0;
  }

  .mock-device {
    border-width: 3px;
  }

  .mock-desktop {
    left: 10%;
    right: auto;
    width: 80%;
    height: 34%;
    padding: 7% 7%;
    border-radius: 9px;
  }

  .mock-desktop span:first-child {
    height: 10px;
  }

  .mock-desktop span:nth-child(2) {
    height: 6px;
    margin-top: 11px;
  }

  .mock-desktop span:nth-child(3) {
    height: 6px;
    margin-top: 7px;
  }

  .mock-tablet {
    left: 8%;
    bottom: 12%;
    width: 34%;
    height: 28%;
    padding: 6% 5%;
    border-radius: 8px;
  }

  .mock-mobile {
    right: 9%;
    bottom: 7%;
    width: 26%;
    height: 37%;
    padding: 7% 4%;
    border-radius: 11px;
  }

  .mock-tablet span:first-child,
  .mock-mobile span:first-child {
    height: 7px;
  }

  .mock-tablet span:last-child,
  .mock-mobile span:nth-child(2),
  .mock-mobile span:nth-child(3) {
    height: 5px;
    margin-top: 7px;
  }

  .phone-content-lines {
    gap: 6px;
    padding: 3% 12% 0;
  }

  .phone-content-lines span {
    height: 6px;
  }

  .phone-button {
    width: 52%;
    height: 5.8%;
    margin-top: 5%;
  }

  .phone-grid {
    gap: 7px;
    padding: 6% 10% 0;
  }

  .phone-grid span {
    border-radius: 11px;
  }

  .textos h3,
  .faq-header span,
  .nosotros-subtitle {
    font-size: 13px;
  }

  .textos h2,
  .faq-header h1,
  .faq-header h2 {
    font-size: 34px;
  }

  .textos p,
  .faq-header p {
    font-size: 17px;
    line-height: 1.6;
  }

  .contenedor,
  .proyectos-grid,
  .contenedorProceso {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tarjetas,
  .proyecto-info,
  .tarjetaProceso,
  .nosotros-card {
    padding: 24px;
  }

  .tarjetas {
    border-radius: 18px;
  }

  .tarjetas h4,
  .proyecto-info h4,
  .tarjetaProceso h4 {
    font-size: 21px;
  }

  .proyecto-card,
  .faq-item {
    border-radius: 18px;
  }

  .proyecto-preview {
    min-height: 190px;
    padding: 20px;
  }

  .preview-content,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .preview-panel,
  .dashboard-chart {
    min-height: 88px;
  }

  .database-layout {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }

  .database-tables {
    gap: 10px;
  }

  .database-tables span {
    min-height: 54px;
  }

  .process-wrapper {
    margin-top: 36px;
    padding: 0;
  }

  .tarjetaProceso {
    min-width: 0;
    min-height: auto;
    border-radius: 18px;
  }

  .icon-circle {
    width: 82px;
    height: 82px;
    margin-bottom: 22px;
  }

  .icon-circle svg {
    width: 40px;
    height: 40px;
  }

  .process-banner {
    margin-top: 38px;
    padding: 24px;
    border-radius: 18px;
    gap: 26px;
  }

  .banner-icon {
    min-width: 72px;
    width: 72px;
    height: 72px;
  }

  .banner-text h3 {
    font-size: 25px;
  }

  .banner-text p {
    font-size: 16px;
  }

  #nosotros {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  #nosotros h2 {
    font-size: 34px;
  }

  #nosotros p {
    font-size: 17px;
    line-height: 1.6;
  }

  .nosotros-image img {
    max-width: 360px;
  }

  #faq {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .faq-header {
    margin-bottom: 42px;
  }

  .faq-question {
    padding: 22px;
    gap: 18px;
    font-size: 17px;
  }

  .faq-question span {
    flex: 0 0 auto;
  }

  .faq-answer p {
    padding: 0 22px 22px;
    font-size: 16px;
  }

  #footer {
    padding-top: 68px;
  }

  .footer-brand h2 {
    font-size: 36px;
  }

  .footer-brand p {
    font-size: 16px;
  }

  .footer-socials a {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    padding: 0;
  }

  .footer-bottom {
    margin-top: 44px;
  }

  .contacto-page {
    padding-top: 58px;
  }

  .contacto-grid .formulario {
    width: 100%;
  }

  .formulario {
    width: calc(100% - 32px);
    padding: 22px;
  }
}

@media (max-width: 380px) {

  header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .logo {
    font-size: 19px;
  }

  .cta-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .hero-title {
    font-size: 24px;
  }

  .textos h2,
  .faq-header h1,
  .faq-header h2,
  #nosotros h2,
  #funciona h2 {
    font-size: 30px;
  }

  .tarjetas,
  .proyecto-info,
  .tarjetaProceso,
  .nosotros-card,
  .process-banner,
  .formulario {
    padding: 20px;
  }

}

#funciona{
  margin-top: 45px;
}

#servicios {
  margin-top: 45px;
}

#proyectos {
  margin-top: 45px;
}

#proceso {
  margin-top: 45px;
}

body {
  background-color: white;
}
.footer-socials {
  flex-direction: row;
  flex-wrap: nowrap;
}

/* ===== WHATSAPP CTA ===== */

.content-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2100;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  background: #25d366;
  color: white;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.24);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.whatsapp-btn svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  flex: 0 0 auto;
}

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

.whatsapp-btn:hover {
  transform: translateY(-5px);
  background: #1ebe5d;
  color: white;
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.34);
}

@media (max-width: 680px) {
  .content-actions {
    flex-direction: column;
  }

  .whatsapp-btn {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    max-width: none;
  }
}
