:root {
  --ink: #0b0b0b;
  --ink-soft: #181818;
  --paper: #f4f1e9;
  --white: #ffffff;
  --yellow: #ffbd17;
  --yellow-bright: #ffda1a;
  --green: #8fc714;
  --green-dark: #467000;
  --gray: #c9c6bd;
  --line: rgba(11, 11, 11, 0.16);
  --shell: 1240px;
  --radius: 22px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --font: "Outfit", "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(143, 199, 20, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(255, 189, 23, 0.05), transparent 50%),
    var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

section {
  scroll-margin-top: 112px;
}

.page-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 9px max(24px, calc((100% - var(--shell)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  transition: min-height 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled {
  min-height: 76px;
  background: rgba(244, 241, 233, 0.94);
  color: var(--ink);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(14px);
}

.brand {
  display: block;
  flex: 0 0 auto;
}

.brand img {
  width: clamp(154px, 15vw, 210px);
  height: 70px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: height 0.25s ease;
}

.site-header:not(.is-scrolled) .brand img {
  mix-blend-mode: normal;
}

.site-header.is-scrolled .brand img {
  height: 58px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 34px);
}

.site-header nav a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-header nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.site-header nav a:hover::after,
.site-header nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
}

/* Next Level: CTA en el hueco del header, abre página propia en nueva pestaña */
.next-level-btn {
  position: relative;
  z-index: 2;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(56, 189, 255, 0.55);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(8, 47, 90, 0.92), rgba(14, 116, 180, 0.88) 55%, rgba(2, 132, 199, 0.9));
  color: #eef9ff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.25) inset,
    0 0 18px rgba(56, 189, 255, 0.35),
    0 8px 22px rgba(3, 40, 80, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.next-level-btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    repeating-linear-gradient(
      -18deg,
      transparent 0 10px,
      rgba(125, 211, 252, 0.12) 10px 12px
    );
  animation: next-level-scan 2.4s linear infinite;
  opacity: 0.7;
}

.next-level-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 30% 40%, rgba(186, 230, 253, 0.35), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(56, 189, 255, 0.4), transparent 40%);
  animation: next-level-pulse 1.8s ease-in-out infinite;
}

.next-level-label {
  position: relative;
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(125, 211, 252, 0.8);
}

.next-level-bolt {
  position: relative;
  width: 10px;
  height: 16px;
  background: #7dd3fc;
  clip-path: polygon(55% 0, 12% 55%, 42% 55%, 30% 100%, 88% 42%, 58% 42%);
  box-shadow: 0 0 10px #38bdf8, 0 0 18px #0ea5e9;
  animation: next-level-bolt 0.9s steps(2, end) infinite;
}

.next-level-bolt--right {
  animation-delay: 0.2s;
  transform: scaleX(-1);
}

.next-level-btn:hover,
.next-level-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(186, 230, 253, 0.95);
  box-shadow:
    0 0 0 1px rgba(186, 230, 253, 0.45) inset,
    0 0 28px rgba(56, 189, 255, 0.65),
    0 10px 26px rgba(3, 40, 80, 0.45);
  color: #fff;
}

.site-header.is-scrolled .next-level-btn {
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.3) inset,
    0 0 16px rgba(14, 165, 233, 0.28),
    0 8px 18px rgba(3, 40, 80, 0.18);
}

@keyframes next-level-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@keyframes next-level-scan {
  from { transform: translateX(-18%); }
  to { transform: translateX(18%); }
}

@keyframes next-level-bolt {
  0%, 100% { opacity: 0.35; filter: brightness(0.9); }
  40% { opacity: 1; filter: brightness(1.5); }
  70% { opacity: 0.55; filter: brightness(1.1); }
}

/* Next Level · Tecnología LED (página independiente) */
.page-next-level {
  margin: 0;
  background:
    radial-gradient(ellipse at 72% 12%, rgba(14, 165, 233, 0.34), transparent 42%),
    radial-gradient(ellipse at 12% 70%, rgba(37, 99, 235, 0.16), transparent 40%),
    #020617;
  color: #e8f4ff;
  overflow-x: clip;
}

.page-next-level .text-link span {
  color: #7dd3fc;
}

.nl-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.nl-top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  background: rgba(2, 6, 23, 0.72);
  border-bottom: 1px solid rgba(125, 211, 252, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nl-top-brand img {
  width: 132px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(56, 189, 255, 0.22));
}

.nl-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bae6fd;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, gap 0.2s ease;
}

.nl-top-link:hover,
.nl-top-link:focus-visible {
  color: #fff;
  gap: 12px;
}

.nl-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7dd3fc;
  text-shadow: 0 0 16px rgba(56, 189, 255, 0.45);
}

.nl-kicker.dark {
  color: #0369a1;
  text-shadow: none;
}

.nl-kicker.dark > span:first-child,
.nl-kicker:not(.dark) > span:not(.next-level-bolt):first-child {
  width: 28px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.nl-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: min(92svh, 900px);
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) 0 48px;
}

.nl-hero-stage {
  position: relative;
  min-height: clamp(360px, 52vw, 560px);
  perspective: 1200px;
}

.nl-hero-glow {
  position: absolute;
  inset: 8% 6%;
  border-radius: 40%;
  background:
    radial-gradient(circle at 50% 45%, rgba(56, 189, 255, 0.45), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(14, 165, 233, 0.28), transparent 50%);
  filter: blur(18px);
  animation: nl-glow-pulse 4.5s ease-in-out infinite;
}

.nl-hero-scan {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(125, 211, 252, 0.08) 48%,
    rgba(186, 230, 253, 0.22) 50%,
    rgba(125, 211, 252, 0.08) 52%,
    transparent 100%
  );
  background-size: 100% 220%;
  animation: nl-scan-y 5.5s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.55;
}

.nl-hero-screen {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(186, 230, 253, 0.35);
  border-radius: 18px;
  background: #020617;
  box-shadow:
    0 0 0 1px rgba(14, 165, 233, 0.25) inset,
    0 0 40px rgba(56, 189, 255, 0.28),
    0 28px 60px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
}

.nl-hero-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: nl-screen- ken 12s ease-in-out infinite alternate;
}

.nl-screen-bezel {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 35%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.35), transparent 40%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nl-hero-screen--main {
  inset: 8% 8% 18% 4%;
  z-index: 2;
  animation: nl-float-a 7s ease-in-out infinite;
}

.nl-hero-screen--orb {
  width: 38%;
  aspect-ratio: 1;
  right: 2%;
  bottom: 4%;
  z-index: 3;
  border-radius: 50%;
  animation: nl-float-b 6.2s ease-in-out infinite;
}

.nl-hero-screen--orb img {
  border-radius: 50%;
}

.nl-hero-screen--side {
  width: 42%;
  aspect-ratio: 4 / 3;
  left: -2%;
  bottom: 2%;
  z-index: 1;
  opacity: 0.92;
  animation: nl-float-c 8s ease-in-out infinite;
}

.nl-hero-copy {
  position: relative;
  z-index: 2;
}

.nl-hero-copy h1 {
  margin: 0 0 18px;
  font-family: Outfit, sans-serif;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: #fff;
  text-shadow: 0 0 40px rgba(56, 189, 255, 0.28);
}

.nl-hero-copy h1 em,
.nl-section-head h2 em,
.nl-showcase-head h2 em,
.nl-cta h2 em {
  font-family: Fraunces, serif;
  font-style: italic;
  font-weight: 600;
  color: #7dd3fc;
}

.nl-lead {
  margin: 0 0 28px;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.55;
  color: rgba(224, 242, 254, 0.82);
}

.nl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-bottom: 32px;
}

.nl-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nl-trust li {
  display: grid;
  gap: 4px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 14px;
  background: rgba(8, 47, 90, 0.28);
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.08);
}

.nl-trust strong {
  font-size: 0.92rem;
  color: #fff;
}

.nl-trust span {
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(186, 230, 253, 0.72);
}

