@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap");

:root {
  --bg: #04090f;
  --bg2: #070e19;
  --bg3: #0c1623;
  --su: #0f1e30;
  --su2: #162740;
  --ac: #00d4ff;
  --ac2: #0098cc;
  --ac3: #00ffc8;
  --tx: #e8f0f8;
  --mu: #7a96b0;
  --bo: rgba(0, 212, 255, 0.13);
  --gl: rgba(0, 212, 255, 0.22);
  --r: 6px;
  --fd: "Bebas Neue", sans-serif;
  --fb: "DM Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 18px;
}

.cmap{
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 24px;
}

.cmap iframe{
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 12px;
  display: block;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
}
body {
  font-family: var(--fb);
  background: url("img/slider6.jpg") center center/cover no-repeat
    fixed;
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
  overflow-x: clip;
}
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--ac2);
  border-radius: 2px;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ac);
  border: 1px solid var(--ac);
  background: transparent;
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}

/* Tag específico para Kit Digital (con azul) */
.tag-g {
  color: var(--ac);
  border-color: var(--ac);
  background: transparent;
}

/* Clase de acento azul (antes verde) */
.ac3 {
  color: var(--ac);
}

/* Checkmark en la lista de soluciones Kit Digital */
.kitchk {
  width: 17px;
  height: 17px;
  border-radius: 3px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--ac);
  flex-shrink: 0;
  margin-top: 2px;
}
.tag-g {
  color: var(--ac);
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.05);
}
.sec-title {
  font-family: var(--fd);
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: 1px;
  color: #000;
  font-weight: 800;
}
.sec-sub {
  font-size: 1.05rem;
  color: #333;
  margin-top: 16px;
  line-height: 1.85;
  font-weight: 500;
}
.ac {
  color: var(--ac);
}

.sec {
  padding: 92px 0;
  background: #f8f9fa;
  position: relative;
}

.sec-alt {
  background: #ffffff;
}

