/* ================= RESET BÁSICO ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: radial-gradient(ellipse at top,
      #1a0b2e 0%,
      #0b0f19 55%,
      #050510 100%);
  color: #ffffff;
  line-height: 1.6;
}

/* ================= NAVBAR EXISTENTE ================= */
.tk-menunav {
  position: fixed;
  top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1000;
}

.tk-nav-pill {
  width: 95%;
  max-width: 1200px;
  padding: 8px 22px;
  /* Reduje un poco el padding vertical para acomodar el boton grande */
  border-radius: 50px;
  background: linear-gradient(180deg, rgba(30, 30, 60, .95), rgba(15, 15, 35, .95));
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

.tk-nav-brand {
  color: #fff;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 1.2rem;
}

/* ================= LINKS DESKTOP ================= */
.tk-nav-links {
  display: flex;
  gap: 28px;
}

.tk-nav-links a {
  color: #d6d6e0;
  text-decoration: none;
  font-size: .95rem;
  position: relative;
}

.tk-nav-links a:hover,
.tk-nav-links a.active {
  color: #fff;
}

.tk-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #5b6cff, #7b8bff);
  transform: scaleX(0);
  transform-origin: left;
  transition: .35s;
}

.tk-nav-links a:hover::after,
.tk-nav-links a.active::after {
  transform: scaleX(1);
}

/* ================= ACTIONS ================= */
.tk-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Wrapper para que el botón sea un link funcional */
.tk-btn-wrapper {
  text-decoration: none;
  display: block;
}

/* ================= BOTÓN SPACE (NUEVO) ================= */
/* He renombrado clases genericas a prefijo tk- */

.tk-space-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10rem;
  /* Ajustado: 13rem era muy grande para un navbar */
  height: 2.8rem;
  overflow: hidden;
  background-size: 300% 300%;
  cursor: pointer;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
  transition: 0.5s;
  animation: tk_gradient_301 5s ease infinite;
  border: double 4px transparent;
  background-image: linear-gradient(#1a1a2e, #1a1a2e),
    linear-gradient(137.48deg,
      #ffffff 10%,
      /* Blanco puro */
      #00f0ff 45%,
      /* Cian fosforescente */
      #0057ff 70%,
      /* Azul eléctrico */
      #001eff 90%
      /* Azul profundo */
    );
  background-origin: border-box;
  background-clip: content-box, border-box;
  position: relative;
  background-origin: border-box;
  background-clip: content-box, border-box;
  position: relative;
}

.tk-container-stars {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.5s;
  backdrop-filter: blur(1rem);
  border-radius: 5rem;
}

.tk-space-btn strong {
  z-index: 2;
  font-family: 'Segoe UI', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: #ffffff;
  text-shadow: 0 0 4px white, 0 0 10px #00f0ff;
  text-transform: uppercase;
}

.tk-glow {
  position: absolute;
  display: flex;
  width: 12rem;
}

.tk-circle {
  width: 100%;
  height: 30px;
  filter: blur(2rem);
  animation: tk_pulse_3011 4s infinite;
  z-index: -1;
}

.tk-circle:nth-of-type(1) {
  background: rgba(0, 240, 255, 0.7);
}

.tk-circle:nth-of-type(2) {
  background: rgba(0, 87, 255, 0.7);
}

.tk-space-btn:hover .tk-container-stars {
  z-index: 1;
  background-color: #1a1a2e;
}

.tk-space-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.tk-space-btn:active {
  border: double 4px #00f0ff;
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: none;
}

.tk-space-btn:active .tk-circle {
  background: #00f0ff;
}

.tk-stars {
  position: relative;
  background: transparent;
  width: 200rem;
  height: 200rem;
}

.tk-stars::after {
  content: "";
  position: absolute;
  top: -10rem;
  left: -100rem;
  width: 100%;
  height: 100%;
  animation: tk_animStarRotate 90s linear infinite;
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
}

.tk-stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 170%;
  height: 500%;
  animation: tk_animStar 60s linear infinite;
  background-image: radial-gradient(#ffffff 1px, transparent 1%);
  background-size: 50px 50px;
  opacity: 0.5;
}

/* Keyframes renombrados para evitar conflictos */
@keyframes tk_animStar {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-135rem);
  }
}

@keyframes tk_animStarRotate {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0);
  }
}

@keyframes tk_gradient_301 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes tk_pulse_3011 {
  0% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.75);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

