/* ═══════════════════════════════════════════
   LOGICRAFT — DESIGN SYSTEM v2 (Premium)
   Fuentes: Ubuntu Bold (headings) + Inter (body)
   Colores: Navy #0a1826 · Teal #2ec4b6
   ═══════════════════════════════════════════ */

/* ─── FUENTES LOCALES ────────────────────── */
@font-face {
  font-family: 'Ubuntu';
  src: url('Branding Logicraft_Carpeta/Fonts/Ubuntu-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('Branding Logicraft_Carpeta/Fonts/Inter-VariableFont_slnt,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RoundBit';
  src: url('Branding Logicraft_Carpeta/Fonts/RoundBit-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─── VARIABLES ──────────────────────────── */
:root {
  /* Colores primarios */
  --teal: #2ec4b6;
  --teal-bright: #3dddd0;
  --teal-dark: #1da99b;
  --teal-glow: rgba(46, 196, 182, .22);
  --teal-glow-sm: rgba(46, 196, 182, .07);
  --teal-glow-md: rgba(46, 196, 182, .13);

  /* Backgrounds — más profundos y ricos */
  --bg: #04090e;
  --bg-2: #060d14;
  --bg-3: #0a1620;
  --bg-card: #090f18;
  --bg-card-hover: #0c1522;
  --navy: #0a1826;
  --navy-light: #0f2438;

  /* Bordes */
  --line: rgba(255, 255, 255, .06);
  --line-teal: rgba(46, 196, 182, .18);
  --line-teal-md: rgba(46, 196, 182, .35);

  /* Textos */
  --text: #b8cfe0;
  --text-h: #ffffff;
  --text-soft: #8aabbf;
  --text-muted: #4e6d84;
  --white: #ffffff;

  /* Tipografía */
  --font-head: 'Ubuntu', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-round: 'RoundBit', 'Inter', sans-serif;

  /* Layout */
  --radius: 18px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, .68, 0, 1.2);
}

/* ─── RESET ──────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ─── CONTAINER ──────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ─── TIPOGRAFÍA BASE ────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--line-teal);
  border-radius: 50px;
  background: var(--teal-glow-sm);
}

.section-tag::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--white);
  letter-spacing: -.025em;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header .section-title {
  margin-top: 16px;
}

.gradient-text {
  background: linear-gradient(125deg, var(--teal) 0%, #5de8df 55%, #b0f6f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 24px rgba(46, 196, 182, .3));
}

/* ─── BOTONES ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all .35s var(--ease);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: transparent;
  color: #04090e;
  box-shadow: 0 4px 24px rgba(46, 196, 182, .25);
  z-index: 1;
}

.btn--primary::before,
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transition: opacity .35s var(--ease);
}

.btn--primary::before {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  box-shadow: 0 0 0 1px rgba(46, 196, 182, .2) inset;
  opacity: 1;
}

.btn--primary::after {
  background: linear-gradient(135deg, #fff 0%, var(--teal-bright) 100%);
  box-shadow: 0 0 0 1px rgba(46, 196, 182, .35) inset;
  opacity: 0;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(46, 196, 182, .4);
  color: #04090e;
}

.btn--primary:hover::after {
  opacity: 1;
}

.btn span,
.nav__cta span {
  position: relative;
  z-index: 1;
}

.btn--ghost {
  background: rgba(255, 255, 255, .03);
  color: var(--text-h);
  border: 1px solid var(--line);
  backdrop-filter: blur(4px);
}

.btn--ghost:hover {
  border-color: var(--line-teal);
  color: var(--text-h);
  background: var(--teal-glow-sm);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}

.btn--large {
  padding: 19px 44px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ─── REVEAL ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   NAV — glassmorphism premium
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background .5s var(--ease), border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(4, 9, 14, .75);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-color: rgba(255, 255, 255, .06);
  box-shadow: 0 1px 0 rgba(46, 196, 182, .06), 0 8px 32px rgba(0, 0, 0, .4);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 48px;
}

.nav__logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  transition: filter .3s, opacity .3s;
}

.nav__logo-img:hover {
  filter: brightness(1.15);
  opacity: .85;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__links a {
  font-size: .84rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color .25s;
  letter-spacing: .02em;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}

.nav__links a:hover {
  color: var(--white);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  background: rgba(46, 196, 182, .12) !important;
  color: var(--teal) !important;
  font-weight: 600 !important;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--line-teal) !important;
  transition: all .3s var(--ease) !important;
}

.nav__cta::after {
  display: none !important;
}

.nav__cta:hover {
  background: var(--teal) !important;
  color: var(--bg) !important;
  border-color: var(--teal) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(46, 196, 182, .3) !important;
}

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .35s var(--ease);
}

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 16px 48px 28px;
  border-top: 1px solid var(--line);
  background: rgba(4, 9, 14, .96);
  backdrop-filter: blur(28px);
}

.nav__mobile.open {
  display: flex;
}

.mobile-link {
  padding: 15px 0;
  font-size: .95rem;
  font-weight: 400;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color .2s, padding-left .2s;
}

.mobile-link:hover {
  color: var(--teal);
  padding-left: 8px;
}

.mobile-link--cta {
  margin-top: 20px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--bg) !important;
  font-weight: 700;
  padding: 15px 24px;
  border-radius: 50px;
  text-align: center;
  border: none;
  box-shadow: 0 6px 20px rgba(46, 196, 182, .25);
}

/* ═══════════════════════════════════════════
   HERO — glow multicapa premium
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: #04090e;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .38;
  filter: saturate(.7) brightness(.65);
  pointer-events: none;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 110% 50%, rgba(46, 196, 182, .08) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at -10% 30%, rgba(4, 9, 14, .7) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(4, 9, 14, .55) 0%, rgba(4, 9, 14, .2) 40%, rgba(4, 9, 14, .7) 80%, rgba(4, 9, 14, 1) 100%);
  pointer-events: none;
}

.hero__bg-glow {
  position: absolute;
  top: 10%;
  right: -8%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(46, 196, 182, .07) 0%,
      rgba(46, 196, 182, .03) 35%,
      transparent 70%);
  pointer-events: none;
  animation: glowPulse 8s ease-in-out infinite;
}

/* second ambient glow */
.hero__bg-glow::after {
  content: '';
  position: absolute;
  top: 30%;
  left: 20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, .04) 0%, transparent 65%);
  animation: glowPulse 12s ease-in-out infinite reverse;
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .55;
    transform: scale(1.08);
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

/* Badge hero */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border: 1px solid var(--line-teal);
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-glow-sm);
  margin-bottom: 40px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(46, 196, 182, .08), 0 0 0 1px rgba(46, 196, 182, .06) inset;
}