.nl-marquee {
  overflow: hidden;
  border-block: 1px solid rgba(125, 211, 252, 0.16);
  background: rgba(2, 132, 199, 0.1);
  padding: 14px 0;
}

.nl-marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: nl-marquee 28s linear infinite;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(186, 230, 253, 0.78);
  white-space: nowrap;
}

.nl-marquee-track span {
  padding-right: 2rem;
}

.nl-section,
.nl-showcase,
.nl-process,
.nl-cta {
  padding: clamp(64px, 9vw, 110px) 0;
}

.nl-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%),
    #f4f8fc;
  color: #0b1220;
}

.nl-section .nl-section-head p:last-child {
  color: rgba(15, 23, 42, 0.72);
}

.nl-section-head,
.nl-showcase-head {
  max-width: 40rem;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.nl-section-head h2,
.nl-showcase-head h2,
.nl-cta h2 {
  margin: 0 0 14px;
  font-family: Outfit, sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.nl-section-head p,
.nl-showcase-head p,
.nl-cta p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.nl-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.nl-cap {
  position: relative;
  padding: 24px 22px 28px;
  border: 1px solid rgba(14, 116, 180, 0.14);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nl-cap::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #38bdf8, #0369a1);
  opacity: 0.85;
}

.nl-cap:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 22px 48px rgba(14, 165, 233, 0.14);
}

.nl-cap-num {
  display: block;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  color: #0284c7;
}

.nl-cap h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.nl-cap p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.7);
}

.nl-showcase {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(14, 165, 233, 0.22), transparent 40%),
    #020617;
}

.nl-showcase-head {
  color: #e8f4ff;
}

.nl-showcase-head p:last-of-type,
.nl-showcase-head + * {
  color: rgba(224, 242, 254, 0.78);
}

.nl-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.nl-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 20px;
  background: rgba(8, 47, 90, 0.28);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nl-card--hero {
  grid-column: span 8;
  grid-row: span 2;
}

.nl-card--wide {
  grid-column: span 8;
}

.nl-card:hover {
  transform: translateY(-5px);
  border-color: rgba(186, 230, 253, 0.55);
  box-shadow: 0 0 36px rgba(56, 189, 255, 0.22);
}

.nl-card-media {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #031525;
}

.nl-card--hero .nl-card-media {
  aspect-ratio: 16 / 12;
  min-height: 100%;
  flex: 1;
}

.nl-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.7s var(--ease-out, ease);
  filter: saturate(1.05) contrast(1.04);
}

.nl-card:hover .nl-card-media img {
  transform: scale(1.1);
}

.nl-card-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(186, 230, 253, 0.18) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  transition: transform 0.85s ease;
}

.nl-card:hover .nl-card-scan,
.nl-card-media.is-lit .nl-card-scan {
  transform: translateX(120%);
}

.nl-card-media.is-lit {
  box-shadow: inset 0 0 0 1px rgba(186, 230, 253, 0.2);
}

.nl-card-info {
  padding: 16px 18px 18px;
}

.nl-card-tag {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.nl-card-info h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.nl-card-info p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(224, 242, 254, 0.72);
}

.nl-process {
  background: #f4f8fc;
  color: #0b1220;
}

.nl-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.nl-steps li {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(14, 116, 180, 0.12);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.05);
}

.nl-steps li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #0369a1);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(14, 165, 233, 0.35);
}

.nl-steps h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.nl-steps p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.7);
}

.nl-cta {
  position: relative;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(56, 189, 255, 0.28), transparent 45%),
    linear-gradient(160deg, #031a33, #020617 60%);
  color: #e8f4ff;
}

.nl-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
  padding: 36px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 28px;
  background: rgba(8, 47, 90, 0.28);
  box-shadow: 0 0 50px rgba(14, 165, 233, 0.12);
}

.nl-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.nl-cta .button-outline {
  border-color: rgba(186, 230, 253, 0.55);
  color: #e0f2fe;
}

.nl-cta .button-outline:hover {
  background: #e0f2fe;
  color: #0b1220;
}

.nl-footer {
  padding: 22px 0 28px;
  border-top: 1px solid rgba(125, 211, 252, 0.12);
  color: rgba(186, 230, 253, 0.65);
  font-size: 0.88rem;
}

.nl-footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.nl-footer a {
  color: #7dd3fc;
  font-weight: 700;
  text-decoration: none;
}

.nl-footer a:hover {
  color: #fff;
}

.nl-gallery .reveal:nth-child(1) { --reveal-delay: 0ms; }
.nl-gallery .reveal:nth-child(2) { --reveal-delay: 60ms; }
.nl-gallery .reveal:nth-child(3) { --reveal-delay: 120ms; }
.nl-gallery .reveal:nth-child(4) { --reveal-delay: 80ms; }
.nl-gallery .reveal:nth-child(5) { --reveal-delay: 140ms; }
.nl-gallery .reveal:nth-child(6) { --reveal-delay: 200ms; }
.nl-gallery .reveal:nth-child(7) { --reveal-delay: 100ms; }
.nl-gallery .reveal:nth-child(8) { --reveal-delay: 160ms; }
.nl-gallery .reveal:nth-child(9) { --reveal-delay: 220ms; }

.nl-capability-grid .reveal:nth-child(1) { --reveal-delay: 0ms; }
.nl-capability-grid .reveal:nth-child(2) { --reveal-delay: 70ms; }
.nl-capability-grid .reveal:nth-child(3) { --reveal-delay: 140ms; }
.nl-capability-grid .reveal:nth-child(4) { --reveal-delay: 210ms; }

.nl-steps .reveal:nth-child(1) { --reveal-delay: 0ms; }
.nl-steps .reveal:nth-child(2) { --reveal-delay: 70ms; }
.nl-steps .reveal:nth-child(3) { --reveal-delay: 140ms; }
.nl-steps .reveal:nth-child(4) { --reveal-delay: 210ms; }

@keyframes nl-glow-pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes nl-scan-y {
  from { background-position: 0 -40%; }
  to { background-position: 0 140%; }
}

@keyframes nl-screen-ken {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, 1%, 0); }
}

@keyframes nl-float-a {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(2deg) rotateY(-4deg); }
  50% { transform: translate3d(0, -10px, 0) rotateX(0deg) rotateY(-2deg); }
}

@keyframes nl-float-b {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6px, -14px, 0) scale(1.03); }
}

@keyframes nl-float-c {
  0%, 100% { transform: translate3d(0, 0, 0) rotateY(8deg); }
  50% { transform: translate3d(-4px, 8px, 0) rotateY(4deg); }
}

