html {
  scroll-behavior: smooth;
}

body {
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: none;
  overflow-y: none;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
  font-family: Arial, sans-serif;
}

#header {
  height: 800px;
  background-image: url('image/fondo_encabezado.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

#header::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  background: transparent;
  color: white;
  position: fixed;
  height: 80px;
  width: 100%;
  top: 0;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 1000;
  box-sizing: border-box;
}

.navbar.scrolled {
  background: rgba(5, 1, 41, 0.9);
  backdrop-filter: blur(10px);
  opacity: 0.98;
  color: white;
}

.logo {
  margin-top: 10px;
  width: 200px;
  height: 140px;
  scale: calc(1.25);
  font-weight: bold;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  display: inline;
  opacity: 1;
  transform: translateY(-20px);
  transition: all 0.5s ease;
}

.nav-links li.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-links a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: white;
  font-size: 30px;
  padding-bottom: 5px;
  transition: 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #0D6EFD, #D633FF);
  transition: width 0.3s ease;
}

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

.nav-links a:hover {
  color: #00c3ff;
}

#espaciolibre {
  width: 200px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

.hero {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

.hero-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-logo {
  height: 300px;
  transform: scale(2);
}

.hero h1 {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: #ccccccae;
  text-align: center;
  width: 500px;
  margin: 0 auto;
}

@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }

  to {
    opacity: 1;
  }
}

.cards-container {
  height: 450px;
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 80px;
  margin-top: -80px;
  position: relative;
  z-index: 100;
  padding: 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.card {
  cursor: pointer;
  width: 340px;
  height: 370px;
  background: white;
  border-radius: 20px;
  box-shadow: 0px 0px 10px 2px #7B2FF7;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 80px;
  opacity: 1;
  animation: aparecer 0.8s ease forwards;
  flex-shrink: 0;
}

.card:hover {
  box-shadow: 0px 0px 10px 4px #7B2FF7;
  transform: translateY(-20px) scale(1.05);
}

.card h3 {
  padding: 0;
  height: 200px;
  font-family: Arial, sans-serif;
  font-size: 28px;
}

.card p {
  height: 100%  ;
  font-family: Arial, sans-serif;
  padding: 0;
  font-size: 18px;
}

.circulo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(272, 100%, 97%);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

img {
  height: 110px;
}

@keyframes show {
  from {
    opacity: 10%;
    scale: 25%;
  }

  to {
    opacity: 100%;
    scale: 100%;
    transform: translateX(0px);
  }
}

@keyframes show2 {
  from {
    opacity: 10%;
    scale: 25%;
  }

  to {
    opacity: 100%;
    scale: 100%;
    transform: translateX(0px);
  }
}

#cuerpo {
  background-image: url('image/fondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  filter: contrast(1.1) brightness(0.9) saturate(1.1);
  flex-direction: column;
  gap: 40px;
  height: auto;
  padding: 40px 0;
  align-items: center;
}

.proyecto {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 80%;
  max-width: 900px;
  height: auto;
  border-radius: 20px;
  padding: 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  transform: translateY(50px);
  transition: all 0.7s ease-out;
  box-sizing: border-box;
}

#img_cel {
  scale: 1;
  object-fit: scale-down;
  border-radius: 15px;
}

.proyecto:nth-child(odd) {
  align-self: flex-start;
  width: 50%;
  margin-left: 5%;
  view-timeline-name: --image;
  view-timeline-axis: block;
  animation-timeline: --image;
  animation-name: show2;
  animation-range: entry 25% cover 30%;
  animation-fill-mode: both;
}

.proyecto:nth-child(even) {
  align-self: flex-end;
  margin-right: 5%;
  width: 50%;
  view-timeline-name: --image;
  view-timeline-axis: block;
  animation-timeline: --image;
  animation-name: show;
  animation-range: entry 25% cover 30%;
  animation-fill-mode: both;
  flex-direction: row-reverse;
}

.proyecto img {
  width: 300px;
  height: 180px;
  object-fit: scale-down;
  border-radius: 15px;
  flex-shrink: 0;
}