/* ================= HAMBURGUESA ================= */
.tk-nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.tk-nav-toggle span {
  width: 18px;
  height: 2px;
  background: #fff;
  transition: 0.35s ease;
}

/* ANIMACIÓN → X */
.tk-nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.tk-nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.tk-nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ================= MENÚ MÓVIL ================= */
.tk-mobile-menu {
  position: fixed;
  top: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px) scale(0.96);
  width: 92%;
  max-width: 360px;

  background: rgba(20, 20, 40, 0.65);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  border-radius: 28px;
  padding: 26px 22px;

  display: flex;
  flex-direction: column;
  gap: 20px;

  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(.22, 1, .36, 1);

  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  z-index: 5000;
}

.tk-mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.tk-mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
}

/* CTA */
.tk-mobile-cta {
  margin-top: 12px;
  padding: 12px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, #5b6cff, #7b8bff);
  font-weight: 600;
}

/* ================= OVERLAY ================= */
.tk-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 10, 25, 0.45);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 4000;
}

.tk-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ================= BLOQUEO SCROLL ================= */
body.tk-no-scroll {
  overflow: hidden;
  height: 100vh;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

  .tk-nav-links,
  .tk-btn-wrapper {
    display: none;
  }

  .tk-nav-toggle {
    display: flex;
  }
}

/* FONDO NO BLOQUEA CLICKS */
.tk-bg-lights {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}


/* ================= HERO ================= */
/* ================= HERO ================= */
.tk-hero {
  min-height: 80vh;
  padding-top: 140px;
  background: transparent;
  position: relative;
  z-index: 1;
}

/* ================= TITULO ================= */
.tk-hero-title {
  text-align: center;
  margin-bottom: 60px;
}

.tk-hero-title h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
}

/* ================= CONTENIDO DESKTOP ================= */
.tk-hero-content {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

/* ================= TEXTO ================= */
.tk-hero-text {
  max-width: 520px;
  text-align: justify;
}

.tk-hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #d0d0d0;
}

/* ================= BOTONES ================= */
.tk-hero-buttons {
  display: flex;
  gap: 28px;
}

/* ===== ESTILO BASE BOTONES ===== */
.tk-btn-primary,
.tk-btn-secondary {
  text-align: center;
  padding: 0.8em 1.6em;
  border-radius: 6px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  background: transparent;
  color: #00d4ff;
  border: 2px solid #00d4ff;
  transition: all 400ms ease;
  text-decoration: none;
}

/* ===== FONDO ANIMADO ===== */
.tk-btn-primary::before,
.tk-btn-secondary::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #00d4ff;
  transform: skewX(45deg);
  transition: width 1200ms ease;
  z-index: -1;
}

/* ===== HOVER ===== */
.tk-btn-primary:hover,
.tk-btn-secondary:hover {
  color: #0a0a1f;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.tk-btn-primary:hover::before,
.tk-btn-secondary:hover::before {
  width: 250%;
}

/* Elevación solo en desktop */
@media (min-width: 769px) {

  .tk-btn-primary:hover,
  .tk-btn-secondary:hover {
    transform: translateY(-2px);
  }
}

/* ================= IMAGEN ================= */
.tk-hero-image {
  display: flex;
  justify-content: center;
}

.tk-hero-image img {
  width: 100%;
  max-width: 480px;
  animation: tk-float 6s ease-in-out infinite;
}

/* FLOAT DESKTOP */
@keyframes tk-float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ================= HERO MOBILE ================= */
@media (max-width: 768px) {

  .tk-hero {
    padding-top: 120px;
  }

  .tk-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .tk-hero-text {
    text-align: justify;
    max-width: 90%;
  }

  .tk-hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .tk-btn-primary,
  .tk-btn-secondary {
    letter-spacing: 1px;
    font-size: 13px;
    padding: 0.9em 1em;
  }

  .tk-hero-image img {
    max-width: 260px;
    animation: tk-float-mobile 5s ease-in-out infinite;
  }
}

/* FLOAT MOBILE */
@keyframes tk-float-mobile {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-24px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ================= TYPEWRITER ================= */
.tk-type-section {
  padding: 80px 20px;
  text-align: center;
  background: transparent;
}

.tk-type-text {
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
}

#typewriter {
  color: #00d4ff;
  margin-left: 6px;
}

.tk-cursor {
  display: inline-block;
  margin-left: 4px;
  animation: blink 4s infinite;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .tk-type-section {
    padding: 40px 16px 20px;
  }

  .tk-static-text {
    display: none;
  }
}

/* --- servicios */

/* ================= TK SERVICIOS ================= */
.tk-services {
  padding-top: 120px;
}

.tk-services-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  /* más espacio a las cards */
  gap: 60px;
  align-items: center;
}