@keyframes nl-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .nl-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 28px;
  }

  .nl-hero-stage {
    order: -1;
    min-height: 360px;
  }

  .nl-trust {
    grid-template-columns: 1fr;
  }

  .nl-capability-grid,
  .nl-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nl-card,
  .nl-card--hero,
  .nl-card--wide {
    grid-column: span 6;
  }

  .nl-cta-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .nl-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .nl-shell,
  .nl-hero,
  .nl-gallery {
    width: min(100% - 32px, 1240px);
  }

  .nl-top {
    padding: 12px 16px;
  }

  .nl-top-brand img {
    width: 112px;
  }

  .nl-top-link {
    font-size: 0.74rem;
  }

  .nl-hero-screen--side {
    display: none;
  }

  .nl-hero-screen--main {
    inset: 6% 6% 22% 6%;
  }

  .nl-capability-grid,
  .nl-steps {
    grid-template-columns: 1fr;
  }

  .nl-card,
  .nl-card--hero,
  .nl-card--wide {
    grid-column: span 12;
  }

  .nl-cta-grid {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nl-hero-glow,
  .nl-hero-scan,
  .nl-hero-screen,
  .nl-hero-screen img,
  .nl-marquee-track,
  .nl-card-scan {
    animation: none !important;
  }

  .nl-card:hover,
  .nl-cap:hover {
    transform: none;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 800;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  width: 24px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before {
  position: absolute;
  top: -7px;
}

.nav-toggle-lines::after {
  position: absolute;
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 150px 0 95px;
  background:
    linear-gradient(90deg, rgba(6, 6, 6, 0.95) 0%, rgba(6, 6, 6, 0.77) 47%, rgba(6, 6, 6, 0.32) 100%),
    url("img/BETTER%20STAND%20AMARILLO.png") center / cover no-repeat;
  color: var(--white);
}

.hero::before {
  position: absolute;
  top: -13vw;
  right: -9vw;
  z-index: -1;
  width: 38vw;
  height: 38vw;
  border: clamp(20px, 3vw, 52px) solid rgba(143, 199, 20, 0.76);
  border-radius: 50%;
  content: "";
  animation: ring-drift 18s var(--ease-soft) infinite alternate;
}

@keyframes ring-drift {
  from {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  to {
    transform: translate(-3%, 4%) scale(1.06) rotate(8deg);
  }
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 34%;
  background: linear-gradient(0deg, rgba(6, 6, 6, 0.86), transparent);
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.55fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: end;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker span {
  width: 28px;
  height: 2px;
  display: inline-block;
  background: currentColor;
  transform-origin: left center;
  animation: kicker-draw 0.7s var(--ease-out) both;
}

@keyframes kicker-draw {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

.kicker.dark {
  color: var(--green-dark);
}

h1,
h2 {
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.93;
  text-wrap: balance;
}

h1 em,
h2 em {
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
}

.hero h1 {
  max-width: 920px;
  font-size: clamp(3.4rem, 7.2vw, 7.25rem);
}

.hero-slogan {
  position: absolute;
  top: clamp(-42px, -1.8vw, -18px);
  right: 0;
  z-index: 2;
  width: min(29vw, 420px);
  margin: 0;
  padding: 0 0 24px;
}

.hero-slogan::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: clamp(84px, 8vw, 126px);
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--yellow-bright));
  box-shadow: 0 0 22px rgba(255, 189, 23, 0.42);
}

.hero-slogan span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.15vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
  -webkit-text-stroke: clamp(1px, 0.11vw, 2px) var(--green);
  paint-order: stroke fill;
  text-shadow:
    0 0 9px rgba(255, 218, 26, 0.92),
    0 0 24px rgba(255, 189, 23, 0.68),
    0 0 42px rgba(255, 189, 23, 0.34);
}

.hero-slogan strong {
  display: block;
  margin-top: 12px;
  color: var(--yellow-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 4.2vw, 5.15rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
  text-shadow: 0 13px 32px rgba(0, 0, 0, 0.68);
}

.hero-lead {
  max-width: 650px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.02rem, 1.5vw, 1.25rem);
}

.hero-copy {
  animation: hero-rise 0.85s var(--ease-out) both;
}

.hero-copy .kicker {
  animation: hero-rise 0.75s var(--ease-out) 0.05s both;
}

.hero-copy h1 {
  animation: hero-rise 0.9s var(--ease-out) 0.12s both;
}

.hero-copy .hero-lead {
  animation: hero-rise 0.85s var(--ease-out) 0.22s both;
}

.hero-copy .hero-actions {
  animation: hero-rise 0.85s var(--ease-out) 0.32s both;
}

.hero-slogan {
  animation: hero-rise 1s var(--ease-out) 0.28s both;
}

.hero-panel {
  animation: hero-rise 0.95s var(--ease-out) 0.38s both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

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

.button-accent {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 15px 40px rgba(255, 189, 23, 0.22);
}

.button-accent::after {
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  content: "";
  transform: skewX(-18deg);
  transition: left 0.55s var(--ease-out);
}

.button-accent:hover::after {
  left: 120%;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.button-outline:hover {
  background: var(--white);
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: gap 0.25s var(--ease-out), opacity 0.25s ease;
}

.text-link:hover,
.text-link:focus-visible {
  gap: 14px;
}

.text-link span {
  color: var(--yellow);
}

.dark-link {
  color: var(--ink);
}

.hero-panel {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(15, 15, 15, 0.66);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(143, 199, 20, 0.16);
  animation: status-pulse 2.2s ease-in-out infinite;
}

.hero-panel > p {
  color: rgba(255, 255, 255, 0.72);
}

.hero-stats {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats div {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats dt {
  color: var(--yellow);
  font-size: 1.6rem;
  font-weight: 900;
}

.hero-stats dd {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.scroll-cue {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: cue-float 2.2s var(--ease-soft) 1.2s infinite;
}

.scroll-cue span:last-child {
  display: inline-block;
  animation: cue-nudge 1.6s var(--ease-soft) infinite;
}

@keyframes cue-float {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 1;
  }
}

@keyframes cue-nudge {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

.section-index {
  padding-top: 4px;
  color: rgba(11, 11, 11, 0.5);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.section-index.light {
  color: rgba(255, 255, 255, 0.52);
}

/* Portal de gestión · post-hero, con gancho de producto */
.portal {
  position: relative;
  padding: 0 0 clamp(72px, 9vw, 108px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 70% at 90% 20%, rgba(255, 189, 23, 0.2), transparent 55%),
    radial-gradient(ellipse 45% 55% at 8% 90%, rgba(143, 199, 20, 0.12), transparent 50%),
    var(--ink);
  color: var(--white);
}

.portal-marquee {
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 189, 23, 0.08);
  padding: 12px 0;
  margin-bottom: clamp(48px, 7vw, 72px);
}

.portal-marquee-track {
  display: flex;
  width: max-content;
  animation: portal-marquee 26s linear infinite;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 214, 0, 0.85);
  white-space: nowrap;
}

.portal-marquee-track span {
  padding-right: 2rem;
}

.portal-marquee:hover .portal-marquee-track {
  animation-play-state: paused;
}

@keyframes portal-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.portal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.portal-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.portal-copy h2 em {
  color: var(--yellow);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
}

.portal-lead {
  margin: 0 0 28px;
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}

.portal-stage {
  position: relative;
}

.portal-window {
  position: relative;
  border: 1px solid rgba(255, 189, 23, 0.35);
  border-radius: 22px;
  background:
    linear-gradient(165deg, rgba(40, 40, 40, 0.95), rgba(18, 18, 18, 0.98));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 28px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(255, 189, 23, 0.12);
  overflow: hidden;
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.35s var(--ease-out);
}

.portal-stage:hover .portal-window {
  transform: perspective(900px) rotateY(-1deg) rotateX(0deg) translateY(-4px);
}

.portal-window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.35);
}

.portal-dots {
  display: inline-flex;
  gap: 6px;
}

.portal-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.portal-dots i:nth-child(1) { background: #ff5f57; }
.portal-dots i:nth-child(2) { background: #febc2e; }
.portal-dots i:nth-child(3) { background: #28c840; }

.portal-window-title {
  flex: 1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: lowercase;
}

.portal-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(143, 199, 20, 0.16);
  border: 1px solid rgba(143, 199, 20, 0.45);
  color: #c6f06a;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.portal-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: portal-pulse 1.4s ease-in-out infinite;
}

@keyframes portal-pulse {
  0%, 100% { opacity: 0.45; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}

.portal-window-body {
  padding: 22px 20px 24px;
}

.portal-project-label {
  margin: 0 0 6px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.portal-project-name {
  margin: 0 0 18px;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.portal-progress {
  height: 8px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.portal-progress-bar {
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--yellow), var(--yellow-bright), var(--green));
  background-size: 200% 100%;
  animation: portal-progress 2.8s ease-in-out infinite;
  box-shadow: 0 0 16px rgba(255, 189, 23, 0.45);
}

@keyframes portal-progress {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.portal-timeline {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-timeline li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.42);
}

.portal-timeline li span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.portal-timeline li.is-done {
  color: rgba(255, 255, 255, 0.78);
}

.portal-timeline li.is-done span {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 10px rgba(143, 199, 20, 0.55);
}

.portal-timeline li.is-now {
  color: #fff;
}

.portal-timeline li.is-now span {
  border-color: var(--yellow);
  background: var(--yellow);
  box-shadow: 0 0 12px rgba(255, 189, 23, 0.65);
  animation: portal-pulse 1.4s ease-in-out infinite;
}

.portal-stage-note {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 214, 0, 0.7);
}

@media (max-width: 900px) {
  .portal-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .portal-window {
    transform: none;
  }

  .portal-stage:hover .portal-window {
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-marquee-track,
  .portal-live i,
  .portal-progress-bar,
  .portal-timeline li.is-now span {
    animation: none !important;
  }
}

.about {
  display: grid;
  grid-template-columns: 150px minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: clamp(35px, 6vw, 90px);
  align-items: center;
  padding-top: 125px;
  padding-bottom: 125px;
}

.about h2,
.section-heading h2,
.coverage h2,
.contact h2 {
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
}

.about h2 em,
.dark-heading h2 em,
.coverage h2 em,
.contact h2 em {
  color: var(--green-dark);
}

.large-copy {
  max-width: 680px;
  margin-top: 30px;
  color: #383838;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.feature-list {
  display: grid;
  gap: 0;
  margin-top: 36px;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 800;
  transition: padding-left 0.3s var(--ease-out), color 0.25s ease;
}

.feature-list li:hover {
  padding-left: 8px;
  color: var(--green-dark);
}

.feature-list span {
  color: var(--green-dark);
  font-size: 0.74rem;
}

.about-media {
  position: relative;
}

.about-media::before {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: -1;
  width: 46%;
  height: 48%;
  border-radius: var(--radius);
  background: var(--yellow);
  content: "";
  transition: transform 0.55s var(--ease-out);
}

.about-media:hover::before {
  transform: translate(8px, -8px) rotate(2deg);
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
  transition: transform 0.7s var(--ease-out);
}

.about-media:hover img {
  transform: scale(1.03);
}

.about-media figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(11, 11, 11, 0.8);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.principles,
.process {
  padding: 120px 0;
  background: var(--ink);
  color: var(--white);
}

.principles {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 83% 20%, rgba(143, 199, 20, 0.18), transparent 29%),
    linear-gradient(135deg, #050706 0%, #07180b 52%, #041107 100%);
}

.principles::before,
.principles::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.principles::before {
  top: -61vw;
  right: -18vw;
  width: 91vw;
  height: 91vw;
  border: clamp(34px, 5vw, 82px) solid rgba(83, 160, 39, 0.32);
  box-shadow: 0 0 0 clamp(16px, 2.2vw, 38px) rgba(143, 199, 20, 0.11);
}

.principles::after {
  bottom: -24vw;
  left: -13vw;
  width: 38vw;
  height: 38vw;
  border: 2px solid rgba(255, 189, 23, 0.22);
  box-shadow: 0 0 70px rgba(255, 189, 23, 0.1);
}

.principles .page-shell {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 820px;
}

.principles .section-heading {
  max-width: 960px;
}

.principle-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.45fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
  margin-top: 72px;
}

.principle-statements {
  position: relative;
  display: grid;
  gap: 38px;
}

.principle-statements::before {
  content: "";
  position: absolute;
  top: 27px;
  bottom: 27px;
  left: 27px;
  width: 2px;
  background: linear-gradient(180deg, var(--yellow-bright), var(--green));
  box-shadow: 0 0 20px rgba(143, 199, 20, 0.35);
}

.principle-card {
  position: relative;
  min-height: 0;
  padding: 4px 0 12px 82px;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: transform 0.25s ease;
}

.principle-card:hover {
  transform: translateX(8px);
}

.principle-number {
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  background: #071009;
  color: var(--yellow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  line-height: 1;
  box-shadow: 0 0 24px rgba(255, 189, 23, 0.17);
}

.principle-card:nth-child(2) .principle-number {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 24px rgba(143, 199, 20, 0.2);
}

.principle-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
}

.principle-card p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.values-visual {
  position: relative;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 218, 26, 0.27);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 189, 23, 0.16), rgba(143, 199, 20, 0.12));
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.42),
    0 0 55px rgba(143, 199, 20, 0.09);
  transform: rotate(-1deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.values-visual:hover {
  box-shadow:
    0 42px 90px rgba(0, 0, 0, 0.5),
    0 0 70px rgba(143, 199, 20, 0.14);
  transform: rotate(0deg) translateY(-6px);
}

.values-visual img {
  width: 100%;
  aspect-ratio: 1950 / 909;
  display: block;
  border-radius: 25px;
  object-fit: cover;
}

.services {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(35px, 6vw, 90px);
  padding-top: 125px;
  padding-bottom: 125px;
}

.dark-heading p:not(.kicker) {
  max-width: 650px;
  margin-top: 25px;
  color: #4b4b4b;
}

.service-bento {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.service-item {
  position: relative;
  min-height: 296px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.4);
  transition: transform 0.25s ease, background 0.25s ease;
}

.service-icon {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 1;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 218, 26, 0.72);
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--yellow-bright);
  font-size: 2.75rem;
  line-height: 1;
  box-shadow:
    0 0 0 8px rgba(143, 199, 20, 0.11),
    0 16px 32px rgba(70, 112, 0, 0.2);
  transform: rotate(-3deg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-icon::before {
  line-height: 1;
}

.service-item > div:last-child {
  position: relative;
  z-index: 2;
}

.service-item:hover .service-icon {
  box-shadow:
    0 0 0 10px rgba(143, 199, 20, 0.16),
    0 20px 38px rgba(70, 112, 0, 0.25);
  transform: translateY(-4px) rotate(0deg) scale(1.04);
}

.service-item:hover {
  background: var(--white);
  transform: translateY(-5px);
}

.service-featured {
  grid-row: span 2;
  min-height: 608px;
}

/* Foto real de fondo en lugar de una tarjeta vacía con icono. El degradado solo
   oscurece la mitad inferior: arriba se lee la foto, abajo el texto. */
.service-photo {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.16);
  background: var(--ink);
}

.service-photo > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* El tramo oscuro de arriba es para que el número se lea sobre cielo o gráfica clara;
   en medio se aclara para no apagar la foto y abajo cierra para sostener el texto. */
.service-photo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 11, 11, 0.5) 0%,
    rgba(11, 11, 11, 0.14) 26%,
    rgba(11, 11, 11, 0.36) 58%,
    rgba(11, 11, 11, 0.9) 100%
  );
  content: "";
}