.contenido {
  color: white;
}

.contenido h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contenido p {
  color: #ccc;
  margin-bottom: 10px;
}

.extra1 p {
  color: #aaa;
  font-size: 16px;
  margin: 4px 0;
}

.tag {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  background: linear-gradient(90deg, #0D6EFD, #D633FF);
}

.proyecto:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px #7B2FF7;
}

@keyframes show3 {
  from {
    opacity: 10%;
    scale: 25%;
  }

  to {
    opacity: 100%;
    scale: 100%;
    transform: translateX(0px);
  }
}

#productos {
  background-color: white;
  width: 100%;
  height: 100%;
}

.grid {
  margin: 20px 50px 80px;
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr));
  row-gap: 50px;
  column-gap: 50px;
}

.card1 {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  height: 350px;
  view-timeline-name: --image;
  view-timeline-axis: block;
  animation-timeline: --image;
  animation-name: show3;
  animation-range: entry 25% cover 30%;
  animation-fill-mode: both;
  cursor: pointer;
  position: relative;
  z-index: 10;
  transition: all 0.4s ease;
  box-shadow: 0px 10px 25px #d900ff33;
}

.card1:hover {
  height: auto;
  width: 102%;
  transform: translateY(-15px);
  position: relative;
  z-index: 20;
}

.card1 img {
  width: 100%;
  height: 180px;
  object-fit: fill;
}

.content1 {
  padding: 15px;
}

.content1 h3 {
  font-size: 18px;
  margin-top: 15px;
}

.content1 p {
  color: #666;
  font-size: 14px;
}

.extra {
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 0 15px;
  display: flex;
  gap: 20px;
}

.extra div {
  height: auto;
  display: flex;
  flex-direction: column;
}

.card1:hover .extra {
  opacity: 1;
  margin-top: 10px;
}

.extra div h4 {
  width: 100%;
  font-size: 15px;
}

.extra div ul {
  padding-left: 18px;
  margin: 5px 0;
}

.extra div li {
  margin-bottom: 5px;
  list-style: circle;
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #4facfe;
  color: white;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 16px;
}

.card1:not(:hover) {
  opacity: 0.9;
}

#sobre-nosotros {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

#sn-parallax-wrapper {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060610;
}

#sn-bg-parallax {
  position: absolute;
  inset: -80px;
  will-change: transform;
  z-index: 0;
}

.sn-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 130, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 130, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
}

.sn-glow1 {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 130, 255, 0.2) 0%, transparent 70%);
  top: -120px;
  left: -120px;
}

.sn-glow2 {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 40, 255, 0.16) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
}

.sn-glow3 {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 180, 255, 0.09) 0%, transparent 70%);
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#sn-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 6, 20, 0.80) 0%, rgba(4, 10, 40, 0.74) 100%);
  z-index: 1;
}

#sn-contenido {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding: 100px 0;
  color: #fff;
}

#sn-encabezado {
  text-align: center;
  margin-bottom: 60px;
}

#sn-titulo {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(22px, 4vw, 52px);
  font-weight: 900;
  color: #e8eaf6;
  line-height: 1.15;
  margin: 0 0 18px;
}

#sn-titulo-accent {
  background: linear-gradient(90deg, #3882ff 10%, #9b40ff 55%, #d430ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#sn-subtitulo {
  font-size: clamp(14px, 2vw, 17px);
  color: rgba(255, 255, 255, 0.6);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 300;
}

#sn-grid-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.sn-stat {
  background: rgba(56, 130, 255, 0.06);
  border: 0.5px solid rgba(56, 130, 255, 0.2);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.sn-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 130, 255, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.sn-stat:hover {
  background: rgba(56, 130, 255, 0.12);
  border-color: rgba(56, 130, 255, 0.45);
  transform: translateY(-4px);
}

.sn-stat:hover::before {
  opacity: 1;
}