.pulse-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px var(--teal);
  }

  50% {
    opacity: .5;
    transform: scale(1.6);
    box-shadow: 0 0 20px var(--teal);
  }
}

/* Título hero */
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 6.8rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 30px;
}

.hero__sub {
  font-size: 1.06rem;
  font-weight: 400;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Visual hero (imagen) */
.hero__visual {
  display: flex;
  justify-content: flex-end;
}

.hero__img-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  transition: transform .6s var(--ease);
}

.hero__img {
  width: 100%;
  border-radius: 22px;
  object-fit: cover;
  aspect-ratio: 1/1;
  border: 1px solid rgba(46, 196, 182, .12);
  box-shadow:
    0 60px 120px rgba(0, 0, 0, .7),
    0 0 0 1px rgba(46, 196, 182, .06),
    0 0 80px rgba(46, 196, 182, .05) inset;
  filter: brightness(.9) saturate(1.1);
}

/* Tarjetas flotantes hero */
.hero__card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(6, 13, 22, .85);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(46, 196, 182, .2);
  border-radius: 14px;
  padding: 13px 20px;
  animation: float 4.5s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}

.hero__card--tl {
  top: -16px;
  left: -24px;
  animation-delay: 0s;
}

.hero__card--br {
  bottom: 24px;
  right: -20px;
  animation-delay: 1.8s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(.4deg);
  }
}

.hcard__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  box-shadow: 0 0 14px var(--teal), 0 0 28px rgba(46, 196, 182, .4);
}