/* Encuadre por foto: con recorte "cover" el centro no siempre cae en lo que importa. */
.service-photo .frame-low {
  object-position: 50% 66%;
}

.service-photo .frame-high {
  object-position: 50% 34%;
}

/* La foto del corner de Veracruz se tomó con luz de tienda y queda apagada bajo el
   degradado. Se corrige aquí y no en el archivo, para conservar el original. */
.service-photo .lift {
  filter: brightness(1.22) saturate(1.04) contrast(1.03);
}

.service-photo .service-number {
  position: relative;
  z-index: 2;
}

.service-photo:hover {
  background: var(--ink);
}

.service-photo:hover > img {
  transform: scale(1.05);
}

.service-photo .service-icon {
  border-color: rgba(255, 218, 26, 0.78);
  background: rgba(11, 11, 11, 0.62);
  color: var(--yellow-bright);
  box-shadow:
    0 0 0 8px rgba(255, 218, 26, 0.12),
    0 18px 36px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(4px);
}

/* Sin foto propia, esta tarjeta cierra la retícula a lo ancho: llena la fila que antes
   quedaba a medias y el amarillo rompe la sucesión de fotos oscuras. */
.service-accent {
  grid-column: 1 / -1;
  min-height: 210px;
  background: var(--yellow);
}

.service-accent > div:last-child {
  max-width: 620px;
}

.service-accent .service-icon {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--yellow-bright);
  box-shadow:
    0 0 0 8px rgba(11, 11, 11, 0.1),
    0 16px 32px rgba(11, 11, 11, 0.2);
}