.sn-stat-numero {
  display: block;
  font-size: 38px;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(90deg, #3882ff, #b428ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.sn-stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
  font-weight: 300;
}

#sn-grid-valores {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.sn-valor-card {
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(56, 130, 255, 0.18);
  border-radius: 16px;
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.sn-valor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 130, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.sn-valor-card:hover {
  transform: translateY(-6px);
  background: rgba(56, 130, 255, 0.06);
  border-color: rgba(56, 130, 255, 0.4);
}

.sn-valor-card:hover::before {
  opacity: 1;
}

.sn-valor-icono {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.sn-valor-titulo {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #e8eaf6;
  margin: 0 0 12px;
}

.sn-valor-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin: 0;
  font-weight: 300;
}

.sn-section-lbl {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff, #b428ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.sn-section-lbl::after {
  content: '';
  flex: 1;
  height: 0.8px;
  background: linear-gradient(90deg, rgb(255, 255, 255), transparent);
}

.sn-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 72px;
}

.sn-card {
  background: rgba(255, 255, 255, 0.03);
  border: 0.5px solid rgba(56, 130, 255, 0.2);
  border-radius: 16px;
  padding: 34px 30px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.sn-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 130, 255, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.sn-card:hover {
  background: rgba(56, 130, 255, 0.06);
  border-color: rgba(56, 130, 255, 0.45);
  transform: translateY(-5px);
}

.sn-card:hover::before {
  opacity: 1;
}

.sn-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.sn-card-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.sn-card:nth-child(1) .sn-card-icon {
  background: rgba(56, 130, 255, 0.1);
  border: 0.5px solid rgba(56, 130, 255, 0.3);
}

.sn-card:nth-child(1) .sn-card-icon svg {
  stroke: #3882ff;
}

.sn-card:nth-child(1) .sn-card-lbl {
  color: #3882ff;
}

.sn-card:nth-child(2) .sn-card-icon {
  background: rgba(155, 64, 255, 0.1);
  border: 0.5px solid rgba(155, 64, 255, 0.3);
}

.sn-card:nth-child(2) .sn-card-icon svg {
  stroke: #9b40ff;
}

.sn-card:nth-child(2) .sn-card-lbl {
  color: #9b40ff;
}

.sn-card:nth-child(3) .sn-card-icon {
  background: rgba(212, 48, 255, 0.1);
  border: 0.5px solid rgba(212, 48, 255, 0.3);
}

.sn-card:nth-child(3) .sn-card-icon svg {
  stroke: #d430ff;
}

.sn-card:nth-child(3) .sn-card-lbl {
  color: #d430ff;
}

.sn-card-lbl {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sn-card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #e8eaf6;
  margin-bottom: 14px;
  line-height: 1.25;
}

.sn-card-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: #6a6f99;
}

.sn-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.sn-team-card {
  background: rgba(255, 255, 255, 0.02);
  border: 0.5px solid rgba(56, 130, 255, 0.12);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.sn-team-card:hover {
  background: rgba(56, 130, 255, 0.05);
  border-color: rgba(155, 64, 255, 0.35);
  transform: translateY(-3px);
}

.sn-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(56, 130, 255, 0.15), rgba(180, 40, 255, 0.15));
  border: 1px solid rgba(56, 130, 255, 0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #7ab4ff;
}

.sn-team-name {
  font-size: 14px;
  font-weight: 500;
  color: #d8dbf0;
  margin-bottom: 5px;
}

.sn-team-role {
  font-size: 11px;
  color: #4a4f75;
  letter-spacing: 0.05em;
  font-family: 'Orbitron', sans-serif;
}

#ck-contacto {
  background: #060610;
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

.ck-contacto-wrapper {
  width: 100%;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 130, 255, 0.2);
  border-radius: 20px;
  padding: 50px 40px;
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.ck-contacto-header {
  text-align: center;
  margin-bottom: 40px;
}

.ck-contacto-titulo {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  color: #fff;
}

