/* ══════════════════════════════
   TOKENS
══════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button, input, select, textarea { font-family: inherit; }

:root {
  --ink:       #0B0D11;
  --ink-2:     #171B24;
  --ink-3:     #222A38;
  --slate:     #4A5C72;
  --mid:       #7A90A6;
  --silver:    #A8BBCA;
  --mist:      #CFD9E6;
  --fog:       #E8EFF6;
  --snow:      #F4F7FA;
  --pure:      #FFFFFF;

  --blue:      #0B4FCC;
  --blue-2:    #0E60F5;
  --blue-hi:   #3B7FFF;
  --blue-soft: #EAF0FF;
  --blue-xs:   #F2F5FF;

  --rule:      rgba(11,13,17,0.08);

  --r-xs: 6px;
  --r:    10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;

  --sh-sm:      0 2px 10px rgba(11,13,17,0.08);
  --sh-md:      0 8px 32px rgba(11,13,17,0.10);
  --sh-lg:      0 20px 60px rgba(11,13,17,0.13);
  --sh-blue:    0 6px 28px rgba(11,79,204,0.30);
  --sh-blue-lg: 0 14px 48px rgba(11,79,204,0.40);

  --gap: 128px;
}

html { scroll-padding-top: 72px; }

body {
  background: var(--pure);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ══════════════════════════════
   TYPE
══════════════════════════════ */
h1, h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
}
h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(38px, 5vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.10;
  letter-spacing: -0.025em;
}
p {
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 600;
  color: #020617;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.tag::before {
  content: '';
  width: 18px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.6;
  flex-shrink: 0;
}
.tag--light { color: rgba(255,255,255,0.65); }
.tag--light::before { background: rgba(255,255,255,0.65); }

/* ══════════════════════════════
   LAYOUT
══════════════════════════════ */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 64px; }
section { padding: var(--gap) 0; }
section[id] { scroll-margin-top: 80px; }
.divider { border: none; border-top: 1px solid var(--rule); }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 600;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid rgba(11,13,17,0.07);
  box-shadow: var(--sh-sm);
}

nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1280px; margin: 0 auto; padding: 0 64px;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-badge {
  width: 42px; height: 42px;
  background: var(--ink);
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
}
.logo-badge svg { width: 22px; height: 22px; }
.logo-info { display: flex; flex-direction: column; gap: 1px; }
.logo-name {
  font-size: 22px; font-weight: 900;
  letter-spacing: -0.04em; color: var(--ink); line-height: 1;
}
.logo-name em { font-style: normal; color: var(--blue-2); }
.logo-sub {
  font-size: 11px; font-weight: 600;
  color: var(--slate); letter-spacing: 0.05em; line-height: 1;
  margin-top: 2px;
}

.nav-links { display: flex; align-items: center; list-style: none; gap: 2px; }
.nav-links li a {
  display: block; padding: 6px 16px;
  font-size: 16px; font-weight: 800; color: #000000;
  text-decoration: none; border-radius: var(--r-xs);
  position: relative;
  /* sin transition de color/background — el fondo usa opacity vía ::before (GPU) */
}
.nav-links li a::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-xs);
  background: var(--blue-xs);
  opacity: 0; transition: opacity .15s;
  pointer-events: none;
}
.nav-links li a:hover { color: var(--blue); }
.nav-links li a:hover::before { opacity: 1; }
.nav-links li a.active { color: var(--blue); font-weight: 700; }

.nav-right { display: flex; align-items: center; gap: 10px; }
#nav-cta { display: inline-flex; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-weight: 700;
  font-size: 16px; text-decoration: none; border: none; cursor: pointer;
  border-radius: var(--r-xs); white-space: nowrap;
  position: relative;
  transition: background .15s;
}
.btn--blue {
  background: var(--blue); color: var(--pure);
  padding: 10px 22px; box-shadow: var(--sh-blue);
}
.btn--blue::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-xs);
  box-shadow: var(--sh-blue-lg);
  opacity: 0; transition: opacity .15s;
  pointer-events: none;
}
.btn--blue:hover { background: var(--blue-2); }
.btn--blue:hover::after { opacity: 1; }
.btn--border {
  background: transparent; color: var(--ink);
  padding: 10px 22px; border: 1.5px solid var(--mist);
}
.btn--border:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; flex-direction: column; gap: 5px; border-radius: var(--r-xs);
}
.nav-toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink); border-radius: 2px; transition: all .2s;
}