.service-number {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.service-tag {
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-item h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.08;
}

.service-item p {
  color: #535353;
}

.service-photo p {
  color: rgba(255, 255, 255, 0.82);
}

.service-accent p {
  color: var(--ink);
}

.project-showcase {
  overflow: hidden;
  padding: 120px 0;
  background: var(--green-dark);
  color: var(--white);
}

.projects-heading {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(35px, 6vw, 90px);
  align-items: start;
}

.projects-heading h2 {
  font-size: clamp(3rem, 5.6vw, 5.7rem);
}

.projects-intro {
  max-width: 720px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  margin-top: 68px;
}

.project-card {
  position: relative;
  grid-column: span 4;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--ink-soft);
  box-shadow: 0 18px 45px rgba(11, 11, 11, 0.17);
  color: var(--white);
}

.project-card-featured {
  grid-column: span 8;
  min-height: 540px;
}

.project-card-portrait {
  grid-column: span 4;
  min-height: 540px;
}

.project-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.project-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.04) 30%, rgba(8, 8, 8, 0.9) 100%);
  content: "";
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.65s ease;
}

.project-media-process img {
  object-position: center 27%;
}

.project-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: clamp(24px, 3vw, 38px);
}

.project-meta {
  margin-bottom: 12px;
  color: var(--yellow-bright);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-info h3 {
  max-width: 720px;
  font-size: clamp(1.8rem, 3.4vw, 3.7rem);
  line-height: 0.98;
}

.project-card:not(.project-card-featured) .project-info h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.65rem);
}

.project-info > p:not(.project-meta) {
  max-width: 620px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin-top: 21px;
}

.project-cta,
.project-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Contorno en lugar de amarillo: hay cinco tarjetas y cinco botones amarillos en la
   misma pantalla se anulan entre sí. El amarillo queda para el CTA de la sección. */
.project-cta {
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(11, 11, 11, 0.35);
  color: var(--white);
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease,
    color 0.25s ease;
}

.project-cta:hover,
.project-cta:focus-visible {
  border-color: var(--yellow);
  background: var(--yellow);
  color: var(--ink);
  transform: translateY(-2px);
}

.project-cta b {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.project-cta:hover b {
  transform: translateX(3px);
}

/* El enlace a la publicación es la prueba de que el proyecto existe: se mantiene
   siempre visible, en segundo plano visual frente a la acción de cotizar. */
.project-social {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  text-underline-offset: 4px;
}

.project-social:hover,
.project-social:focus-visible {
  color: var(--white);
  text-decoration-color: var(--yellow-bright);
}

.project-social b {
  color: var(--yellow-bright);
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.project-social:hover b {
  transform: translate(3px, -3px);
}

.project-card:hover .project-media img,
.project-card:focus-within .project-media img {
  filter: saturate(1.07);
  transform: scale(1.045);
}

.projects-proof {
  max-width: 560px;
  margin-top: 16px;
  padding-left: 15px;
  border-left: 2px solid var(--green);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.projects-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
}

.projects-footer p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.clients {
  padding: 120px 0 70px;
  background: var(--white);
}

.clients-heading {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(35px, 6vw, 90px);
}

.clients .swiper {
  width: 100%;
  padding: 65px 0 50px;
}

.clients .swiper-wrapper {
  align-items: stretch;
}

.clients .swiper-slide {
  width: min(330px, 72vw);
  height: 250px;
  display: grid;
  place-items: center;
  padding: 28px 34px;
  overflow: hidden;
  border: 1px solid rgba(11, 11, 11, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.3s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.clients .swiper-slide:hover,
.clients .swiper-slide-active {
  border-color: var(--yellow);
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(11, 11, 11, 0.08);
}

.clients .swiper-slide img {
  width: 100%;
  height: 100%;
  max-width: 250px;
  max-height: 170px;
  margin: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s var(--ease-out);
}

.clients .swiper-slide:hover img {
  transform: scale(1.06);
}

.swiper-controls {
  width: min(calc(100% - 48px), var(--shell));
  min-height: 54px;
  display: grid;
  grid-template-columns: 54px minmax(160px, 280px) 54px;
  gap: 18px;
  align-items: center;
  justify-content: end;
  margin: 40px auto 0;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  width: 54px;
  height: 54px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1rem;
  font-weight: 900;
}

.swiper-pagination {
  position: static;
  display: flex;
  justify-content: center;
}

.swiper-pagination-bullet-active {
  background: var(--green-dark);
}

.process {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 64px 0;
  background:
    radial-gradient(circle at 8% 14%, rgba(135, 225, 64, 0.36), transparent 22%),
    linear-gradient(135deg, #70cf35 0%, #0a873f 34%, #034a21 72%, #062e18 100%);
}

.process::before,
.process::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.process::before {
  top: -54vw;
  left: -14vw;
  width: 80vw;
  height: 80vw;
  border: clamp(34px, 5vw, 86px) solid rgba(3, 72, 31, 0.34);
}

.process::after {
  right: -14vw;
  bottom: -55vw;
  width: 76vw;
  height: 76vw;
  border: clamp(30px, 4vw, 72px) solid rgba(143, 225, 68, 0.2);
}

.process-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1440px);
  margin-inline: auto;
}

.process .section-index {
  position: absolute;
  top: 24px;
  left: 26px;
  z-index: 3;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 54, 25, 0.72);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}

.process-accessible-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.process-diagram {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 222, 96, 0.3);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(255, 218, 26, 0.23), rgba(143, 225, 68, 0.18));
  box-shadow:
    0 42px 100px rgba(0, 36, 16, 0.46),
    0 0 70px rgba(143, 225, 68, 0.13);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.process-diagram:hover {
  box-shadow:
    0 48px 110px rgba(0, 36, 16, 0.54),
    0 0 85px rgba(143, 225, 68, 0.2);
  transform: translateY(-5px);
}

.process-diagram img {
  width: 100%;
  aspect-ratio: 2035 / 1119;
  display: block;
  border-radius: 30px;
  object-fit: cover;
}

.process-mobile-heading,
.process-mobile {
  display: none;
}

.coverage {
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1fr);
  gap: clamp(45px, 8vw, 115px);
  align-items: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.coverage-copy > p:not(.kicker) {
  max-width: 580px;
  margin: 28px 0;
  color: #4e4e4e;
}

.coverage-map {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.1);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}

.coverage-map:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.14);
}

.coverage-map img {
  width: 100%;
  height: auto;
}

.contact {
  padding: 120px 0;
  background: var(--yellow);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 0.7fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.contact-copy > p:not(.kicker) {
  max-width: 570px;
  margin: 28px 0;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
  transition: gap 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.phone-link:hover,
.phone-link:focus-visible {
  gap: 16px;
  transform: translateY(-2px);
}

.phone-link span:first-child {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#contact-form {
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.16);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.label-hint {
  font-weight: 400;
  opacity: 0.6;
  text-transform: none;
  letter-spacing: 0;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 22px;
}

.form-consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--ink);
}

.form-consent label {
  font-size: 0.85rem;
  line-height: 1.5;
}

.form-consent a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-hours {
  margin-top: 14px;
  font-size: 0.85rem;
  opacity: 0.72;
}

.form-field select,
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 2px solid #c9c9c9;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.25s ease, padding-left 0.25s var(--ease-out);
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field select:focus,
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--green-dark);
  padding-left: 4px;
}

.form-field select {
  appearance: none;
  padding-right: 24px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 9px center, right 3px center;
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  cursor: pointer;
}

.form-note,
.form-status {
  font-size: 0.8rem;
}

.form-note {
  color: #656565;
}

.form-status {
  min-height: 1.2em;
  font-weight: 800;
}