.ck-contacto-titulo span {
  background: linear-gradient(90deg, #3882ff, #b428ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.ck-contacto-subtitulo {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.ck-contacto-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.ck-input-group {
  position: relative;
  width: 100% !important;
  box-sizing: border-box;
}

.ck-input-group input,
.ck-input-group textarea,
.ck-input-group select {
  width: 100%;
  padding: 14px;
  background: #060610;
  border: 1px solid rgba(56, 130, 255, 0.3);
  border-radius: 10px;
  color: #fff;
  outline: none;
  appearance: none;
  font-size: 14px;
  box-sizing: border-box;
}

.ck-input-group select option {
  background: #060610;
  color: #fff;
}

.ck-input-group label {
  position: absolute;
  left: 14px;
  top: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  transition: 0.3s;
  pointer-events: none;
}

.ck-input-group input:focus+label,
.ck-input-group input:valid+label,
.ck-input-group textarea:focus+label,
.ck-input-group textarea:valid+label,
.ck-input-group select:focus+label,
.ck-input-group select:valid+label {
  top: -8px;
  font-size: 11px;
  color: #3882ff;
}

.ck-btn-enviar {
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #3882ff, #b428ff);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  font-size: 16px;
}

.ck-btn-enviar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(180, 40, 255, 0.5);
}

.ck-popup {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 99999;
}

.ck-popup.active {
  opacity: 1;
  pointer-events: all;
}

.ck-popup-box {
  background: #060610;
  border: 1px solid rgba(56, 130, 255, 0.3);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 300px;
  transform: scale(0.8);
  transition: 0.3s;
}

.ck-popup.active .ck-popup-box {
  transform: scale(1);
}

.ck-popup-box h3 {
  margin-bottom: 10px;
  font-family: 'Orbitron', sans-serif;
}

.ck-popup-box p {
  font-size: 14px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.ck-popup-box button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, #3882ff, #b428ff);
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.ck-popup-box button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(180, 40, 255, 0.5);
}

#ck-footer {
  background: #060610;
  color: #fff;
  padding-top: 60px;
  border-top: 1px solid rgba(56, 130, 255, 0.2);
}

.ck-footer-wrapper {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.ck-footer-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  background: linear-gradient(90deg, #3882ff, #b428ff);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ck-footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  line-height: 1.6;
}

.ck-footer-links h3,
.ck-footer-servicios h3,
.ck-footer-contacto h3 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #7ab4ff;
}

.ck-footer-links ul,
.ck-footer-servicios ul {
  list-style: none;
  padding: 0;
}

.ck-footer-links li,
.ck-footer-servicios li {
  margin-bottom: 10px;
}

.ck-footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
}

.ck-footer-links a:hover {
  color: #b428ff;
  transform: translateX(5px);
}

.ck-footer-contacto p {
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.ck-footer-bottom {
  border-top: 1px solid rgba(56, 130, 255, 0.2);
  text-align: center;
  padding: 20px;
}

.ck-footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

#ck-footer::before {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, #3882ff, #b428ff);
  margin-bottom: 40px;
}

.ck-footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.ck-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 130, 255, 0.3);
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.ck-social-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(180, 40, 255, 0.5), transparent);
  transform: translateX(-100%);
  transition: 0.4s;
}

.ck-social-icon:hover::before {
  transform: translateX(100%);
}

.ck-social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  border-color: #b428ff;
  box-shadow: 0 0 15px rgba(180, 40, 255, 0.6);
  color: #b428ff;
}

