:root {
  --background: #020304;
  --card: #080a0d;
  --card-soft: #0b0e12;

  --blue: #078cff;
  --blue-light: #13b8ff;
  --blue-dark: #075ce4;

  --white: #f4f5f7;
  --gray: #a5a8ae;

  --border: rgba(255, 255, 255, 0.14);
}

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

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--white);

  font-family: "Inter", sans-serif;

  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

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

.header {
  height: 94px;

  padding: 0 26px;

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

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  background: #020304;
}

/* LOGO */
/* ===================================
   LOGO KDEV STUDIO
=================================== */

.brand {
  display: flex;
  align-items: center;

  height: 68px;

  gap: 0;

  text-decoration: none;
}

/* K + </> */

.brand__symbol {
  width: 66px;
  height: 66px;

  display: block;

  object-fit: contain;

  flex-shrink: 0;
}

/* KDEV STUDIO */

.brand__name {
  width: 123px;
  height: auto;

  display: block;

  object-fit: contain;
  margin-left: -7px;
}
/* MENU */

.menu {
  width: 42px;
  height: 42px;

  border: 0;
  background: transparent;

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

  gap: 6px;

  cursor: pointer;
}

.menu span {
  width: 28px;
  height: 3px;

  background: #fff;

  border-radius: 50px;
}
/* =====================================================
   HERO
===================================================== */

.hero {
  position: relative;

  width: 100%;
  height: 350px;

  overflow: hidden;

  background: #020304;
}

/* =====================================================
   CONTENIDO IZQUIERDO
===================================================== */

.hero-left {
  position: relative;
  z-index: 3;

  width: 70%;
  height: 100%;

  padding: 28px 0 20px 18px;
}

/* =====================================================
   BADGE
===================================================== */

.badge {
  display: inline-flex;
  align-items: center;

  height: 23px;

  padding: 0 8px;

  margin-bottom: 18px;

  border: 1px solid #078cff;
  border-radius: 4px;

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

  color: #38aaff;

  font-size: 8px;
  font-weight: 600;

  white-space: nowrap;
}

/* =====================================================
   TÍTULO
===================================================== */

.hero-left h1 {
  position: relative;
  z-index: 4;

  width: 245px;

  margin: 0 0 17px;

  color: #f5f5f5;

  font-size: 23px;
  line-height: 1.08;

  letter-spacing: -0.5px;

  font-weight: 800;
}

.hero-left h1 span {
  display: block;

  color: #078cff;

  white-space: nowrap;
}

/* =====================================================
   DESCRIPCIÓN
===================================================== */

.hero-text {
  width: 225px;

  margin: 0 0 24px;

  color: #aeb1b6;

  font-size: 10px;
  line-height: 1.55;

  font-weight: 400;
}

/* =====================================================
   BOTONES
===================================================== */

.hero-actions {
  position: relative;
  z-index: 5;

  width: 230px;

  display: flex;
  flex-direction: column;

  gap: 8px;
}

.btn {
  width: 100%;
  height: 45px;

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

  gap: 8px;

  padding: 0 10px;

  border-radius: 5px;

  font-size: 11px;
  font-weight: 700;
}

.btn svg {
  width: 15px;
  height: 15px;

  flex-shrink: 0;
}

/* BOTÓN AZUL */