.sec .sec-img-full {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 48px;
}
.sec-alt {
  background: #ffffff;
}
.div {
  display: none;
  height: 0;
  margin: 0;
  padding: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fb);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 26px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  text-decoration: none;
}
.btn-p {
  background: var(--ac);
  color: #04090f;
}
.btn-p:hover {
  background: #33ddff;
  box-shadow: 0 0 22px var(--gl);
  transform: translateY(-2px);
}
.btn-o {
  background: transparent;
  color: var(--ac);
  border: 1.5px solid var(--ac);
}
.btn-o:hover {
  background: rgba(0, 212, 255, 0.07);
  box-shadow: 0 0 15px var(--gl);
}
.btn-gh {
  background: transparent;
  color: var(--mu);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-gh:hover {
  color: var(--tx);
  border-color: var(--bo);
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  backdrop-filter: blur(16px);
  background: rgba(4, 9, 15, 0.88);
  border-bottom: 1px solid var(--bo);
}
header .wrap {
  max-width: 100%;
  padding: 0 32px;
}
.nav-in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
}
.nav-in .logo {
  justify-self: start;
}
.nav-in nav {
  justify-self: center;
}
.nav-in .hbg {
  justify-self: end;
}
.logo {
  font-family: var(--fd);
  font-size: 1.9rem;
  letter-spacing: 3px;
  color: var(--tx);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
}
.ldot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ac);
  box-shadow: 0 0 10px var(--ac);
  animation: pdot 2s infinite;
}
.logo-img {
  height: clamp(4rem, 5vw, 5rem);
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}
@keyframes pdot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.6);
  }
}
nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
nav a {
  color: var(--mu);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: var(--r);
  transition:
    color 0.2s,
    background 0.2s;
  white-space: nowrap;
}
nav a:hover {
  color: var(--tx);
  background: rgba(255, 255, 255, 0.04);
}
nav a.act {
  color: var(--ac);
}
nav a.btn-p.act {
  color: #04090f;
}
nav a.btn-p {
  color: #04090f !important;
}
.hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hbg span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--tx);
  border-radius: 2px;
  transition: all 0.3s;
}
.hbg.op span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hbg.op span:nth-child(2) {
  opacity: 0;
}
.hbg.op span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mmenu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--bo);
  align-items: center;
}
.mmenu.op {
  display: flex;
}
.mmenu a {
  color: var(--tx);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mmenu a:last-child {
  border-bottom: none;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(4, 9, 15, 0.3) 0%,
    rgba(4, 9, 15, 0.2) 50%,
    rgba(4, 9, 15, 0.5) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: 56px 56px;
  mask-image: radial-gradient(
    ellipse 90% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.orb1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.1) 0%,
    transparent 70%
  );
  top: -120px;
  right: -80px;
}
.orb2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(
    circle,
    rgba(0, 255, 200, 0.06) 0%,
    transparent 70%
  );
  bottom: -60px;
  left: -80px;
}
.hero-in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.ebline {
  width: 32px;
  height: 2px;
  background: var(--ac);
}
.ebtxt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ac);
}
.hero-title {
  font-family: var(--fd);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 2px;
  margin-bottom: 22px;
}
.hero-title .hl {
  color: var(--ac);
}
.hero-desc {
  font-size: 1.08rem;
  color: #a8b8c6;
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.hero-acts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bo);
}
.sv {
  font-family: var(--fd);
  font-size: 2.3rem;
  color: var(--ac);
  line-height: 1;
}
.sl {
  font-size: 0.78rem;
  color: var(--mu);
  margin-top: 3px;
  font-weight: 500;
}
.hcard {
  background: var(--su);
  border: 1px solid var(--bo);
  border-radius: 12px;
  padding: 28px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 0 60px rgba(0, 212, 255, 0.07);
  position: relative;
  overflow: hidden;
}
.hcard::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.05) 0%,
    transparent 55%
  );
}
.hcs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ac3);
  margin-bottom: 20px;
}
.hcd {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ac3);
  box-shadow: 0 0 8px var(--ac3);
  animation: pdot 1.5s infinite;
}
.hcg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.hci {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(0, 212, 255, 0.09);
  border-radius: 6px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--tx);
  transition:
    border-color 0.25s,
    background 0.25s;
}
.hci:hover {
  border-color: var(--ac);
  background: rgba(0, 212, 255, 0.05);
}
.hcico {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: rgba(0, 212, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.hcf {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--bo);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--mu);
}
.upt {
  background: rgba(0, 255, 200, 0.09);
  border: 1px solid rgba(0, 255, 200, 0.18);
  color: var(--ac3);
  padding: 3px 9px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.72rem;
}

.hero .hero-title {
  color: #ffffff;
}
.hero .hero-title .hl {
  color: var(--ac);   /* mantiene el azul de acento */
}
.hero .hero-desc {
  color: #f0f0f0;
}
.hero .hero-stats .sl {
  color: #cccccc;
}
.hero .hcf {
  color: #dddddd;
}
/* El resto (hci, hcico, upt, etc.) ya tienen los colores claros/azules, no se modifican */

/* SERVICES */
.sec-hdr {
  margin-bottom: 52px;
  color: #333;
  position: relative;
  z-index: 1;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.svc {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.28s,
    border-color 0.28s,
    box-shadow 0.28s;
  cursor: default;
}
.svc::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ac), var(--ac3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.svc:hover {
  transform: translateY(-5px);
  border-color: #d0d0d0;
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.1),
    0 0 28px rgba(0, 212, 255, 0.07);
}
.svc:hover::after {
  transform: scaleX(1);
}
.svc-ico {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition:
    background 0.25s,
    box-shadow 0.25s;
  color: var(--ac);
}
.svc:hover .svc-ico {
  background: #e8e8e8;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
}
.svc-name {
  font-family: var(--fd);
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  margin-bottom: 9px;
  color: #0a0a0a;
  font-weight: 600;
}
.svc-desc {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 16px;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}
.stag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  color: var(--ac);
}

/* ABOUT */
.about-content {
  color: #0a0a0a;
  margin-top: 0;
  color: #333;
}

.about-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 28px 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
}

.about-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.about-detail {
  padding: 12px;
  background: #f5f5f5;
  border-radius: 6px;
}