.hcard__dot--blue {
  background: #4a9eff;
  box-shadow: 0 0 14px #4a9eff, 0 0 28px rgba(74, 158, 255, .4);
}

.hcard__val {
  display: block;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.hcard__label {
  display: block;
  font-size: .68rem;
  color: var(--text-muted);
  letter-spacing: .08em;
  margin-top: 2px;
}

/* Isologo decorativo */
.hero__isologo {
  position: absolute;
  bottom: -18px;
  left: -18px;
  width: 76px;
  height: 76px;
  background: rgba(6, 13, 22, .9);
  border: 1px solid rgba(46, 196, 182, .22);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .6), 0 0 24px rgba(46, 196, 182, .08);
  backdrop-filter: blur(16px);
}

.hero__isologo img {
  width: 100%;
  opacity: .9;
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: .66rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollLine 2.6s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

.br-mobile {
  display: none;
}

/* ═══════════════════════════════════════════
   MARQUEE
   ═══════════════════════════════════════════ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: linear-gradient(90deg, var(--bg-2) 0%, #07101a 50%, var(--bg-2) 100%);
  position: relative;
}

.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-2), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-2), transparent);
}

.marquee {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
  white-space: nowrap;
}

.marquee span {
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee .dot {
  color: var(--teal);
  opacity: .7;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about {
  padding: 130px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 88px;
  align-items: start;
}

.about__isologo {
  margin-top: 44px;
  width: 84px;
  opacity: .12;
  transition: opacity .4s, transform .4s;
  filter: drop-shadow(0 0 16px rgba(46, 196, 182, .3));
}

.about__isologo:hover {
  opacity: .35;
  transform: scale(1.05) rotate(-3deg);
}

.about__right p {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 52px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
  position: relative;
}

.about__stats::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, var(--teal), transparent);
}

.stat__top {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat__num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--teal);
  filter: drop-shadow(0 0 12px rgba(46, 196, 182, .3));
  line-height: 1;
}

.stat__unit {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal);
  opacity: .8;
}

.stat p {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 400;
  letter-spacing: .02em;
}

/* ═══════════════════════════════════════════
   SERVICIOS — tarjetas premium
   ═══════════════════════════════════════════ */
.services {
  padding: 130px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, .04) 0%, transparent 65%);
  pointer-events: none;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 30px 34px;
  transition: border-color .4s, transform .4s var(--ease), box-shadow .4s;
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Glow top border on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--teal) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .4s;
}

/* Bottom ambient glow */
.service-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(46, 196, 182, .12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s, bottom .4s var(--ease);
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(46, 196, 182, .22);
  transform: translateY(-8px);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, .5),
    0 0 0 1px rgba(46, 196, 182, .1),
    0 0 40px rgba(46, 196, 182, .04) inset;
  background: var(--bg-card-hover);
}

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

.service-card:hover::after {
  opacity: 1;
  bottom: -40px;
}

/* Icono tarjeta */
.service-card__icon {
  width: 46px;
  height: 46px;
  color: var(--teal);
  margin-bottom: 26px;
  transition: transform .4s var(--ease), filter .4s;
  filter: drop-shadow(0 0 0 transparent);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(0 0 8px rgba(46, 196, 182, .4));
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card p {
  font-size: .865rem;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.service-card__tags span {
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--teal);
  opacity: .8;
  background: var(--teal-glow-sm);
  border: 1px solid rgba(46, 196, 182, .16);
  border-radius: 50px;
  padding: 4px 11px;
  transition: opacity .25s, background .25s;
}

.service-card:hover .service-card__tags span {
  opacity: 1;
  background: var(--teal-glow-md);
}

/* ═══════════════════════════════════════════
   POR QUÉ
   ═══════════════════════════════════════════ */
.why {
  padding: 130px 0;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .02) inset;
}

.why-item {
  padding: 54px 46px;
  border: 1px solid var(--line);
  transition: background .35s, border-color .35s;
  position: relative;
  overflow: hidden;
}

.why-item::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, .04) 0%, transparent 65%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}