.btn-primary {
  color: #fff;

  border: 1px solid #19baff;

  background: linear-gradient(105deg, #087bdc, #0756cf 50%, #073da9);

  box-shadow:
    0 0 17px rgba(0, 151, 255, 0.38),
    inset 0 0 13px rgba(0, 196, 255, 0.12);
}

/* BOTÓN NEGRO */

.btn-outline {
  color: #fff;

  border: 1px solid #078cff;

  background: rgba(0, 0, 0, 0.42);
}

.btn-outline svg {
  color: #078cff;
}

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

.hero-right {
  position: absolute;

  z-index: 1;

  top: 0;
  right: 0;

  width: 38%;
  height: 88%;

  overflow: hidden;

  pointer-events: none;
}

/* IMAGEN K */

.hero-right__image {
  position: absolute;

  top: 0;
  right: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  display: block;
}

/* =====================================================
   TRANSICIÓN NEGRO -> IMAGEN
===================================================== */

.hero-right::after {
  content: "";

  position: absolute;

  z-index: 2;

  inset: 0;

  pointer-events: none;

  background: linear-gradient(
    90deg,
    #020304 0%,
    rgba(2, 3, 4, 0.82) 8%,
    rgba(2, 3, 4, 0.35) 22%,
    rgba(2, 3, 4, 0.08) 38%,
    transparent 52%
  );
}
/* ===================================
   GENERAL SECTIONS
=================================== */

.section {
  padding-left: 26px;
  padding-right: 26px;
}

.benefits-section {
  padding-top: 0;
  padding-bottom: 28px;
}

/* ===================================
   BENEFITS
=================================== */
/* ===================================
   BENEFITS
=================================== */

.benefits-section {
  padding-top: 0;
  padding-bottom: 28px;
}

/* TARJETA COMPLETA */

.benefits {
  width: 100%;
  height: 118px;
  min-height: 118px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border: 1px solid var(--border);
  border-radius: 9px;

  background: linear-gradient(115deg, #080a0d, #050607);

  overflow: hidden;
}

/* CADA COLUMNA */

.benefit {
  position: relative;

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

  text-align: center;

  padding: 14px 7px;
}

/* SEPARADORES */

.benefit:not(:last-child)::after {
  content: "";

  position: absolute;

  right: 0;
  top: 20px;
  bottom: 20px;

  width: 1px;

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

/* ICONOS */

.benefit svg {
  width: 30px;
  height: 30px;

  margin-bottom: 11px;

  color: #078cff;

  stroke-width: 1.8;
}

/* TEXTO */

.benefit p {
  margin: 0;

  font-size: 10px;
  line-height: 1.35;

  font-weight: 600;

  color: #f4f5f7;
}

/* ===================================
   PROBLEM CARD
=================================== */

.problem-card {
  width: 100%;

  min-height: 165px;

  display: flex;
  align-items: center;

  gap: 14px;

  padding: 20px 16px;

  border: 1px solid var(--border);
  border-radius: 9px;

  background: linear-gradient(115deg, #080a0d, #060709);
}

/* ICONO */

.problem-icon {
  width: 48px;
  min-width: 48px;
  height: 48px;

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

  border-radius: 50%;

  border: 1px solid rgba(0, 130, 255, 0.45);

  background: rgba(0, 105, 255, 0.1);

  flex-shrink: 0;
}

.problem-icon svg {
  width: 26px;
  height: 26px;

  color: #078cff;
}

/* CONTENIDO */

.problem-content {
  flex: 1;
  min-width: 0;
}

/* TÍTULO */

.problem-content h2 {
  margin: 0 0 10px;

  font-size: 17px;
  line-height: 1.08;

  font-weight: 700;
}

.problem-content h2 span {
  display: block;

  color: #188cff;
}

/* TEXTO */

.problem-content p {
  margin: 0 0 8px;

  color: #aeb0b5;

  font-size: 10px;
  line-height: 1.4;
}

/* LINK */

.problem-content .text-link {
  color: #168cff;

  font-size: 10px;
  font-weight: 700;

  display: inline-flex;
  align-items: center;

  gap: 4px;
}

.problem-content .text-link span {
  font-size: 15px;
  font-weight: 400;
}

/* ===================================
   SERVICES
=================================== */

.services {
  padding-top: 28px;
}

.section-heading {
  margin-bottom: 17px;
}

.section-heading h2 {
  font-size: 21px;

  letter-spacing: -0.5px;

  margin-bottom: 6px;
}

.section-heading p {
  color: #a7a9ae;

  font-size: 13px;
}

/* GRID */

.services-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 7px;
  align-items: stretch;
}

/* CARD */

.service-card {
  position: relative;

  color: inherit;
  text-decoration: none;
  cursor: pointer;

  min-height: 100px;
  height: 100%;

  display: flex;
  align-items: flex-start;

  gap: 10px;

  padding: 14px 12px;

  border: 1px solid var(--border);
  border-radius: 9px;

  background: linear-gradient(125deg, #090b0e, #060709);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
/* FLECHA */

.service-card__arrow {
  position: absolute;

  left: 9px;
  bottom: 2px;

  width: 24px;
  height: 24px;

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

  border: 1px solid rgba(0, 140, 255, 0.25);
  border-radius: 50%;

  color: #078cff;

  background: rgba(0, 126, 255, 0.07);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.service-card__arrow svg {
  width: 13px;
  height: 13px;
}
/* INTERACCIÓN */

.service-card:hover {
  transform: translateY(-2px);

  border-color: rgba(0, 140, 255, 0.4);

  background: linear-gradient(125deg, rgba(7, 140, 255, 0.08), #060709);

  box-shadow: 0 5px 18px rgba(0, 126, 255, 0.08);
}

.service-card:hover .service-card__arrow {
  transform: translate(2px, -2px);

  border-color: #078cff;

  background: rgba(0, 126, 255, 0.14);
}

/* EFECTO AL TOCAR EN CELULAR */

.service-card:active {
  transform: scale(0.98);
}
.service-card > div:last-child {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}
.service-icon {
  width: 42px;
  min-width: 42px;
  height: 42px;

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

  border-radius: 8px;

  background: #0c1118;

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

  flex-shrink: 0;
}

.service-icon svg {
  width: 26px;
  height: 26px;

  color: #078cff;

  stroke-width: 1.8;
}

.service-card h3 {
  margin: 0 0 5px;

  font-size: 12px;
  line-height: 1.2;

  font-weight: 700;

  white-space: nowrap;
}

.service-card p {
  margin: 0;

  color: #a7a9ae;

  font-size: 9px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

/* ===================================
   PRODUCTS
=================================== */

.products-section {
  padding-top: 14px;
  padding-bottom: 10px;
}

.products-card {
  position: relative;
  overflow: hidden;

  padding: 20px 18px;

  border: 1px solid rgba(0, 140, 255, 0.22);
  border-radius: 9px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(0, 126, 255, 0.08),
      transparent 50%
    ),
    linear-gradient(115deg, #090b0d, #060709);

  box-shadow: inset 0 0 20px rgba(0, 126, 255, 0.02);
}
.products-card .text-link {
  color: #168cff;

  font-size: 12px;
  font-weight: 700;

  display: inline-flex;
  align-items: center;

  gap: 5px;
}
.products-card h2 {
  margin: 0 0 8px;

  color: #f5f5f5;

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

.products-card p {
  margin: 0 0 10px;

  color: #a7a9ae;

  font-size: 11px;
  line-height: 1.4;
}

/* ===================================
   MOBILE MUY CHICO
=================================== */

@media (max-width: 390px) {
  .header,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .benefit p {
    font-size: 10px;
  }
}
/* ===================================
   FOOTER
=================================== */

.footer {
  margin-top: 20px;

  padding: 34px 20px 18px;

  background: linear-gradient(180deg, #05070a 0%, #020304 100%);

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  text-align: center;
}

/* PARTE SUPERIOR */

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

  gap: 22px;

  text-align: center;
}

/* ===================================
   LOGO
=================================== */

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

  width: 100%;
}

.footer__logo {
  display: flex;
  align-items: center;

  gap: 0;

  margin-bottom: 10px;
}

.footer__symbol {
  width: 53px;
  height: 53px;
  mix-blend-mode: screen;
  object-fit: contain;
}

.footer__name {
  width: 100px;
  height: auto;
  mix-blend-mode: screen;
  object-fit: contain;

  margin-left: -7px;
}

.footer__brand p {
  max-width: 260px;

  color: #8f949c;

  font-size: 12px;
  line-height: 1.5;

  text-align: center;
}

/* ===================================
   NAVEGACIÓN
=================================== */

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

.footer__nav a {
  color: #aeb1b6;

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

  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: #078cff;
}

/* ===================================
   REDES
=================================== */

.footer__social {
  width: 100%;

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

  gap: 15px;
}
.footer__social .social {
  width: 52px;
  height: 52px;

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

  border-radius: 11px;

  background: #080b0f;

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

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.footer__social .social img {
  width: 35px;
  height: 35px;

  object-fit: contain;

  display: block;

  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.footer__bottom {
  width: 100%;

  margin-top: 26px;

  padding-top: 16px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

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

.footer__bottom p {
  margin: 0;

  color: #686d75;

  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;

  text-align: center;
}

/* WHATSAPP */

.social--whatsapp {
  box-shadow:
    0 0 13px rgba(37, 211, 102, 0.18),
    inset 0 0 10px rgba(37, 211, 102, 0.04);
}

.social--whatsapp:hover {
  border-color: #25d366;

  box-shadow: 0 0 20px rgba(37, 211, 102, 0.45);
}

.social--whatsapp img {
  filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.65));
}

/* INSTAGRAM */

.social--instagram {
  box-shadow: 0 0 13px rgba(225, 48, 108, 0.18);
}

.social--instagram:hover {
  border-color: #e1306c;

  box-shadow: 0 0 20px rgba(225, 48, 108, 0.45);
}

.social--instagram img {
  filter: drop-shadow(0 0 5px rgba(225, 48, 108, 0.6));
}

/* GMAIL */
.social--gmail {
  box-shadow: 0 0 13px rgba(234, 67, 53, 0.18);
}

.social--gmail:hover {
  border-color: #ea4335;

  box-shadow: 0 0 20px rgba(234, 67, 53, 0.45);
}

.social--gmail img {
  filter: drop-shadow(0 0 5px rgba(234, 67, 53, 0.6));
}

.footer__social .social:hover {
  transform: translateY(-3px);
}

.footer__social .social:hover img {
  transform: scale(1.1);
}
/* ===================================
   MOBILE MENU
=================================== */

.mobile-menu {
  position: fixed;

  top: 94px;
  left: 0;

  z-index: 1000;

  width: 100%;

  padding: 22px 24px 28px;

  display: flex;
  flex-direction: column;

  gap: 0;

  background: linear-gradient(180deg, #05080c 0%, #020304 100%);

  border-bottom: 1px solid rgba(0, 140, 255, 0.25);

  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.65),
    0 0 25px rgba(0, 126, 255, 0.06);

  /* Cerrado */
  opacity: 0;
  visibility: hidden;

  transform: translateY(-12px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

/* MENÚ ABIERTO */

.mobile-menu.active {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

/* LINKS */

.mobile-menu > a:not(.mobile-menu__cta) {
  padding: 15px 2px;

  color: #e9eaec;

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

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* CTA */

.mobile-menu__cta {
  height: 46px;

  margin-top: 20px;

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

  border: 1px solid #149cff;
  border-radius: 7px;

  color: #fff;

  font-size: 13px;
  font-weight: 700;

  background: linear-gradient(105deg, #087bdc, #0756cf 50%, #073da9);

  box-shadow: 0 0 18px rgba(0, 151, 255, 0.25);
}

/* ===================================
   HAMBURGUESA ABIERTA
=================================== */

.menu span {
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
@media (max-width: 390px) {
  .service-card {
    gap: 8px;
    padding: 12px 8px;
  }

  .service-icon {
    width: 38px;
    min-width: 38px;
    height: 38px;
  }

  .service-icon svg {
    width: 23px;
    height: 23px;
  }

  .service-card h3 {
    font-size: 11px;
  }

  .service-card p {
    font-size: 8px;
    line-height: 1.45;
  }
}
/* ===================================
   DESTACAR SOLUCIONES KDEV
=================================== */

.products-card {
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.products-card.products-card--highlight {
  animation: productsHighlight 1.15s ease;
}

@keyframes productsHighlight {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.025);

    border-color: rgba(0, 153, 255, 0.65);

    box-shadow:
      0 0 18px rgba(0, 140, 255, 0.25),
      0 0 35px rgba(0, 110, 255, 0.12),
      inset 0 0 20px rgba(0, 126, 255, 0.06);
  }

  100% {
    transform: scale(1);
  }
}