.adet-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ac);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.adet-value {
  font-size: 0.95rem;
  color: #222;
  font-weight: 500;
  font-size: 0.95rem;
  color: #333;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.term-wrap {
  background: #050c15;
  border: 1px solid var(--bo);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 36px 72px rgba(0, 0, 0, 0.5);
}
.tbar {
  background: var(--su);
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--bo);
}
.td2 {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.tdr {
  background: #ff5f57;
}
.tdy {
  background: #ffbd2e;
}
.tdg {
  background: #28ca41;
}
.tttl {
  margin-left: 8px;
  font-size: 0.72rem;
  color: var(--mu);
  font-family: "Courier New", monospace;
}
.tbody {
  padding: 22px;
  font-family: "Courier New", monospace;
  font-size: 0.8rem;
  line-height: 2.1;
  color: #5abf6e;
}
.tp {
  color: var(--ac);
}
.tc {
  color: #2d4a60;
}
.ts {
  color: var(--ac3);
}
.tk {
  color: #e8a87c;
}
.feats {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
.feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.22s;
}
.feat:hover {
  border-color: #d0d0d0;
}
.feat-ico {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: var(--ac);
}
.feat-t {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #0a0a0a;
}
.feat-d {
  font-size: 0.83rem;
  color: #555;
  line-height: 1.6;
}

/* TABS */
.tabs-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-bottom: 1px solid #e0e0e0;
}
.tbt {
  font-family: var(--fb);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 18px;
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
  margin-bottom: -1px;
}
.tbt:hover {
  color: #000;
}
.tbt.act {
  color: var(--ac);
  border-bottom-color: var(--ac);
}
.tpanel {
  display: none;
}
.tpanel.act {
  display: block;
  animation: fi 0.3s ease;
}
@keyframes fi {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* PLANS */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan {
  background: var(--su);
  border: 1px solid var(--bo);
  border-radius: 10px;
  padding: 26px;
  transition:
    transform 0.25s,
    border-color 0.25s;
}
.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
}
.plan.ft {
  border-color: rgba(0, 212, 255, 0.3);
  background: linear-gradient(145deg, var(--su2), var(--su));
}
.pbadge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 14px;
  background: var(--ac);
  color: #04090f;
}
.plan.ft .pbadge {
  background: var(--ac3);
}
.pname {
  font-family: var(--fd);
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.ptgt {
  font-size: 0.8rem;
  color: var(--mu);
  margin-bottom: 14px;
  line-height: 1.6;
}
.pfl {
  display: grid;
  gap: 7px;
}
.pfi {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--tx);
}
.pfc {
  color: var(--ac);
  font-size: 0.85rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ACCESOS */
.acc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.aci {
  background: var(--su);
  border: 1px solid var(--bo);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.acico {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}
.act2 {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.acd {
  font-size: 0.81rem;
  color: var(--mu);
  line-height: 1.55;
}

/* DEVELOPMENT */
.dev-in {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.devsteps {
  display: grid;
  gap: 0;
}
.devstep {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}
.devstep:last-child {
  border-bottom: none;
}
.devnum {
  font-family: var(--fd);
  font-size: 2.2rem;
  color: #e0e0e0;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
}
.devt {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: #0a0a0a;
}
.devd {
  font-size: 0.84rem;
  color: #555;
  line-height: 1.6;
}
.devcta {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 36px;
  text-align: center;
}
.devcta-t {
  font-family: var(--fd);
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: #0a0a0a;
}
.devcta-d {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* PROGRAMS */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 22px;
}
.prog {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.27s,
    box-shadow 0.27s;
  display: flex;
  flex-direction: column;
}
.prog:hover {
  transform: translateY(-4px);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.1),
    0 0 38px rgba(0, 0, 0, 0.05);
}
.pbg {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #04090f;
  background: var(--ac);
  padding: 3px 9px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 18px;
}
.pn {
  font-family: var(--fd);
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: #0a0a0a;
  font-weight: 600;
}
.pd {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.65;
}
.pfl2 {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 7px;
  margin-bottom: 8px;
}
.pfl2 li {
  font-size: 0.85rem;
  color: #222;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.pfl2 li::before {
  content: "◉";
  color: var(--ac);
  font-size: 0.75rem;
  margin-top: 1px;
  flex-shrink: 0;
}
.pdeco {
  position: absolute;
  bottom: -16px;
  right: -12px;
  font-family: var(--fd);
  font-size: 6.5rem;
  color: rgba(0, 212, 255, 0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}
.pct {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
  font-size: 0.75rem;
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pct a {
  color: var(--ac);
  text-decoration: none;
}

/* KIT DIGITAL */
.kit-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.kit-t {
  font-family: var(--fd);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  margin-bottom: 14px;
  color: #0a0a0a;
}
.kit-d {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 24px;
}
.kit-sols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}
.kitsol {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: #222;
}
.kitchk {
  width: 17px;
  height: 17px;
  border-radius: 3px;
  background: rgba(82, 152, 218, 0.1);
  border: 1px solid rgba(47, 110, 161, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--ac);
  flex-shrink: 0;
  margin-top: 2px;
}
.kitcard {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}
.kitflag {
  font-size: 2.6rem;
  display: block;
  margin-bottom: 14px;
}
.kict {
  font-family: var(--fd);
  font-size: 1.7rem;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.kics {
  font-size: 0.83rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 14px;
}
.kiam {
  font-family: var(--fd);
  font-size: 2.8rem;
  color: #1a1a1a;
  margin: 4px 0;
}
.kicf {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--bo);
  font-size: 0.75rem;
  color: var(--mu);
}
.segs {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.seg {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
}
.sn {
  color: #333;
  font-weight: 500;
}
.sv2 {
  color: var(--ac);
  font-weight: 700;
}

/* CONTACT */
.ct-top {
  margin-bottom: 44px;
}
.ct-t {
  font-family: var(--fd);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 14px;
  color: #0a0a0a;
}
.ct-d {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
}
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.cdets {
  display: grid;
  gap: 10px;
}
.cdet {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: border-color 0.22s;
}
.cdet:hover {
  border-color: #d0d0d0;
}
.cico {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.13);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ac);
}
.cico svg {
  display: block;
  flex-shrink: 0;
}
.clbl {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 2px;
}
.cval {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
}
.cval a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.cval a:hover {
  color: var(--ac);
}
.ct-remote {
  margin-top: 16px;
  font-size: 0.82rem;
  padding: 9px 16px;
}
.cf {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.cf::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ac), var(--ac3));
}
.cft {
  font-family: var(--fb);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #0a0a0a;
}
.cfg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.finput,
.fsel,
.ftxt {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: var(--r);
  color: #222;
  font-family: var(--fb);
  font-size: 0.88rem;
  padding: 12px 14px;
  outline: none;
  transition:
    border-color 0.22s,
    box-shadow 0.22s;
  width: 100%;
}
.finput::placeholder,
.ftxt::placeholder {
  color: #777;
}
.finput:focus,
.fsel:focus,
.ftxt:focus {
  border-color: var(--ac);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.09);
}
.ftxt {
  resize: vertical;
  min-height: 110px;
  margin-bottom: 14px;
}
.fcheck {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: #555;
}
.fcheck input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--ac);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
}
.fpriv-link {
  color: var(--ac);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}