/* ================= TEXTO ================= */
.tk-services-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.tk-services-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cfcfcf;
  max-width: 420px;
  text-align: center, justify;
}

/* ================= GRID CARDS (BASE: MOBILE) ================= */
.tk-services-cards {
  display: grid;
  grid-template-columns: 1fr;
  /* 📱 1 en celular */
  gap: 26px;
}

/* ================= CARD ================= */
.tk-service-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* ICONO */
.tk-service-card i {
  font-size: 2.2rem;
  color: #00bfff;
  margin-bottom: 16px;
  display: inline-block;
  transition: all 0.4s ease;
}

/* TITULO */
.tk-service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ffffff;
}

/* TEXTO */
.tk-service-card p {
  font-size: 0.95rem;
  color: #bdbdbd;
  line-height: 1.5;
}

/* ================= HOVER ================= */
.tk-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 136, 255, 0.25);
}

.tk-service-card:hover i {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.95);
  transform: scale(1.15);
}

/* ================= TABLET ================= */
@media (min-width: 768px) {
  .tk-services-cards {
    grid-template-columns: repeat(2, 1fr);
    /* 📲 2 en tablet */
  }
}

/* ================= DESKTOP ================= */
@media (min-width: 1024px) {
  .tk-services-cards {
    grid-template-columns: repeat(3, 1fr);
    /* 💻 3 en PC */
  }
}

/* ================= MOBILE AJUSTES ================= */
@media (max-width: 768px) {
  .tk-services-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .tk-services-text p {
    margin: auto;
  }
}

/* ================= SCROLL REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ================= STAGGER (efecto cascada) ================= */
.tk-service-card:nth-child(1) {
  transition-delay: 0.05s;
}

.tk-service-card:nth-child(2) {
  transition-delay: 0.1s;
}

.tk-service-card:nth-child(3) {
  transition-delay: 0.15s;
}

.tk-service-card:nth-child(4) {
  transition-delay: 0.2s;
}

.tk-service-card:nth-child(5) {
  transition-delay: 0.25s;
}

.tk-service-card:nth-child(6) {
  transition-delay: 0.3s;
}

/* ==================================================
   ACERCA DE TECHLINK
================================================== */

/* ===== SECCIÓN ===== */
.tk-about {
  padding: 140px 0;
}

/* ===== CONTENEDOR ===== */
.tk-about-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 70px;
  align-items: center;
}

/* ==================================================
   IMAGEN
================================================== */
.tk-about-image {
  position: relative;
  max-width: 420px;
  transform: translateY(30px);
}

/* Imagen */
.tk-about-image img {
  width: 100%;
  border-radius: 18px;
  display: block;
  position: relative;
  z-index: 2;
}

/* Marco solo en esquinas */
.tk-about-image::before,
.tk-about-image::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 35px;
  border: 2px solid #00bfff;
  z-index: 1;
}

/* Esquina superior izquierda */
.tk-about-image::before {
  top: -12px;
  left: -12px;
  border-right: none;
  border-bottom: none;
}

/* Esquina inferior derecha */
.tk-about-image::after {
  bottom: -12px;
  right: -12px;
  border-left: none;
  border-top: none;
}

/* ==================================================
   CONTENIDO
================================================== */
.tk-about-content {
  display: flex;
  flex-direction: column;
}

/* Título */
.tk-about-title {
  font-size: 2.4rem;
  text-align: right;
  margin: 0 100px 30px 0;
  color: #ffffff;
}

.tk-about-title span {
  color: #ffffff;
}

/* Descripción */
.tk-about-description {
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
  color: #cfcfcf;
  margin-bottom: 35px;
}

/* ==================================================
   CARACTERÍSTICAS
================================================== */
.tk-about-features h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tk-about-features h3 i {
  color: #00bfff;
}

.tk-about-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tk-about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #bdbdbd;
  font-size: 0.95rem;
}

.tk-about-features li i {
  color: #00bfff;
}