/* ══════════════════════════════
   HERO
══════════════════════════════ */
#hero {
  min-height: 100svh;
  display: flex; align-items: center;
  background-color: #0B0D11;
  background: var(--ink);
  position: relative; overflow: hidden; padding: 0;
}

.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 90% at 55% 45%, black 20%, transparent 75%);
}

.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 1100px; height: 800px;
  top: -250px; right: -250px;
  background: radial-gradient(ellipse, rgba(14,96,245,0.20) 0%, transparent 58%);
  transform: translateZ(0);
}
.hero-glow-2 {
  position: absolute; z-index: 0; pointer-events: none;
  width: 500px; height: 500px;
  bottom: -80px; left: -80px;
  background: radial-gradient(circle, rgba(11,79,204,0.12) 0%, transparent 65%);
  transform: translateZ(0);
}

.hero-inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1280px; margin: 0 auto;
  padding: 168px 64px 124px;
  display: grid; grid-template-columns: 1fr 400px;
  gap: 80px; align-items: center;
}

/* Left */

.hero-title { color: var(--pure); margin-bottom: 30px; }
.hero-title em {
  font-style: italic; color: transparent;
  background: linear-gradient(90deg, #60A5FA, #93C5FD);
  -webkit-background-clip: text; background-clip: text;
}

.hero-body {
  font-size: 1.125rem; line-height: 1.8; font-weight: 600;
  color: rgba(255,255,255,0.9);
  max-width: 460px; margin-bottom: 48px;
  text-wrap: balance;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.cta-main {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--pure); color: var(--ink);
  padding: 15px 30px; font-size: 15px; font-weight: 700;
  border-radius: var(--r-xs); text-decoration: none;
  position: relative;
}
.cta-main::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-xs);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  opacity: 0; transition: opacity .15s;
  pointer-events: none;
}
.cta-main:hover::after { opacity: 1; }
.cta-main svg { width: 16px; height: 16px; transition: transform .15s; }
.cta-main:hover svg { transform: translateX(3px); }

.cta-sec {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.48); font-size: 14.5px; font-weight: 500;
  text-decoration: none;
  padding: 15px 18px; border-radius: var(--r-xs);
  transition: color .2s, background .2s;
}
.cta-sec:hover { color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.06); }

/* Trust strip below CTAs */
.hero-trust {
  display: flex; align-items: center; gap: 24px;
  margin-top: 52px; padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
}
.trust-icon {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.trust-text {
  font-size: 12.5px; font-weight: 500;
  color: #ffffff; line-height: 1.4;
}
.trust-sep {
  width: 1px; height: 28px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* Right — mockup cards */
.hero-mockup { display: flex; flex-direction: column; gap: 11px; }

.mock-card {
  border-radius: var(--r-md);
  padding: 20px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative; overflow: hidden;
  transition: border-color .2s;
  cursor: default;
}
.mock-card:hover { border-color: rgba(255,255,255,0.15); }

.mock-card--main {
  background: rgba(255,255,255,0.05);
}

.mock-card--b { background: rgba(255,255,255,0.05); }
.mock-card--c { background: rgba(255,255,255,0.03); }


.mock-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: #A8893A;
  display: flex; align-items: center; gap: 7px; margin-bottom: 10px;
}
.mock-title {
  font-size: 16px; font-weight: 700;
  color: var(--pure); line-height: 1.44;
}



/* ══════════════════════════════
   POR QUÉ UNA PÁGINA
══════════════════════════════ */
#por-que { background: var(--pure); content-visibility: auto; contain-intrinsic-size: 1px 600px; }

.porque-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}

.porque-right {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; align-content: start;
}

.porque-left .tag { margin-bottom: 20px; }
.porque-left h2 { margin-bottom: 26px; }
.porque-left p { margin-bottom: 18px; }
.porque-left p:last-of-type { margin-bottom: 36px; }