.fpriv-link:hover {
  border-bottom-color: var(--ac);
}
.fsub {
  width: 100%;
  font-size: 0.95rem;
  padding: 14px;
  justify-content: center;
}
.fnote {
  font-size: 0.7rem;
  color: #777;
  margin-top: 12px;
  line-height: 1.6;
  text-align: center;
}
.fsucc {
  display: none;
  padding: 32px 20px;
  text-align: center;
  color: var(--ac3);
  line-height: 1.7;
}
.fsucc strong {
  display: block;
  font-size: 1rem;
  color: var(--tx);
}

/* FOOTER */
footer {
  background: #333333;
  border-top: 1px solid #e0e0e0;
  padding: 56px 0 28px;
}
.ftgrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.ftag {
  font-size: 0.84rem;
  color: #d3cccc;
  max-width: 240px;
  line-height: 1.65;
  margin-bottom: 14px;
}
.flegal {
  font-size: 0.75rem;
  color: #c9c2c2;
  line-height: 1.6;
}
.fct {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d3cccc;
  margin-bottom: 14px;
}
.flinks {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.flinks a {
  color: #8a8585;
  text-decoration: none;
  font-size: 0.84rem;
  transition: color 0.2s;
}
.flinks a:hover {
  color: var(--ac);
}
.fbot {
  border-top: 1px solid #e0e0e0;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: #777;
  flex-wrap: wrap;
  gap: 10px;
}

/* Links del footer legal */
.fbot a {
  color: #8a8585;
  text-decoration: none;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
  border-bottom: 1px solid rgba(138, 133, 133, 0.3);
  padding-bottom: 2px;
}

.fbot a:hover {
  color: var(--ac);
  border-bottom-color: var(--ac);
}

/* ANIMATIONS */
.fu {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.anim-ready .fu {
  opacity: 0;
  transform: translateY(24px);
}
.anim-ready .fu.vis {
  opacity: 1;
  transform: translateY(0);
}
.d1 {
  transition-delay: 0.08s;
}
.d2 {
  transition-delay: 0.16s;
}
.d3 {
  transition-delay: 0.24s;
}
.d4 {
  transition-delay: 0.32s;
}

/* =====================================================
   TABLET — 768px a 1024px
   ===================================================== */
@media (max-width: 1024px) {
  /* Navegación */
  nav {
    display: none;
  }
  .hbg {
    display: flex;
  }

  /* Secciones */
  .sec {
    padding: 72px 0;
  }

  /* Hero */
  .hero {
    padding-top: 120px;
    min-height: auto;
    padding-bottom: 60px;
  }
  .hero-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-in .hero-vis {
    order: 1;
    display: flex;
    justify-content: center;
  }
  .hcard {
    max-width: 480px;
  }
  .hero-title {
    font-size: clamp(2.6rem, 7vw, 4rem);
  }
  .hero-desc {
    max-width: 100%;
  }
  .hero-stats {
    gap: 28px;
    margin-top: 36px;
    padding-top: 24px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Proyectos — planes */
  .plans {
    grid-template-columns: 1fr;
  }
  .plan.ft {
    order: -1;
  }

  /* Accesos */
  .acc-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Desarrollo */
  .dev-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Kit Digital */
  .kit-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .kit-sols {
    grid-template-columns: 1fr 1fr;
  }

  /* Contacto */
  .ct-top {
    margin-bottom: 32px;
  }
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Footer */
  .ftgrid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .ftgrid > div:first-child {
    grid-column: 1/-1;
  }
}

/* =====================================================
   MÓVIL GRANDE — 481px a 767px
   ===================================================== */
@media (max-width: 767px) {
  .wrap {
    padding: 0 18px;
  }
  .sec {
    padding: 60px 0;
  }
  .sec-hdr {
    margin-bottom: 36px;
  }

  /* Header */
  .nav-in {
    height: 58px;
  }
  .logo {
    font-size: 1.6rem;
    letter-spacing: 2px;
  }
  .logo-img {
    height: 4rem;
  }

  /* Hero */
  .hero {
    padding-top: 110px;
    padding-bottom: 50px;
  }
  .hero-title {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
    letter-spacing: 1px;
  }
  .hero-desc {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }
  .hero-acts {
    gap: 10px;
  }
  .hero-acts .btn {
    padding: 11px 20px;
    font-size: 0.85rem;
  }
  .hero-stats {
    gap: 20px;
    margin-top: 28px;
    padding-top: 20px;
    flex-wrap: wrap;
  }
  .sv {
    font-size: 2rem;
  }

  /* Hero card */
  .hcg {
    grid-template-columns: 1fr 1fr;
  }

  /* Servicios */
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .svc {
    padding: 22px;
  }

  /* About */
  .about-grid {
    gap: 32px;
  }
  .tbody {
    font-size: 0.75rem;
    padding: 16px;
  }
  .feats {
    gap: 12px;
  }

  /* Tabs */
  .tbt {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  /* Planes */
  .plans {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Accesos */
  .acc-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Desarrollo */
  .devsteps {
    gap: 0;
  }
  .devstep {
    padding: 16px 0;
  }
  .devnum {
    font-size: 1.8rem;
    width: 36px;
  }
  .devcta {
    padding: 28px 22px;
  }

  /* Programas */
  .prog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .prog {
    padding: 24px 20px;
  }

  /* Kit Digital */
  .kit-in {
    gap: 32px;
  }
  .kit-sols {
    grid-template-columns: 1fr;
  }
  .kitcard {
    padding: 24px 20px;
  }
  .kiam {
    font-size: 2.2rem;
  }

  /* Contacto */
  .ct-top {
    margin-bottom: 24px;
  }
  .ct-grid {
    gap: 24px;
  }
  .cf {
    padding: 24px 20px;
  }
  .cfg {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .ftgrid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
  }
  .ftgrid > div:first-child {
    grid-column: 1/-1;
    display: block;
  }
  .fbot {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  footer {
    padding: 40px 0 24px;
  }
}

/* =====================================================
   MÓVIL PEQUEÑO — hasta 480px
   ===================================================== */
@media (max-width: 480px) {
  .wrap {
    padding: 0 16px;
  }
  .sec {
    padding: 52px 0;
  }

  /* Header */
  .nav-in {
    height: 54px;
  }
  .logo {
    font-size: 1.45rem;
    letter-spacing: 1.5px;
  }
  .logo-img {
    height: 3rem;
  }
  .ldot {
    width: 7px;
    height: 7px;
  }

  /* Hero */
  .hero {
    padding-top: 100px;
    padding-bottom: 44px;
  }
  .hero-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
  }
  .hero-desc {
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 20px;
  }
  .hero-acts {
    flex-direction: column;
    gap: 8px;
  }
  .hero-acts .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }
  .hero-stats {
    gap: 16px;
    flex-wrap: wrap;
  }
  .sv {
    font-size: 1.8rem;
  }
  .sl {
    font-size: 0.72rem;
  }

  /* Hero card */
  .hcard {
    padding: 20px;
  }
  .hcg {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .hci {
    padding: 9px;
    font-size: 0.72rem;
    gap: 6px;
  }
  .hcico {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  /* Tags y títulos */
  .tag {
    font-size: 9px;
    letter-spacing: 2px;
    padding: 3px 10px;
  }
  .sec-title {
    font-size: clamp(1.9rem, 8vw, 2.8rem);
  }

  /* Servicios */
  .svc {
    padding: 18px;
  }
  .svc-ico {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }
  .svc-name {
    font-size: 1.2rem;
  }

  /* About — terminal */
  .tbody {
    font-size: 0.7rem;
    padding: 14px;
    line-height: 1.9;
  }
  .tttl {
    font-size: 0.65rem;
  }

  /* Tabs */
  .tabs-nav {
    gap: 2px;
  }
  .tbt {
    font-size: 0.78rem;
    padding: 8px 11px;
  }

  /* Planes */
  .plan {
    padding: 20px;
  }
  .pname {
    font-size: 1.4rem;
  }

  /* Accesos */
  .acc-grid {
    grid-template-columns: 1fr;
  }
  .aci {
    padding: 14px 16px;
  }

  /* Desarrollo */
  .devstep {
    gap: 14px;
    padding: 14px 0;
  }
  .devnum {
    font-size: 1.6rem;
    width: 32px;
  }
  .devcta {
    padding: 24px 16px;
  }
  .devcta-t {
    font-size: 1.5rem;
  }

  /* Programas */
  .prog {
    padding: 20px 18px;
  }
  .pn {
    font-size: 1.7rem;
  }
  .pdeco {
    font-size: 4rem;
  }

  /* Kit Digital */
  .kitcard {
    padding: 20px 16px;
  }
  .kict {
    font-size: 1.4rem;
  }
  .kiam {
    font-size: 1.9rem;
  }
  .segs .seg {
    font-size: 0.74rem;
    padding: 7px 10px;
  }

  /* Contacto */
  .cf {
    padding: 20px 16px;
  }
  .cft {
    font-size: 1rem;
  }
  .cfg {
    grid-template-columns: 1fr;
  }
  .cdet {
    padding: 11px 12px;
  }
  .cico {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  /* Footer */
  .ftgrid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .ftgrid > div:first-child {
    grid-column: 1/-1;
    display: block;
  }
  .ftag {
    max-width: 100%;
  }
  .flinks {
    align-items: center;
  }
  .flegal {
    text-align: center;
  }
  footer {
    padding: 36px 0 20px;
  }
  .fbot {
    font-size: 0.72rem;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* =====================================================
   LEGAL PAGES
   ===================================================== */
.legal-header {
  background: rgba(4, 9, 15, 0.92);
  border-bottom: 1px solid var(--bo);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
}
.legal-header .wrap {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.legal-header .logo-img {
  height: clamp(4rem, 5vw, 5rem);
}
.back-btn {
  font-size: 0.82rem;
  color: var(--mu);
  text-decoration: none;
  border: 1px solid var(--bo);
  padding: 6px 14px;
  border-radius: var(--r);
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}
.back-btn:hover {
  color: var(--ac);
  border-color: rgba(0, 212, 255, 0.35);
}

.nav-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 40px;
}
.nav-legal a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--mu);
  text-decoration: none;
  border: 1px solid var(--bo);
  padding: 7px 14px;
  border-radius: var(--r);
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
  background: rgba(255, 255, 255, 0.02);
}
.nav-legal a:hover {
  color: var(--bg);
  border-color: rgba(0, 212, 255, 0.3);
  background: rgba(0, 212, 255, 0.04);
}
.nav-legal a.active {
  color: var(--ac);
  border-color: rgba(0, 212, 255, 0.35);
  background: rgba(0, 212, 255, 0.06);
}

.legal-body {
  padding: 52px 0 0;
}
.legal-body .wrap {
  max-width: 900px;
  background: #ffffff;
  backdrop-filter: none;
  border-radius: 12px;
  padding: 40px 48px 0;
  border: 1px solid #e0e0e0;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.page-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ac);
  border: 1px solid #d0d0d0;
  background: #f0f8ff;
  padding: 4px 12px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.legal-body h1 {
  font-family: var(--fd);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #1a1a1a;
}
.legal-body h1 span {
  color: var(--ac);
}
.lead {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 640px;
  border-left: 2px solid var(--ac);
  padding-left: 14px;
}
.legal-body h2 {
  font-family: var(--fd);
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  margin: 36px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}
.legal-body h3 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ac);
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.legal-body p {
  font-size: 0.93rem;
  color: #333;
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-body strong {
  color: #1a1a1a;
  font-weight: 600;
}
.legal-body ul,
.legal-body ol {
  margin: 10px 0 18px 20px;
}
.legal-body li {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 5px;
}
.legal-body a {
  color: var(--ac);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
  transition: border-color 0.2s;
}
.legal-body a:hover {
  border-bottom-color: var(--ac);
}
.legal-body code {
  font-family: "Courier New", monospace;
  font-size: 0.82rem;
  color: var(--ac);
  background: #f0f8ff;
  padding: 1px 6px;
  border-radius: 3px;
}

.datos-contacto {
  background: #f5f7fa;
  border: 1px solid #d0d0d0;
  border-radius: 8px;
  padding: 22px 24px;
  margin: 24px 0;
  position: relative;
  overflow: hidden;
}
.datos-contacto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ac), var(--ac3));
}
.datos-contacto p {
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: #333;
}
.datos-contacto p:last-child {
  margin-bottom: 0;
}

.legal-footer {
  padding: 24px 48px;
  margin-top: 40px;
  margin-left: -49px;
  margin-right: -49px;
  margin-bottom: -3px;
  background: #000000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.legal-footer .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--mu);
}
.legal-footer a {
  color: var(--mu);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin: 0 8px;
}
.legal-footer a:hover {
  color: var(--ac);
  background: rgba(0, 213, 255, 0.247);
}
.legal-footer a[href*="aviso-legal"] {
  color: var(--ac);
}
.legal-footer a[href*="privacidad"] {
  color: var(--mu);
}
.legal-footer a[href*="cookies"] {
  color: var(--mu);
}
.legal-footer a[href*="clausulas"] {
  color: var(--mu);
}
.btn-top {
  background: transparent;
  color: var(--mu);
  border: 1px solid var(--bo);
  padding: 7px 16px;
  border-radius: var(--r);
  font-size: 0.78rem;
  cursor: pointer;
  font-family: var(--fb);
  transition:
    color 0.2s,
    border-color 0.2s;
}
.btn-top:hover {
  color: var(--ac);
  border-color: rgba(0, 212, 255, 0.35);
}

@media (max-width: 767px) {
  .legal-header .wrap {
    gap: 10px;
  }
  .legal-header .wrap .logo-img {
    height: 4rem;
  }
  .legal-body {
    padding: 36px 0 0;
  }
  .legal-body .wrap {
    padding: 28px 24px 0;
    margin-bottom: 40px;
  }
  .nav-legal {
    gap: 5px;
    margin-bottom: 28px;
  }
  .nav-legal a {
    font-size: 0.76rem;
    padding: 6px 11px;
  }
  .lead {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }
  .legal-body h2 {
    font-size: 1.3rem;
    margin: 28px 0 10px;
  }
}
@media (max-width: 480px) {
  .legal-body {
    padding: 16px 0 0;
  }
  .legal-body .wrap {
    padding: 20px 16px 0;
    border-radius: 8px;
    margin-bottom: 28px;
  }
  .nav-legal {
    gap: 4px;
    margin-bottom: 22px;
  }
  .nav-legal a {
    font-size: 0.72rem;
    padding: 5px 9px;
  }
  .legal-body h1 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }
  .datos-contacto {
    padding: 16px;
  }
  .legal-footer .inner {
    flex-direction: column;
    text-align: center;
  }
  .legal-footer {
    padding: 20px 24px;
    margin-left: -24px;
    margin-right: -24px;
  }
}

.sec-img-full {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 56px 0;
  padding: 0;
}

.sec-img-full-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 440px;
  border-radius: 8px;
}

.kit-content {
  margin-top: 32px;
  margin-bottom: 20px;
}

.kit-content .kit-sols {
  margin-top: 16px;
}

/* ── Responsive nav-in grid fix ── */
@media (max-width: 1024px) {
  .nav-in {
    grid-template-columns: auto 1fr;
    justify-content: space-between;
  }
  .nav-in .logo {
    justify-self: start;
  }
  .nav-in nav {
    display: none;
  }
  .nav-in .hbg {
    justify-self: end;
    display: flex;
  }
  .legal-header .wrap .logo-img {
    height: 4rem;
  }
}
@media (max-width: 480px) {
  .legal-header .wrap .logo-img {
    height: 4rem;
  }
  .nav-in {
    height: 60px;
  }
}

@media (max-width: 767px) {
  .sec-img-full {
    width: 100%;
    margin: 40px 0;
  }
  .sec-img-full-img {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .sec-img-full {
    width: 100%;
    margin: 28px 0;
  }
  .sec-img-full-img {
    max-height: 220px;
  }
}

#kit-digital .sec-img-full {
  display: flex;
  justify-content: center;
}

#kit-digital .sec-img-full-img {
  max-height: 1000px;
  max-width: 600px;
  width: 100%;
  object-fit: contain;
  object-position: center center;
}

/* Proyectos - two column layout for tabs */
.tpanel-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.tpanel-desc h3 {
  font-family: var(--fd);
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: #0a0a0a;
  margin-bottom: 0.75rem;
}

.tpanel-desc p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tpanel-desc ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
}

.tpanel-desc ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

.tpanel-desc ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ac);
  font-weight: bold;
}