.why-item:hover {
  background: var(--bg-3);
  border-color: rgba(46, 196, 182, .1);
}

.why-item:hover::before {
  opacity: 1;
}

.why-item__num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(46, 196, 182, .45);
  margin-bottom: 20px;
  line-height: 1;
  transition: color .35s;
  letter-spacing: -.05em;
}

.why-item:hover .why-item__num {
  color: rgba(46, 196, 182, .75);
}

.why-item h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}

.why-item p {
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.8;
}

/* ═══════════════════════════════════════════
   TECH
   ═══════════════════════════════════════════ */
.tech {
  padding: 130px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.tech::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(46, 196, 182, .04) 0%, transparent 65%);
  pointer-events: none;
}

.tech__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tech-badge {
  padding: 11px 24px;
  border: 1px solid var(--line);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(9, 15, 24, .8);
  transition: all .3s var(--ease);
  cursor: default;
  letter-spacing: .02em;
  backdrop-filter: blur(4px);
}

.tech-badge:hover {
  border-color: var(--line-teal);
  color: var(--teal);
  background: var(--teal-glow-sm);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4), 0 0 16px rgba(46, 196, 182, .08);
}

/* ═══════════════════════════════════════════
   CTA BANNER — premium
   ═══════════════════════════════════════════ */
.cta-banner {
  padding: 110px 0;
}

.cta-banner__inner {
  background: linear-gradient(150deg, rgba(10, 22, 32, .95) 0%, rgba(6, 13, 22, .98) 100%);
  border: 1px solid rgba(46, 196, 182, .18);
  border-radius: 28px;
  padding: 88px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .03) inset,
    0 60px 120px rgba(0, 0, 0, .5);
}

/* Ambient top glow */
.cta-banner__inner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(46, 196, 182, .12) 0%, transparent 65%);
  pointer-events: none;
}

/* Grid texture overlay */
.cta-banner__inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 196, 182, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 196, 182, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.cta-banner__icon {
  width: 64px;
  margin: 0 auto 36px;
  opacity: .55;
  filter: drop-shadow(0 0 16px rgba(46, 196, 182, .3));
  position: relative;
  z-index: 1;
}

.cta-banner__inner h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.08;
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
}

.cta-banner__inner p {
  color: var(--text-soft);
  font-size: 1rem;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}

.cta-banner__inner .btn {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════ */
.contact {
  padding: 130px 0;
  border-top: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: start;
}

.contact__left .section-title {
  margin: 16px 0 22px;
}

.contact__left p {
  color: var(--text-soft);
  font-size: .96rem;
  line-height: 1.8;
  margin-bottom: 44px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  transition: border-color .3s, background .3s, transform .3s var(--ease), box-shadow .3s;
}

.contact__link:hover {
  border-color: var(--line-teal);
  background: var(--bg-card-hover);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3), -4px 0 0 var(--teal);
}

.contact__link-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  background: var(--teal-glow-sm);
  transition: border-color .3s, background .3s;
}

.contact__link:hover .contact__link-icon {
  border-color: var(--line-teal);
  background: var(--teal-glow-md);
}

.contact__link-icon svg {
  width: 18px;
  height: 18px;
}