.reason {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px;
  background: var(--pure);
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  position: relative;
}
.reason::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px -4px rgba(0,0,0,0.10);
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.reason:hover { border-color: #CBD5E1; }
.reason:hover::after { opacity: 1; }
.reason:first-child { padding-top: 26px; }
.reason:last-child  { border-bottom: 1px solid #E2E8F0; padding-bottom: 26px; }

.reason-num {
  width: 34px; height: 34px;
  background: var(--blue-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px; font-weight: 800;
  color: var(--blue); line-height: 1; flex-shrink: 0;
  position: relative; isolation: isolate;
}
/* Overlay compuesto por opacity (GPU) en lugar de background/color (CPU) */
.reason-num::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
  z-index: -1;
}
.reason:hover .reason-num { color: var(--pure); }
.reason:hover .reason-num::before { opacity: 1; }

.reason-body h3 {
  font-size: 15px; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; line-height: 1.4;
}
.reason-body p { font-size: 13.5px; line-height: 1.8; }

/* ══════════════════════════════
   QUÉ INCLUYE
══════════════════════════════ */
#incluye {
  background: var(--ink-2);
  position: relative; overflow: hidden;
  content-visibility: auto; contain-intrinsic-size: 1px 580px;
}

.bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
}

.incluye-head { position: relative; z-index: 1; margin-bottom: 60px; }
.incluye-head .tag { margin-bottom: 16px; }
.incluye-head h2 { color: var(--pure); max-width: 560px; margin-bottom: 16px; }
.incluye-head p { color: rgba(255,255,255,0.58); max-width: 480px; }

.incluye-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(255,255,255,0.06);
  border-radius: var(--r-lg); overflow: hidden;
  position: relative; z-index: 1;
}

.inc-item {
  background: var(--ink-2); padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: background .2s; cursor: default;
}
.inc-item:hover { background: #1C2840; }
.inc-item::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-hi));
  opacity: 0; transition: opacity .2s;
}
.inc-item:hover::after { opacity: 1; }

.inc-icon {
  margin-bottom: 20px; display: block; flex-shrink: 0;
}
span.inc-icon { font-size: 32px; }
svg.inc-icon  { width: 32px; height: 32px; color: #A8893A; }

.inc-title {
  font-size: 16.5px; font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 11px; line-height: 1.36;
  letter-spacing: -0.01em;
}
.inc-body { font-size: 13.5px; color: #C8D6E5; line-height: 1.74; }

/* ══════════════════════════════
   CÓMO FUNCIONA
══════════════════════════════ */
#como-funciona { background: var(--pure); content-visibility: auto; contain-intrinsic-size: 1px 560px; }

.como-head { margin-bottom: 64px; }
.como-head .tag { margin-bottom: 16px; }
.como-head h2 { max-width: 500px; }

.pasos {
  display: flex; flex-direction: row; align-items: flex-start;
  position: relative;
  max-width: 1200px; margin: 0 auto;
}

/* Línea horizontal conectora */
.pasos::before {
  content: '';
  position: absolute;
  top: 23px;
  left: calc(12.5% + 0px);
  right: calc(12.5% + 0px);
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    #E2E8F0 6%,
    #E2E8F0 94%,
    transparent 100%
  );
  z-index: 0;
}

.paso {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; padding: 0 12px;
  position: relative; z-index: 1;
}

.paso-num-wrap {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--pure);
  border: 2px solid var(--blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(11,79,204,0.15), 0 0 0 4px rgba(11,79,204,0.07);
  flex-shrink: 0;
}

.paso-num {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 900; font-style: italic;
  color: var(--blue); line-height: 1;
}

.paso-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  text-align: center;
}

.paso-card--final {
  border-color: var(--blue);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 0 0 1px rgba(11,79,204,0.15);
}

.paso-title {
  font-size: 1rem; font-weight: 600;
  color: #020617; margin-bottom: 10px; line-height: 1.3;
  letter-spacing: -0.01em;
}

.paso-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 8px;
}
.paso-body { font-size: 0.875rem; color: #1E293B; line-height: 1.6; font-weight: 500; }

/* ══════════════════════════════
   TRABAJOS / CASOS
══════════════════════════════ */
#trabajos { background: var(--ink); content-visibility: auto; contain-intrinsic-size: 1px 700px; }
#trabajos .trabajos-head h2 { color: var(--pure); }
#trabajos .tag { color: rgba(255,255,255,0.45); }
#trabajos .tag::before { background: rgba(255,255,255,0.45); }
#trabajos .btn--border { color: var(--pure); border-color: rgba(255,255,255,0.25); }
#trabajos .btn--border:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-soft); }

.trabajos-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 52px;
  flex-wrap: wrap; gap: 24px;
}
.trabajos-head .tag { margin-bottom: 14px; }
.trabajos-head h2 { max-width: 380px; }

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