/* ==================================================
   RESPONSIVE – MOBILE
================================================== */
@media (max-width: 900px) {

  .tk-about {
    padding: 100px 20px;
  }

  .tk-about-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  /* Contenido arriba */
  .tk-about-content {
    order: 1;
    align-items: center;
  }

  .tk-about-title {
    text-align: center;
    margin: 0 0 30px;
  }

  .tk-about-description {
    max-width: 95%;
    text-align: justify;
    text-align-last: center;
  }

  .tk-about-features h3 {
    justify-content: center;
    text-align: center;
  }

  .tk-about-features li {
    align-items: flex-start;
    text-align: justify;
    line-height: 1.6;
  }

  /* Imagen abajo */
  .tk-about-image {
    order: 2;
    margin: auto;
    max-width: 340px;
    transform: none;
  }

  /* Ajuste del marco */
  .tk-about-image::before,
  .tk-about-image::after {
    width: 28px;
    height: 28px;
  }

  .tk-about-image::before {
    top: -8px;
    left: -8px;
  }

  .tk-about-image::after {
    bottom: -8px;
    right: -8px;
  }
}

/* ==================================================
   SCROLL REVEAL
================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= DIRECCIONES (PC) ================= */
.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-left.active,
.reveal-right.active {
  transform: translateX(0);
}

/* ================= LISTA UNO POR UNO ================= */
.tk-about-features li {
  transition-delay: 0.2s;
}

.tk-about-features li:nth-child(1) {
  transition-delay: 0.2s;
}

.tk-about-features li:nth-child(2) {
  transition-delay: 0.35s;
}

.tk-about-features li:nth-child(3) {
  transition-delay: 0.5s;
}

.tk-about-features li:nth-child(4) {
  transition-delay: 0.65s;
}

.tk-about-features li:nth-child(5) {
  transition-delay: 0.8s;
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {

  .reveal-left,
  .reveal-right {
    transform: translateY(30px);
  }
}


/* ===================================================
   SCROLL REVEAL (RESTAURADO Y OPTIMIZADO)
=================================================== */

.reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.reveal-left {
  transform: translate3d(-60px, 0, 0);
}

.reveal-right {
  transform: translate3d(60px, 0, 0);
}

.reveal-up {
  transform: translate3d(0, 60px, 0);
}

/* Estado visible */
.reveal.active {
  opacity: 1;
  transform: translate3d(0, 0, 0) !important;
}

/* Optimización móvil */
@media (max-width: 768px) {

  .reveal-left,
  .reveal-right {
    transform: translate3d(0, 30px, 0);
  }

  .reveal {
    transition-duration: 0.6s;
  }
}

/* ================= CLIENTES ================= */
.tk-clients {
  padding: 60px 0;
  overflow: hidden;
}

.tk-clients-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: #fff;
}

.tk-clients-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.tk-clients-track {
  display: flex;
  align-items: center;
  gap: 80px;
  will-change: transform;
}

.tk-client {
  flex: 0 0 auto;
}

.tk-client img {
  height: 70px;
  width: auto;
  display: block;
  pointer-events: none;
}

/* ===================================================
   CONTACTO
=================================================== */

.tk-contact {
  padding: 140px 20px;
  overflow-x: hidden;
}

.tk-contact-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: flex-start;
  /* ✔ Alineación correcta */
}

/* ---------- INFO ---------- */
.tk-contact-title {
  font-size: 2.3rem;
  color: #fff;
  margin-bottom: 20px;
}

.tk-contact-text {
  color: #cfcfcf;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
}

/* ---------- CONTACT CARDS ---------- */
.tk-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.tk-contact-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  border-radius: 16px;
  background: linear-gradient(180deg, #121c2a, #0e1623);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.3s ease, filter 0.3s ease;
}

/* ✔ Hover sin transform (NO desordena) */
.tk-contact-card:hover {
  box-shadow: 0 20px 40px rgba(0, 136, 255, 0.25);
  filter: brightness(1.08);
}

.tk-contact-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: rgba(0, 191, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00bfff;
}

/* ---------- FORM BASE ---------- */
.tk-contact-form {
  position: relative;
  max-width: 520px;
  width: 100%;
  /* Asegura que ocupe el 100% en móviles */
  margin: 0 auto;
  /* Centra el formulario si el contenedor es grande */
  border-radius: 18px;
  padding: 40px;
  background: linear-gradient(180deg, #121c2a, #0e1623);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  z-index: 0;
  overflow: hidden;
  box-sizing: border-box;
  /* Evita que el padding sume al ancho total */
}

#contact-form-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  width: 100%;
  display: block;
}

#contact-form-description {
  text-align: center;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  /* Ajuste ligero de legibilidad */
}

/* ================= MARCO ANIMADO ================= */