.ck-social-icon i {
  z-index: 2;
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 1024px)
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .logo {
    width: 160px;
    height: 110px;
    margin-left: -10px;
  }

  .nav-links a {
    font-size: 16px;
  }

  .nav-links {
    gap: 16px;
  }

  #espaciolibre {
    width: 80px;
  }

  #header {
    height: 700px;
  }

  .hero-logo {
    height: 250px;
    transform: scale(2);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    width: 90%;
    font-size: 1rem;
  }

  @media (hover: none) {
    .card:hover {
      transform: none;
      box-shadow: 0px 0px 10px 2px #7B2FF7;
      /* estado normal */
    }
  }

  .cards-container {
    margin-top: -60px;
    height: 450px;
    gap: 20px;
  }

  .card {
    width: 220px;
    height: 380px;
  }

  .proyecto {
    width: 85%;
  }

  .proyecto img {
    width: 220px;
    height: 140px;
  }

  .grid {
      grid-template-columns: repeat(3, minmax(250px, 1fr));

    margin: 20px 30px 60px;
    column-gap: 30px;
    row-gap: 40px;
  }

  #sn-grid-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  #sn-grid-valores {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 768px)
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  body {
    margin: 0;
    padding: 0;
    width: auto;
    overflow-y: none;
  }

  /* ── Navbar ── */
  .hamburger {
    display: flex;
    margin-right: 10px;
  }

  #espaciolibre {
    display: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 1, 41, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
    z-index: 1000;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    display: block;
  }

  .nav-links a {
    font-size: 24px;
  }

  .logo {
    width: 130px;
    height: 110px;
    margin-left: -25px;
  }

  /* ── Hero: centrado y proporcional ── */
  #header {
    height: auto;
    width: 100%;
    min-height: 80vh;
  }

  .hero {

    padding: 220px 20px 60px;
    align-items: center;
    justify-content: center;
  }

  .hero-content {
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-logo {
    height: 220px;
    margin-bottom: 10px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    width: 100%;
    font-size: 0.95rem;
  }

  /* ── Servicios ── */
  .cards-container {
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    gap: 24px;
    height: auto;
  }

  @media (hover: none) {
    .card:hover {
      transform: none;
      box-shadow: 0px 0px 10px 2px #7B2FF7;
      /* estado normal */
    }
  }


  .card {
    width: auto;
    height: auto;
    padding: 60px 20px 30px;
  }

  .card h3 {
    height: auto;
    font-size: 22px;
  }

  .card p {
    font-size: 16px;
  }

  /* ── Proyectos ── */
  #cuerpo {
    height: auto;
    padding: 30px 0;
    gap: 30px;
  }

  .proyecto,
  .proyecto:nth-child(odd),
  .proyecto:nth-child(even) {
    flex-direction: column;
    align-self: center;
    margin-left: 0;
    margin-right: 0;
    width: 88%;
    height: auto;
  }

  .proyecto img {
    width: 100%;
    height: auto;
    max-height: 200px;
  }

  #img_cel {
    scale: 1;
  }

  /* ── Productos ── */
  .grid {
    margin: 15px 15px 40px;
    grid-template-columns: 1fr 1fr;
    column-gap: 15px;
    row-gap: 25px;
  }

  .card1 {
    height: 300px;
  }

  .card1:hover {
    width: 100%;
  }

  .card1 img {
    height: 140px;
  }

  .content1 h3 {
    font-size: 14px;
    margin-top: 10px;
  }

  .content1 p {
    font-size: 12px;
  }

  .badge {
    font-size: 12px;
  }

  /* ── Sobre nosotros ── */
  #sn-contenido {
    padding: 70px 0;
  }

  #sn-grid-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .sn-stat-numero {
    font-size: 28px;
  }

  #sn-grid-valores {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sn-section-lbl {
    font-size: 14px;
    letter-spacing: 0.15em;
  }

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

  .sn-team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .sn-team-name {
    font-size: 12px;
  }

  /* ── Contacto ── */
  .ck-contacto-wrapper {
    padding: 30px 20px;
  }

  .ck-contacto-titulo {
    font-size: 22px;
  }

  /* ── Footer ── */
  .ck-footer-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}


/* ══════════════════════════════════════════════════════
   RESPONSIVE — MOBILE PEQUEÑO  (≤ 480px)
══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.25rem;
  }

  .hero-logo {
    height: 90px;
  }

  .grid {
    grid-template-columns: 1fr;
    margin: 10px 12px 30px;
  }


  .card1 {
    height: 280px;
  }

  .card1 img {
    height: 130px;
  }

  #sn-grid-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .ck-contacto-titulo {
    font-size: 18px;
  }

  .ck-footer-logo {
    font-size: 22px;
  }
}