.trabajo-card {
  background: var(--pure);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  position: relative;
  transition: transform .2s;
  cursor: pointer;
}
.trabajo-card:hover { will-change: transform; }
.trabajo-card::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.trabajo-card:hover::after { opacity: 1; }
.trabajo-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.trabajo-card--link:hover { transform: translateY(-3px); }

.trabajo-preview {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* Brand color preview */
.trabajo-preview--magnolia {
  background-color: #e8198b;
}
.trabajo-preview--sierra {
  background-color: #1a1a1a;
}
.trabajo-preview--gerentium {
  background-color: #0a2a4a;
}

.screenshot-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 9px 14px;
  background: rgba(0,0,0,0.60);
  border-bottom: 1px solid rgba(0,0,0,0.30);
}
.browser-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #febc2e; }
.browser-dot:nth-child(3) { background: #28c840; }
.screenshot-url {
  margin-left: 6px;
  font-size: 11px; color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
}
.brand-preview {
  height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.trabajo-body { padding: 26px 28px; }
.trabajo-industry {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-soft); border-radius: 100px;
  padding: 3px 10px; display: inline-block; margin-bottom: 12px;
}
.trabajo-title {
  font-size: 16px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; margin-bottom: 8px; line-height: 1.36;
}
.trabajo-desc { font-size: 14px; color: #1E293B; line-height: 1.7; }
.trabajo-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px; font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.01em;
}


/* ══════════════════════════════
   PREGUNTAS FRECUENTES
══════════════════════════════ */
#preguntas { background: var(--pure); content-visibility: auto; contain-intrinsic-size: 1px 620px; }

.preguntas-layout {
  display: grid; grid-template-columns: 380px 1fr;
  gap: 96px; align-items: start;
}

.preguntas-left .tag { margin-bottom: 18px; }
.preguntas-left h2 { margin-bottom: 22px; }
.preguntas-left p { margin-bottom: 32px; }

.faq-list { display: flex; flex-direction: column; gap: 2px; }

.faq-item {
  border: 1px solid var(--rule);
  border-radius: var(--r-xs);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--blue); }

.faq-q {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; gap: 16px;
  padding: 18px 22px;
  background: none; border: none; cursor: pointer;
  text-align: left;
  font-size: 15px; font-weight: 600; color: var(--ink);
  transition: background .18s;
}
.faq-q:hover { background: var(--fog); }
.faq-item.open .faq-q { background: var(--blue-xs); color: var(--blue); }

.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--fog);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s, transform .2s;
}
.faq-icon svg { width: 12px; height: 12px; color: var(--slate); transition: color .2s; }
.faq-item.open .faq-icon { background: var(--blue); transform: rotate(45deg); }
.faq-item.open .faq-icon svg { color: white; }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease, padding .25s;
}
.faq-a-inner {
  padding: 0 22px 18px;
  font-size: 14px; color: var(--slate); line-height: 1.78;
}
.faq-item.open .faq-a { max-height: 300px; }

/* ══════════════════════════════
   CTA / CONTACTO
══════════════════════════════ */
#contacto { background: var(--snow); padding: 0; }

.cta-block {
  margin: 80px 56px;
  border-radius: var(--r-xl);
  background: linear-gradient(130deg, #071A44, var(--blue) 50%, #2060E0);
  padding: 104px 88px;
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-block::before {
  content: '';
  position: absolute; inset: 0; border-radius: var(--r-xl); pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.036) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cta-blob {
  position: absolute; width: 700px; height: 700px;
  top: -300px; right: -150px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0.1), transparent 60%);
  transform: translateZ(0);
}

.cta-inner { position: relative; z-index: 1; }
.cta-tag {
  font-size: 10px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  display: block; margin-bottom: 24px;
}
.cta-block h2 {
  color: var(--pure); max-width: 520px;
  margin: 0 auto 20px;
}
.cta-block p {
  color: rgba(255,255,255,0.75); font-size: 16px;
  font-weight: 500; max-width: 380px;
  margin: 0 auto 52px; line-height: 1.74;
}

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

.btn-white {
  background: var(--pure); color: var(--blue);
  padding: 15px 30px; font-size: 15px; font-weight: 700;
  border-radius: var(--r-xs); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  position: relative;
  transition: background .15s;
}
.btn-white::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-xs);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  opacity: 0; transition: opacity .15s;
  pointer-events: none;
}
.btn-white:hover { background: var(--fog); }
.btn-white:hover::after { opacity: 1; }