.careers {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0 0 120px;
  background:
    radial-gradient(circle at 82% 28%, rgba(143, 199, 20, 0.19), transparent 27%),
    linear-gradient(145deg, #050706 0%, #09170b 55%, #071009 100%);
  color: var(--white);
}

.careers::before {
  content: "";
  position: absolute;
  top: 110px;
  right: -14vw;
  z-index: -1;
  width: 42vw;
  height: 42vw;
  border: clamp(28px, 4vw, 64px) solid rgba(143, 199, 20, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 clamp(12px, 1.8vw, 28px) rgba(255, 189, 23, 0.06);
}

.careers::after {
  content: "";
  position: absolute;
  bottom: -180px;
  left: -120px;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 189, 23, 0.12);
  filter: blur(90px);
}

.careers-marquee {
  overflow: hidden;
  padding: 18px 0;
  background: var(--yellow);
  color: var(--ink);
  transform: rotate(-1.2deg) scale(1.03);
  will-change: transform;
}

.careers-marquee-track {
  width: max-content;
  display: flex;
  gap: 0;
  animation: careers-scroll 22s linear infinite;
}

.careers-marquee:hover .careers-marquee-track {
  animation-play-state: paused;
}

.careers-marquee-track span {
  flex: none;
  padding-right: 3.4rem;
  font-size: clamp(0.95rem, 1.55vw, 1.4rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

@keyframes careers-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.careers-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(58px, 8vw, 120px);
  align-items: center;
  padding-top: 105px;
}

.careers h2 {
  max-width: 760px;
  font-size: clamp(3rem, 5.8vw, 6rem);
}

.careers-copy > p:not(.kicker) {
  max-width: 610px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}

/* En la portada la franja de talento solo invita a la pestaña dedicada: el detalle del
   puesto habla al candidato y no al cliente, así que vive en /trabaja-con-nosotros. */
.careers-band h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.4rem);
}

.careers-band-actions,
.talent-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  margin-top: 38px;
}

.careers-visual {
  position: relative;
  min-height: 590px;
}

.careers-visual::before {
  content: "";
  position: absolute;
  top: 42px;
  right: 18px;
  width: 72%;
  height: 72%;
  border: 2px solid rgba(255, 189, 23, 0.38);
  border-radius: 50%;
}

.careers-main-image,
.careers-secondary-image {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 30px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.46);
}

.careers-main-image {
  top: 0;
  left: 0;
  width: 72%;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(-2deg);
}

.careers-secondary-image {
  right: 0;
  bottom: 0;
  width: 58%;
  height: 255px;
  border: 7px solid var(--yellow);
  transform: rotate(3deg);
}

.careers-main-image img,
.careers-secondary-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.careers-main-image img {
  object-position: center 35%;
}