.proj-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.08);
  border-color: #c0c0c0;
}

.proj-icon {
  font-family: var(--fd);
  font-size: 3rem;
  color: var(--ac);
  margin-bottom: 0.75rem;
}

.proj-title {
  font-family: var(--fd);
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  color: #0a0a0a;
}

.proj-desc {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

/* Responsive */
@media (max-width: 767px) {
  .tpanel-in {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tpanel-desc h3 {
    font-size: 1.4rem;
  }

  .tpanel-desc ul li {
    font-size: 0.85rem;
  }

  .proj-card {
    padding: 1.5rem;
  }

  .proj-icon {
    font-size: 2.5rem;
  }
}

/* Enlaces en nombres de productos sin apariencia de vínculo */
.pn.ac a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.pn.ac a:hover {
    text-decoration: underline;
}
/* Icono de enlace externo en nombres de productos */
.pn.ac a i {
    font-size: 0.7em;
    margin-left: 6px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.pn.ac a:hover i {
    opacity: 1;
}

/* Enlaces en nombres de productos sin apariencia de vínculo */
.pn.ac a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.pn.ac a:hover {
    text-decoration: underline;
}
.btn-kit-info {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fb);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--r);
  border: 1.5px solid var(--ac);
  background: rgba(0, 212, 255, 0.07);
  color: var(--ac);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-kit-info:hover {
  background: var(--ac);
  color: #04090f;
  box-shadow: 0 0 22px rgba(0, 212, 255, 0.3);
  transform: translateY(-2px);
}