.contact__link-label {
  display: block;
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.contact__link-val {
  display: block;
  font-size: .9rem;
  color: var(--white);
  font-weight: 400;
}

/* ─── Formulario ─────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__group label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form__group input,
.form__group textarea,
.form__group select {
  background: rgba(4, 9, 14, .8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
  resize: vertical;
  -webkit-appearance: none;
}

.form__group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234e6d84' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}

.form__group select option {
  background: var(--bg-3);
  color: var(--white);
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: rgba(46, 196, 182, .4);
  box-shadow: 0 0 0 4px rgba(46, 196, 182, .08);
  background: rgba(4, 9, 14, .95);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(46, 196, 182, .03) 0%, transparent 65%);
  pointer-events: none;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 64px;
}

.footer__logo {
  height: 32px;
  width: auto;
  margin-bottom: 14px;
  opacity: .85;
  transition: opacity .3s;
}

.footer__logo:hover {
  opacity: 1;
}

.footer__brand p {
  color: var(--text-muted);
  font-size: .82rem;
  letter-spacing: .01em;
}

.footer__links {
  display: flex;
  gap: 64px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col span {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer__col a {
  font-size: .875rem;
  color: var(--text-muted);
  transition: color .2s, padding-left .2s;
}

.footer__col a:hover {
  color: var(--teal);
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer__bottom p {
  font-size: .78rem;
  color: var(--text-muted);
}

.footer__icon {
  width: 26px;
  opacity: .15;
  transition: opacity .3s;
}

.footer__icon:hover {
  opacity: .4;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__sub {
    max-width: 100%;
  }

  .hero__visual {
    display: none;
  }

  .hero__actions {
    justify-content: center;
  }

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

  .about__grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .nav__inner {
    padding: 18px 24px;
  }

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav__mobile {
    padding: 16px 24px 28px;
  }

  .br-mobile {
    display: block;
  }

  .hero {
    padding-top: 80px;
  }

  .hero__inner {
    padding-bottom: 60px;
  }

  .hero__title {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }

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

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

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .form {
    padding: 28px 22px;
  }

  .about__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__top {
    flex-direction: column;
  }

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

  .footer__links {
    gap: 40px;
  }

  .cta-banner__inner {
    padding: 56px 28px;
  }

  .why-item {
    padding: 40px 30px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .about__stats {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__links {
    flex-direction: column;
    gap: 28px;
  }

  .section-header {
    margin-bottom: 56px;
  }
}

/* ═══════════════════════════════════════════
   WPFORMS — Override para tema oscuro
   ═══════════════════════════════════════════ */

/* Contenedor general */
.wpforms-container {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}

/* Labels */
.wpforms-field-label,
.wpforms-field-label-inline {
  font-family: var(--font-body) !important;
  font-size: .72rem !important;
  font-weight: 600 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  margin-bottom: 8px !important;
}

/* Campos de texto, email, teléfono, textarea, select */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field input[type="url"],
.wpforms-field input[type="number"],
.wpforms-field textarea,
.wpforms-field select {
  background: rgba(4, 9, 14, .8) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  padding: 14px 18px !important;
  color: var(--white) !important;
  font-family: var(--font-body) !important;
  font-size: .9rem !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .3s, box-shadow .3s, background .3s !important;
  width: 100% !important;
}

.wpforms-field input::placeholder,
.wpforms-field textarea::placeholder {
  color: var(--text-muted) !important;
  opacity: 1 !important;
}

/* Focus */
.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
  border-color: rgba(46, 196, 182, .4) !important;
  box-shadow: 0 0 0 4px rgba(46, 196, 182, .08) !important;
  background: rgba(4, 9, 14, .95) !important;
}

/* Espaciado entre campos */
.wpforms-field {
  margin-bottom: 18px !important;
  padding: 0 !important;
}

/* Botón submit */
.wpforms-submit-container {
  margin-top: 4px !important;
}

.wpforms-submit,
button.wpforms-submit {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%) !important;
  color: #04090e !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 15px 32px !important;
  font-family: var(--font-body) !important;
  font-size: .875rem !important;
  font-weight: 600 !important;
  letter-spacing: .02em !important;
  cursor: pointer !important;
  width: 100% !important;
  box-shadow: 0 4px 24px rgba(46, 196, 182, .25) !important;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease) !important;
}

.wpforms-submit:hover,
button.wpforms-submit:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 40px rgba(46, 196, 182, .4) !important;
}

/* Mensaje de confirmación */
.wpforms-confirmation-container-full {
  background: var(--bg-card) !important;
  border: 1px solid var(--line-teal) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--teal) !important;
  padding: 20px 24px !important;
  font-family: var(--font-body) !important;
}

/* Errores de validación */
.wpforms-error-container,
label.wpforms-error {
  color: #ff6b6b !important;
  font-size: .78rem !important;
  margin-top: 4px !important;
}

.wpforms-field input.wpforms-error,
.wpforms-field textarea.wpforms-error {
  border-color: rgba(255, 107, 107, .5) !important;
}