/* Barra que rota */
.tk-contact-form::before {
  content: "";
  position: absolute;
  width: 180px;
  /* Un poco más ancho para cubrir bien las esquinas */
  height: 400%;
  top: -150%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg,
      transparent,
      #66b5ff,
      #6682ff,
      #66b5ff,
      transparent);
  animation: borderRotate 8s linear infinite;
  z-index: 0;
}

/* Capa interna (Fondo del formulario) */
.tk-contact-form::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: inherit;
  /* Mantiene el gradiente del contenedor padre */
  border-radius: 16px;
  z-index: 1;
}

.tk-contact-form>* {
  position: relative;
  z-index: 2;
}

@keyframes borderRotate {
  from {
    transform: translateX(-50%) rotate(0deg);
  }

  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

/* ================= AJUSTES RESPONSIVE ================= */

@media (max-width: 600px) {
  .tk-contact-form {
    padding: 25px 20px;
    /* Reducimos el padding para ganar espacio */
    max-width: 95%;
    /* Pequeño margen a los lados en pantallas muy chicas */
    border-radius: 15px;
  }

  #contact-form-title {
    font-size: 1.2rem;
    /* Título un poco más pequeño en móvil */
    margin-bottom: 15px;
  }

  /* Ajustamos la velocidad o el tamaño del efecto si es necesario */
  .tk-contact-form::before {
    width: 140px;
  }
}

/* Inputs */
.tk-contact-form input,
.tk-contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  margin-bottom: 15px;
}

.tk-contact-form button {
  width: 100%;
  background: linear-gradient(135deg, #1e90ff, #6a5acd);
  border: none;
  border-radius: 12px;
  padding: 14px;
  color: #fff;
  cursor: pointer;
}

.tk-form-status {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
  transition: all 0.3s ease;
}

.tk-error {
  color: #ff4d4d;
}

.tk-success {
  color: #00ffae;
}

.tk-invalid {
  border: 1px solid #ff4d4d !important;
  box-shadow: 0 0 5px rgba(255, 77, 77, 0.4);
}


/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .tk-contact-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .tk-contact-info {
    text-align: center;
    margin-bottom: 40px;
  }

  .tk-contact-text {
    margin: 0 auto 30px;
  }

  .tk-contact-form {
    max-width: 100%;
    margin-left: 0;
    padding: 30px 20px;
  }

  .tk-contact-form-wrap {
    margin-top: 30px;
  }
}

/* ================= FOOTER TECHLINK ================= */
.tk-footer {
  background: rgba(5, 9, 20, 0.85);
  backdrop-filter: blur(12px);
  color: #cfefff;
  padding: 80px 10% 30px;
  border-top: 1px solid rgba(0, 180, 255, 0.25);
  position: relative;
}

/* Grid */
.tk-footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 45px;
}

/* Marca */
.tk-footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.tk-footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #cfefff;
  max-width: 320px;
}

/* Títulos */
.tk-footer h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #ffffff;
}

.tk-footer h4::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  background: #00b4ff;
  margin-top: 6px;
  box-shadow: 0 0 10px #00b4ff;
}

/* Links */
.tk-footer-links a {
  display: block;
  text-decoration: none;
  color: #00b4ff;
  margin-bottom: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tk-footer-links a:hover {
  color: #ffffff;
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.9),
    0 0 14px rgba(0, 180, 255, 0.8);
  transform: translateX(6px);
}

/* Servicios y contacto */
.tk-footer-services span,
.tk-footer-contact span {
  display: block;
  margin-bottom: 9px;
  font-size: 0.95rem;
  color: #cfefff;
}

/* Redes */
.tk-footer-icons {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.tk-footer-icons a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #00b4ff, #0090ff);
  color: #050914;
  border-radius: 50%;
  font-size: 1.25rem;
  transition: all 0.35s ease;
  box-shadow: 0 0 18px rgba(0, 180, 255, 0.45);
}

.tk-footer-icons a:hover {
  background: #ffffff;
  color: #00b4ff;
  box-shadow:
    0 0 15px #ffffff,
    0 0 35px #00b4ff;
  transform: translateY(-6px) scale(1.05);
}

/* Parte inferior */
.tk-footer-bottom {
  margin-top: 55px;
  padding-top: 22px;
  text-align: center;
  font-size: 0.85rem;
  color: #cfefff;
  border-top: 1px solid rgba(0, 180, 255, 0.25);
}

.tk-footer-bottom span {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .tk-footer {
    padding: 60px 6% 25px;
  }

  .tk-footer-logo {
    font-size: 1.6rem;
  }
}