.careers-status {
  position: absolute;
  top: 38px;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(5, 12, 6, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.careers-status span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
  animation: status-pulse 2.2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

.careers-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 45px;
  align-items: start;
  margin-top: 88px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(143, 199, 20, 0.38);
  border-radius: 30px;
  background: linear-gradient(120deg, rgba(70, 112, 0, 0.38), rgba(143, 199, 20, 0.08));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.careers-cta-label {
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.careers-cta h3 {
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.careers-cta > div:first-child > p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  line-height: 1.6;
}

.careers-whatsapp {
  margin-top: 28px;
  text-decoration: none;
}

.careers-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.careers-cta-actions small {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  line-height: 1.45;
}

.footer {
  padding: 75px 0 25px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 0.7fr);
  gap: 45px;
}

.footer-brand img {
  width: 250px;
  height: auto;
  padding: 7px;
  border-radius: 12px;
  background: var(--white);
}

.footer-brand p {
  max-width: 330px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.57);
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-column h3 {
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-scale {
  transform: translateY(24px) scale(0.96);
}

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-scale.is-visible {
  transform: none;
}

.service-bento .reveal:nth-child(1) { --reveal-delay: 0ms; }
.service-bento .reveal:nth-child(2) { --reveal-delay: 70ms; }
.service-bento .reveal:nth-child(3) { --reveal-delay: 140ms; }
.service-bento .reveal:nth-child(4) { --reveal-delay: 210ms; }
.service-bento .reveal:nth-child(5) { --reveal-delay: 280ms; }
.service-bento .reveal:nth-child(6) { --reveal-delay: 350ms; }

.project-gallery .reveal:nth-child(1) { --reveal-delay: 0ms; }
.project-gallery .reveal:nth-child(2) { --reveal-delay: 80ms; }
.project-gallery .reveal:nth-child(3) { --reveal-delay: 160ms; }
.project-gallery .reveal:nth-child(4) { --reveal-delay: 240ms; }
.project-gallery .reveal:nth-child(5) { --reveal-delay: 320ms; }

.area-grid .reveal:nth-child(1) { --reveal-delay: 0ms; }
.area-grid .reveal:nth-child(2) { --reveal-delay: 50ms; }
.area-grid .reveal:nth-child(3) { --reveal-delay: 100ms; }
.area-grid .reveal:nth-child(4) { --reveal-delay: 150ms; }
.area-grid .reveal:nth-child(5) { --reveal-delay: 200ms; }
.area-grid .reveal:nth-child(6) { --reveal-delay: 250ms; }
.area-grid .reveal:nth-child(7) { --reveal-delay: 300ms; }

.talent-perks .reveal:nth-child(1) { --reveal-delay: 0ms; }
.talent-perks .reveal:nth-child(2) { --reveal-delay: 60ms; }
.talent-perks .reveal:nth-child(3) { --reveal-delay: 120ms; }
.talent-perks .reveal:nth-child(4) { --reveal-delay: 180ms; }
.talent-perks .reveal:nth-child(5) { --reveal-delay: 240ms; }

.principle-statements .reveal:nth-child(1) { --reveal-delay: 0ms; }
.principle-statements .reveal:nth-child(2) { --reveal-delay: 120ms; }

.contact-grid .reveal:nth-child(1) { --reveal-delay: 0ms; }
.contact-grid .reveal:nth-child(2) { --reveal-delay: 120ms; }

@media (max-width: 1050px) {
  .site-header nav {
    gap: 16px;
  }

  .hero-grid,
  .about {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .hero-slogan {
    position: relative;
    top: auto;
    right: auto;
    grid-column: 2;
    width: min(100%, 520px);
    margin-top: 4px;
  }

  .hero-slogan strong {
    font-size: clamp(4rem, 8.5vw, 5.6rem);
  }

  .hero-panel {
    grid-column: 2;
  }

  .about-copy {
    grid-column: 2;
  }

  .about-media {
    grid-column: 2;
    width: min(100%, 620px);
  }

  .projects-heading {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .project-card-featured,
  .project-card-portrait {
    grid-column: span 6;
  }

  .project-card {
    grid-column: span 6;
  }

  .services,
  .clients-heading {
    grid-template-columns: 110px minmax(0, 1fr);
  }

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

  .careers-grid {
    gap: 50px;
  }

  .careers-visual {
    min-height: 540px;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 80px;
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    width: 165px;
    height: 58px;
  }

  .brand {
    position: relative;
    z-index: 130;
  }

  .next-level-btn {
    position: relative;
    z-index: 130;
    margin-right: 8px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.68rem;
    gap: 6px;
  }

  .next-level-bolt {
    width: 8px;
    height: 13px;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 130;
  }

  /* Cortina detrás del panel para que el contenido no se cuele */
  .site-header::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(11, 11, 11, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  body.nav-open .site-header::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-header nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    width: min(86vw, 360px);
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(88px + env(safe-area-inset-top, 0px)) 28px calc(36px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--paper);
    color: var(--ink);
    box-shadow: -25px 0 70px rgba(0, 0, 0, 0.24);
    transform: translate3d(105%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.3s ease, visibility 0.3s ease;
  }

  .site-header nav.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-header nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
    line-height: 1.25;
  }

  .site-header nav a:not(.nav-contact)::after {
    display: none;
  }

  .nav-contact {
    margin-top: 22px;
    border-bottom: 0 !important;
    text-align: center;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-grid,
  .about,
  .services,
  .projects-heading,
  .clients-heading,
  .coverage,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .about-copy,
  .about-media,
  .service-bento {
    grid-column: auto;
  }

  .hero-slogan {
    grid-column: auto;
  }

  .section-index {
    margin-bottom: 25px;
  }

  .hero-panel {
    max-width: 500px;
  }

  .about,
  .services {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .principles,
  .process,
  .project-showcase,
  .clients,
  .contact,
  .careers {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .careers {
    padding-top: 0;
  }

  .careers-grid {
    grid-template-columns: 1fr;
    padding-top: 85px;
  }

  .careers-visual {
    min-height: 570px;
  }

  .careers-cta {
    grid-template-columns: 1fr;
    margin-top: 62px;
  }

  .process {
    background:
      radial-gradient(circle at 0 0, rgba(135, 225, 64, 0.3), transparent 28%),
      linear-gradient(160deg, #0a7c39 0%, #034a21 38%, #032f17 100%);
  }

  .process-shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .process .section-index {
    position: static;
    display: inline-flex;
    margin-bottom: 42px;
  }

  .process-diagram {
    display: none;
  }

  .process-mobile-heading {
    display: block;
    margin-bottom: 52px;
  }

  .process-mobile-heading > p:last-child {
    max-width: 650px;
    color: var(--white);
    font-size: clamp(2.8rem, 10vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.055em;
    line-height: 0.95;
    text-wrap: balance;
  }

  .process-mobile {
    display: grid;
    gap: 0;
    list-style: none;
  }

  .process-mobile li {
    position: relative;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 42px;
  }

  .process-mobile li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 76px;
    bottom: -2px;
    left: 37px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--green), var(--yellow));
    box-shadow: 0 0 18px rgba(143, 199, 20, 0.34);
  }

  .process-mobile li > span {
    position: relative;
    z-index: 1;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border: 9px solid #68b93d;
    border-radius: 50%;
    background: var(--white);
    color: #06491f;
    font-size: 1rem;
    font-weight: 900;
    box-shadow:
      0 0 0 3px rgba(170, 232, 122, 0.7),
      0 16px 34px rgba(0, 0, 0, 0.25);
  }

  .process-mobile li:nth-child(even) > span {
    border-color: var(--yellow);
    box-shadow:
      0 0 0 3px rgba(255, 218, 26, 0.55),
      0 16px 34px rgba(0, 0, 0, 0.25);
  }

  .process-mobile h3 {
    margin: 4px 0 8px;
    color: var(--yellow-bright);
    font-size: clamp(1.35rem, 4.8vw, 1.9rem);
  }

  .process-mobile p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.76);
  }

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

  .principle-card {
    min-height: 0;
  }

  .values-visual {
    transform: none;
  }

  .service-bento {
    margin-top: 40px;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .project-card,
  .project-card-featured,
  .project-card-portrait {
    grid-column: auto;
    min-height: 480px;
  }

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

@media (max-width: 580px) {
  .page-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  section {
    scroll-margin-top: 82px;
  }

  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .hero-slogan {
    width: 100%;
    margin-top: 0;
    padding-bottom: 20px;
  }

  .hero-slogan strong {
    font-size: clamp(3.15rem, 13.5vw, 4.15rem);
  }

  .principle-grid {
    gap: 42px;
    margin-top: 52px;
  }

  .principle-statements {
    gap: 30px;
  }

  .principle-card {
    padding-left: 68px;
  }

  .principle-statements::before {
    left: 23px;
  }

  .principle-number {
    width: 48px;
    height: 48px;
    font-size: 1.55rem;
  }

  .values-visual {
    margin-inline: -8px;
    padding: 6px;
    border-radius: 22px;
  }

  .values-visual img {
    border-radius: 17px;
  }

  .careers-marquee {
    padding: 13px 0;
  }

  .careers-grid {
    padding-top: 72px;
  }

  .careers h2 {
    font-size: clamp(2.8rem, 13.5vw, 4.2rem);
  }

  .careers-visual {
    min-height: 450px;
  }

  .careers-main-image {
    width: 82%;
    height: 390px;
  }

  .careers-secondary-image {
    width: 62%;
    height: 180px;
    border-width: 5px;
  }

  .careers-status {
    top: 22px;
    font-size: 0.62rem;
  }

  .careers-cta {
    padding: 25px;
    border-radius: 22px;
  }

  .process-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .process-mobile-heading {
    margin-bottom: 42px;
  }

  .process-mobile-heading > p:last-child {
    font-size: clamp(2.55rem, 13vw, 3.75rem);
  }

  .process-mobile li {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 17px;
    padding-bottom: 36px;
  }

  .process-mobile li:not(:last-child)::after {
    top: 62px;
    left: 30px;
  }

  .process-mobile li > span {
    width: 64px;
    height: 64px;
    border-width: 7px;
    font-size: 0.86rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .scroll-cue {
    display: none;
  }

  .service-bento,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-featured {
    grid-row: auto;
    min-height: 430px;
  }

  .clients .swiper-slide {
    width: 76vw;
    height: 220px;
  }

  .swiper-controls {
    width: calc(100% - 32px);
    grid-template-columns: 48px minmax(100px, 1fr) 48px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 48px;
    height: 48px;
  }

  .project-card,
  .project-card-featured,
  .project-card-portrait {
    min-height: 430px;
  }

  .coverage {
    padding-top: 85px;
    padding-bottom: 85px;
  }

  #contact-form {
    padding: 25px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .careers-marquee-track {
    animation: none;
    transform: none;
  }

  .careers-status span,
  .whatsapp-float,
  .whatsapp-float::before,
  .hero-copy,
  .hero-copy .kicker,
  .hero-copy h1,
  .hero-copy .hero-lead,
  .hero-copy .hero-actions,
  .hero-slogan,
  .hero-panel,
  .hero::before,
  .scroll-cue,
  .scroll-cue span:last-child,
  .kicker span,
  .panel-status span {
    animation: none !important;
  }
}

/* Páginas de una sola columna: gracias y aviso de privacidad. */
.simple-page {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: clamp(48px, 9vw, 110px) clamp(20px, 5vw, 40px);
  background: var(--paper);
}

.legal-page {
  align-items: flex-start;
}

.simple-shell {
  width: min(100%, 720px);
  margin: 0 auto;
}

.simple-brand {
  display: inline-block;
  margin-bottom: 38px;
}

.simple-brand img {
  height: auto;
}

.simple-page h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem);
}

.simple-page h2 {
  margin-top: 38px;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  letter-spacing: -0.03em;
}

.simple-lead {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
}

.simple-page p,
.simple-page li {
  line-height: 1.65;
}

.simple-page h2 + p,
.simple-page h2 + ul,
.simple-page p + p,
.simple-page p + ul,
.simple-page ul + p,
.simple-page ol + p {
  margin-top: 14px;
}

.simple-page ul,
.simple-page ol {
  padding-left: 21px;
  list-style: revert;
}

.simple-page li + li {
  margin-top: 9px;
}

.simple-page a:not(.button):not(.simple-brand) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.simple-steps {
  margin-top: 34px;
  padding: 26px 30px;
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--white);
}

.simple-steps h2 {
  margin-top: 0;
}

.simple-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin-top: 40px;
}

.simple-note {
  margin-top: 30px;
  color: #5c5c5c;
  font-size: 0.88rem;
}

/* El amarillo de .text-link span desaparece sobre el fondo claro de estas páginas. */
.simple-page .text-link span {
  color: var(--green-dark);
}

/* Pitch de atracción: historia visual + perks + fit + timeline. */
.talent-pitch {
  padding-bottom: clamp(24px, 3vw, 40px);
}

.talent-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(8px, 1.5vw, 20px);
}

.talent-story-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  isolation: isolate;
}

.talent-story-media img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s var(--ease-out);
}

.talent-story:hover .talent-story-media img {
  transform: scale(1.06);
}

.talent-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 12, 4, 0.88) 100%);
  pointer-events: none;
}

.talent-story-media figcaption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.talent-story-label,
.talent-fit-aside-label,
.talent-bridge-label {
  margin-bottom: 12px;
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.talent-story-copy h3,
.talent-fit-main h3,
.talent-process-head h3,
.talent-bridge h3 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.talent-story-copy p {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
  line-height: 1.65;
}

.talent-story-copy p + p {
  margin-top: 12px;
}

.talent-story-copy .button {
  margin-top: 28px;
}

.talent-perks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(48px, 6vw, 72px);
}