.btn-ig {
  background: #C13584; color: #fff;
  padding: 15px 30px; font-size: 15px; font-weight: 700;
  border-radius: var(--r-xs); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  position: relative;
  transition: background .15s;
}
.btn-ig::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-xs);
  box-shadow: 0 10px 32px rgba(193,53,132,0.42);
  opacity: 0; transition: opacity .15s;
  pointer-events: none;
}
.btn-ig:hover { background: #a62d72; }
.btn-ig:hover::after { opacity: 1; }

.btn-wa {
  background: #16A34A; color: var(--pure);
  padding: 15px 30px; font-size: 15px; font-weight: 700;
  border-radius: var(--r-xs); text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px;
  position: relative;
  transition: background .15s, transform .15s;
}
.btn-wa svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-wa::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-xs);
  box-shadow: 0 10px 32px rgba(22,163,74,0.42);
  opacity: 0; transition: opacity .15s;
  pointer-events: none;
}
.btn-wa:hover { background: #15803D; transform: translateY(-2px); }
.btn-wa:hover::after { opacity: 1; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.07);
  contain: content;
}

.footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 14px 0;
}

.footer-bar .f-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; flex-shrink: 0;
}
.foot-badge {
  width: 24px; height: 24px; background: rgba(255,255,255,0.08);
  border-radius: var(--r-xs); display: flex; align-items: center; justify-content: center;
}
.foot-badge svg { width: 13px; height: 13px; }
.foot-name {
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.04em; color: var(--pure); line-height: 1;
}
.foot-name em { font-style: normal; color: var(--blue-hi); }

.foot-links {
  display: flex; align-items: center; gap: 4px;
}
.foot-links a {
  font-size: 13px; color: #ffffff;
  text-decoration: none; transition: opacity .18s;
  padding: 10px 12px; opacity: 0.75;
}
.foot-links a + a { border-left: 1px solid rgba(255,255,255,0.08); }
.foot-links a:hover { opacity: 1; }

.foot-copy {
  font-size: 12px; color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}


/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 340px; gap: 56px; }
  :root { --gap: 96px; }
}

@media (max-width: 960px) {
  :root { --gap: 72px; }
  .wrap { padding: 0 28px; }
  nav { padding: 0 28px; }
  .hero-inner { grid-template-columns: 1fr; padding: 148px 28px 96px; }
  .hero-right { display: none; }
  #nav-cta { display: none; }
  .porque-layout { grid-template-columns: 1fr; gap: 48px; }
  .porque-right  { grid-template-columns: 1fr; }
  .incluye-grid { grid-template-columns: 1fr; }
  .pasos { flex-direction: column; align-items: stretch; }
  .pasos::before { display: none; }
  .paso { flex-direction: row; align-items: flex-start; gap: 16px; padding: 0; }
  .paso-card { text-align: left; padding: 20px; }
  .paso-num-wrap { flex-shrink: 0; }
  .trabajos-grid { grid-template-columns: 1fr 1fr; }
  .preguntas-layout { grid-template-columns: 1fr; gap: 48px; }
  .foot-links { display: none; }
  .nav-links { display: none; }
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    padding: 16px 28px 28px;
    border-bottom: 1px solid rgba(11,13,17,0.08);
    z-index: 500;
  }
  .nav-toggle { display: flex; }
  .trabajos-head { flex-direction: column; align-items: flex-start; }
  .cta-block { margin: 40px 28px; padding: 72px 36px; }
}

@media (max-width: 600px) {
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .foot-links { flex-wrap: wrap; }
  .foot-links a { padding: 6px 8px; }
  .trabajos-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .btn-white, .btn-wa { justify-content: center; }
  .cta-block { margin: 24px 16px; padding: 56px 28px; }
}

/* ══════════════════════════════
   FOCUS VISIBLE (accesibilidad teclado)
══════════════════════════════ */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--blue-hi);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ══════════════════════════════
   WHATSAPP FLOTANTE
══════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  z-index: 1000;
  transition: transform .2s;
  text-decoration: none;
}
.wa-float::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37,211,102,0.6);
  opacity: 0; transition: opacity .2s;
  pointer-events: none;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.1); }
.wa-float:hover::after { opacity: 1; }