.talent-perk {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 22px 18px 24px;
  border: 1px solid rgba(143, 199, 20, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(165deg, rgba(143, 199, 20, 0.1), transparent 55%),
    rgba(11, 11, 11, 0.42);
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.talent-perk:hover {
  border-color: rgba(255, 214, 0, 0.55);
  background:
    linear-gradient(165deg, rgba(255, 214, 0, 0.12), transparent 55%),
    rgba(11, 11, 11, 0.55);
  transform: translateY(-4px);
}

.talent-perk-num {
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.talent-perk h3 {
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.talent-perk p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  line-height: 1.5;
}

.talent-fit {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 18px;
  margin-top: clamp(40px, 5vw, 64px);
}

.talent-fit-main,
.talent-fit-aside {
  padding: clamp(26px, 3.2vw, 38px);
  border-radius: 26px;
}

.talent-fit-main {
  border: 1px solid rgba(143, 199, 20, 0.28);
  background: rgba(11, 11, 11, 0.4);
}

.talent-fit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin-top: 22px;
}

.talent-fit-list li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
}

.talent-fit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(143, 199, 20, 0.55);
}

.talent-fit-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 214, 0, 0.35);
  background:
    linear-gradient(145deg, rgba(255, 214, 0, 0.18), rgba(70, 112, 0, 0.28));
}

.talent-fit-aside p:not(.talent-fit-aside-label) {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.55;
}

.talent-fit-aside .text-link span {
  color: var(--white);
}

.talent-process {
  margin-top: clamp(48px, 6vw, 72px);
  padding: clamp(28px, 3.5vw, 42px);
  border: 1px solid rgba(143, 199, 20, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at top left, rgba(143, 199, 20, 0.12), transparent 55%),
    rgba(11, 11, 11, 0.35);
}

.talent-process-head {
  max-width: 520px;
  margin-bottom: clamp(28px, 3.5vw, 40px);
}

.talent-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  counter-reset: none;
}

.talent-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.talent-timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 42px;
  right: -8px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 214, 0, 0.55), rgba(143, 199, 20, 0.15));
}

.talent-timeline span {
  position: relative;
  z-index: 1;
  width: fit-content;
  padding: 4px 0;
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  background: transparent;
}

.talent-timeline strong {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.talent-timeline p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.45;
}

.talent-bridge {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(36px, 4.5vw, 56px);
  padding: clamp(28px, 3.5vw, 40px) clamp(28px, 3.5vw, 44px);
  border-radius: 28px;
  background: linear-gradient(115deg, rgba(70, 112, 0, 0.55), rgba(143, 199, 20, 0.16));
  border: 1px solid rgba(143, 199, 20, 0.4);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.talent-bridge h3 {
  margin-bottom: 0;
}

.talent-bridge-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* El formulario necesita más ancho que el bloque de texto que acompaña, al contrario
   que el CTA de una sola línea que ocupaba este espacio antes. */
#postulacion {
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1fr);
  align-items: start;
}

.talent-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.22);
}

.talent-form small {
  color: #656565;
  font-size: 0.78rem;
  line-height: 1.5;
}

.talent-form small a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.talent-form input[type="file"] {
  padding: 11px 0;
  font-size: 0.85rem;
}

/* Página /trabaja-con-nosotros. Reutiliza el lienzo oscuro de .careers en el <main>
   para que todas las secciones compartan fondo sin repetir gradientes. */
.talent-hero {
  padding: clamp(148px, 15vw, 188px) 0 clamp(56px, 6vw, 84px);
}

.talent-hero .careers-copy {
  animation: hero-rise 0.9s var(--ease-out) both;
}

.talent-hero .careers-visual {
  animation: hero-rise 1s var(--ease-out) 0.18s both;
}

.talent-hero .careers-grid {
  padding-top: 0;
}

.talent-main h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 5.4vw, 5.4rem);
}

.talent-team-spotlight {
  padding: 0 0 clamp(58px, 7vw, 96px);
}

.talent-team-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: clamp(24px, 3vw, 42px);
  background: #071009;
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.48);
}

.talent-team-photo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 38%, rgba(2, 8, 4, 0.14) 58%, rgba(2, 8, 4, 0.92) 100%),
    linear-gradient(90deg, rgba(2, 8, 4, 0.45), transparent 52%);
  content: "";
  pointer-events: none;
}

.talent-team-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.talent-team-copy {
  position: absolute;
  right: clamp(24px, 4vw, 58px);
  bottom: clamp(24px, 4vw, 54px);
  left: clamp(24px, 4vw, 58px);
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 12px;
}

.talent-team-copy > p {
  color: var(--yellow);
  font-size: clamp(0.7rem, 1vw, 0.84rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.talent-team-copy h2 {
  max-width: 920px;
  color: var(--white);
  font-size: clamp(3rem, 7.2vw, 7.2rem);
  line-height: 0.9;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.62);
}

.talent-team-copy h2 em {
  color: var(--yellow);
}

.talent-team-copy .button {
  margin-top: 8px;
}

.talent-section {
  padding-top: clamp(64px, 7.5vw, 104px);
}

.talent-section-head {
  max-width: 640px;
  margin-bottom: clamp(34px, 4vw, 48px);
}

.talent-section-head h2 {
  font-size: clamp(2rem, 3.4vw, 3.1rem);
}

.talent-section-head > p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.95rem;
}

.talent-section .careers-cta {
  margin-top: 0;
}

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

.area-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid rgba(143, 199, 20, 0.28);
  border-radius: 22px;
  background: rgba(11, 11, 11, 0.34);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.area-card:hover,
.area-card:focus-within {
  border-color: var(--yellow);
  background: rgba(11, 11, 11, 0.52);
  transform: translateY(-4px);
}

.area-number {
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.area-card h3 {
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.area-card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.55;
}

.area-card .area-profiles {
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

.area-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.area-apply i,
.text-link i {
  font-style: normal;
  transition: transform 0.2s ease;
}

.area-card:hover .area-apply i {
  transform: translateX(4px);
}

/* WhatsApp es la vía de contacto más usada en esta categoría: siempre accesible, sin
   competir con el CTA de cotización. */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: #1eb44f;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  animation: float-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.8s both;
}

.whatsapp-float::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(30, 180, 79, 0.45);
  content: "";
  animation: wa-ring 2.4s ease-out infinite;
  pointer-events: none;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #17983f;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}

.whatsapp-float:hover::before,
.whatsapp-float:focus-visible::before {
  animation: none;
}

.whatsapp-float i {
  font-size: 1.3rem;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes wa-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 180, 79, 0.45);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(30, 180, 79, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(30, 180, 79, 0);
  }
}

body.nav-open .whatsapp-float {
  display: none;
}

@media (max-width: 1100px) {
  .talent-perks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .talent-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .talent-timeline li:nth-child(3)::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .talent-team-photo {
    aspect-ratio: auto;
  }

  .talent-team-photo::after {
    display: none;
  }

  .talent-team-photo img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .talent-team-copy {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    padding: 24px;
    background: linear-gradient(145deg, rgba(7, 16, 9, 0.98), rgba(14, 34, 17, 0.98));
  }

  .talent-team-copy h2 {
    font-size: clamp(2.6rem, 10vw, 4.6rem);
  }

  .talent-story {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .talent-story-media img {
    aspect-ratio: 16 / 11;
  }

  .talent-perks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 40px;
  }

  .talent-fit {
    grid-template-columns: 1fr;
  }

  .talent-fit-list {
    grid-template-columns: 1fr;
  }

  .talent-timeline {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .talent-timeline li:not(:last-child)::after {
    display: none;
  }

  .talent-timeline li {
    display: grid;
    grid-template-columns: 36px 1fr;
    column-gap: 14px;
    row-gap: 4px;
    padding-top: 0;
  }

  .talent-timeline span {
    grid-row: 1 / span 2;
    align-self: start;
    padding-top: 2px;
  }

  .talent-bridge {
    flex-direction: column;
    align-items: flex-start;
  }

  #postulacion {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .talent-perks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 54px;
    padding: 0 17px;
  }

  .whatsapp-float span {
    display: none;
  }
}
