/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: var(--dark);
  color: var(--white);
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out);
}

.nav.nav--light {
  background: var(--white);
  color: var(--dark);
}

.nav.nav--light .nav-logo { filter: invert(1); }
.nav.nav--light .nav-tagline { color: rgba(0,0,0,0.55); }
.nav.nav--light .nav-center { color: rgba(0,0,0,0.55); }
.nav.nav--light .nav-center-arrow { color: rgba(0,0,0,0.75); }
.nav.nav--light .nav-links a { color: rgba(0,0,0,0.8); }
.nav.nav--light .nav-links a:hover { color: var(--dark); }
.nav.nav--light .nav-burger span { background: var(--dark); }

.nav-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1;
}

.nav-logo {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-tagline {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav-center-arrow {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1;
  color: rgba(255,255,255,0.7);
  animation: navArrowNudge 1.6s var(--ease-out) infinite;
}

@keyframes navArrowNudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(5px); }
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

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

.nav-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}

.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE MENU ────────────────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.menu-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-nav-list a {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  display: inline-block;
  transition: opacity 0.2s;
}

.menu-nav-list a:hover { opacity: 0.5; }

.menu-bottom {
  margin-top: 48px;
  display: flex;
  gap: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ─── REVEAL UTILITY ─────────────────────────────────── */
.reveal-wrap {
  overflow: hidden;
  display: inline-block;
}

.reveal-inner {
  display: inline-block;
  transform: translateY(110%);
}

/* ─── SECTION LABEL ──────────────────────────────────── */
.s-label {
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.s-label::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text);
  flex-shrink: 0;
}

/* ─── HERO ───────────────────────────────────────────── */
.s-hero {
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: 100dvh;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Title + subcopy — centered wrapper */
.hero-center {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.55);
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
  mix-blend-mode: overlay;
  text-align: left;
  width: 100%;
}

.hero-heading em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  font-size: 1.45em;
  line-height: 1;
  letter-spacing: 0;
}

.hero-heading .reveal-wrap { display: block; }
.hero-heading .reveal-inner { display: block; }

.hero-line { white-space: nowrap; }
.hero-line--1 { padding-left: clamp(32px, 5vw, 80px); }
.hero-line--2 { text-align: center; padding-right: 12%; margin-top: 2px; }

.hero-subcopy {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  font-weight: 400;
  line-height: 1.45;
  color: rgba(255,255,255,0.78);
  text-align: center;
  max-width: 540px;
}

/* Services list — right side, staggered */
.hero-services {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-service {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--white);
}

.hs-1 { transform: translateX(0); }
.hs-2 { transform: translateX(32px); }
.hs-3 { transform: translateX(0); }
.hs-4 { transform: translateX(32px); }

.hs-num {
  font-family: var(--font-script);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  font-style: italic;
  color: rgba(255,255,255,0.65);
  line-height: 1;
}

.hs-name {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  letter-spacing: -0.01em;
  color: var(--white);
}

/* Bottom-left — star desc + copyright */
.hero-bottom-left {
  position: absolute;
  bottom: clamp(32px, 5vh, 56px);
  left: var(--gutter);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
}

.hero-desc {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
}

.hero-desc-text {
  display: block;
}

.hero-star {
  font-size: 0.7rem;
  margin-top: 3px;
  flex-shrink: 0;
  color: rgba(255,255,255,0.5);
}

.hero-copy {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.35);
}

/* Bottom-center — subcopy + CTAs */
.hero-bottom-center {
  position: absolute;
  bottom: clamp(72px, 9vh, 100px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.2s var(--ease-out);
}

.hero-cta:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-cta span,
.hero-cta-ghost span { transition: transform 0.2s var(--ease-out); }
.hero-cta:hover span,
.hero-cta-ghost:hover span { transform: translateX(4px); }

.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 8px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease-out);
}

.hero-cta-ghost:hover {
  border-bottom-color: rgba(255,255,255,0.6);
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  bottom: clamp(24px, 3vh, 36px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.45);
  font-size: 1.1rem;
  line-height: 1;
  animation: scrollBounce 1.8s var(--ease-out) infinite;
  transition: color 0.25s var(--ease-out);
}

.hero-scroll-cue:hover { color: rgba(255,255,255,0.85); }

.hero-scroll-arrow {
  display: block;
  font-family: var(--font-sans);
  font-weight: 300;
}

@keyframes scrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 7px); }
}

/* ─── INSIDE THE STUDIO ──────────────────────────────── */
.s-studio {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: var(--section-pad) var(--gutter);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--border);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

.studio-label { grid-column: 1; align-self: start; padding-top: 4px; }

.studio-text {
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}

.studio-char {
  display: inline-block;
  white-space: pre;
  will-change: opacity, filter, transform;
}

@media (max-width: 768px) {
  .studio-text { white-space: normal; }
}

.studio-text .reveal-wrap {
  display: inline-block;
  white-space: nowrap;
}

.studio-text em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.4em;
  line-height: 1;
}

/* Decorative square — left column */
.studio-decor {
  grid-column: 1;
  display: flex;
  justify-content: center;
}

.studio-decor .reveal-wrap,
.studio-decor .reveal-inner {
  display: inline-block;
}

.studio-decor .reveal-wrap {
  overflow: visible;
}

.studio-square {
  display: block;
  width: clamp(320px, 40vw, 600px);
  aspect-ratio: 4 / 3;
  background: var(--text);
  border-radius: 28px;
  object-fit: cover;
}

.studio-sub {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.studio-body .reveal-wrap,
.studio-body .reveal-inner {
  display: block;
}

.studio-body .reveal-wrap {
  overflow: visible;
}

.studio-cta-wrap,
.studio-cta-wrap .reveal-inner {
  display: inline-block;
}

.studio-cta-wrap {
  overflow: visible;
}

.studio-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
  text-align: left;
  text-wrap: balance;
}

.studio-body strong {
  font-weight: 700;
  color: #000;
}

.studio-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  border: 1px solid var(--dark);
  width: fit-content;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.2s var(--ease-out), border-color 0.25s var(--ease-out);
}

.studio-cta:hover {
  background: var(--white);
  color: var(--dark);
  border-color: rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.studio-cta span { transition: transform 0.2s var(--ease-out); }
.studio-cta:hover span { transform: translateX(4px); }

/* ─── LO QUE CREAMOS — SERVICIOS INTERACTIVOS ────────── */
.s-creamos {
  position: relative;
  z-index: 2;
  background: var(--dark);
  color: var(--white);
  padding: var(--section-pad) var(--gutter);
  overflow: hidden;
}

.creamos-beams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(40px);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
  transform: translateZ(0);
  will-change: opacity;
}

.creamos-beams-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(13,13,13,0) 0%, rgba(13,13,13,0.55) 80%),
    rgba(13, 13, 13, 0.25);
  pointer-events: none;
  z-index: 1;
  animation: creamosBeamsPulse 10s ease-in-out infinite;
}

@keyframes creamosBeamsPulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

.s-creamos > *:not(.creamos-beams):not(.creamos-beams-overlay) {
  position: relative;
  z-index: 2;
}

.creamos-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 80px;
  display: block;
  color: var(--dark);
  pointer-events: none;
  z-index: 2;
}

.creamos-wave--top { top: -79px; }
.creamos-wave--bottom { bottom: -79px; }

.s-creamos .s-label { color: rgba(255,255,255,0.55); }
.s-creamos .s-label::before { background: var(--white); }

.creamos-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
}

.creamos-label { align-self: start; }

.creamos-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.creamos-heading em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  font-size: 1.4em;
  line-height: 1;
}

.creamos-heading-line {
  display: block;
}

.creamos-heading-line--1 {
  transform: translateX(-26%);
}

.creamos-body {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(0, 1.4fr);
  gap: 64px;
  align-items: start;
}

/* List left side */
.creamos-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.creamos-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 22px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: left;
  cursor: pointer;
  transition: opacity 0.25s var(--ease-out);
  background: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  width: 100%;
  font: inherit;
}

.creamos-item:first-child { border-top: 1px solid rgba(255,255,255,0.1); }

.creamos-num {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.4);
  line-height: 1;
}

.creamos-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: -0.01em;
  transition: color 0.25s var(--ease-out);
}

.creamos-chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.creamos-item.is-active .creamos-name { color: var(--white); }
.creamos-item.is-active .creamos-chev {
  opacity: 1;
  transform: translateX(0);
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.creamos-item:hover .creamos-name { color: var(--white); }

.creamos-cta {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  border: 1px solid var(--white);
  width: fit-content;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.2s var(--ease-out), border-color 0.25s var(--ease-out);
}

.creamos-cta:hover {
  background: var(--dark);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.creamos-cta span { transition: transform 0.2s var(--ease-out); }
.creamos-cta:hover span { transform: translateX(4px); }

/* Panels right side */
.creamos-panels {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 24px;
}

.creamos-panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background:
    linear-gradient(0deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.18) 35%, rgba(0,0,0,0.06) 65%, rgba(0,0,0,0) 90%),
    var(--white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  pointer-events: none;
  transform: translateX(110%);
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease-out;
  will-change: transform, opacity;
}

.creamos-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  transition-delay: 0.55s;
}

.creamos-panel-info {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.creamos-icon {
  width: 36px;
  height: 36px;
  color: var(--text);
}

.creamos-icon svg { width: 100%; height: 100%; }

.creamos-desc {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.creamos-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.creamos-features li {
  position: relative;
  padding-left: 16px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
}

.creamos-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text);
}

.creamos-time {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--muted);
}

.creamos-panel-visual {
  position: relative;
  background: var(--bg);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  overflow: hidden;
}

.creamos-panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.creamos-visual-tag {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: 100px;
}

@media (max-width: 768px) {
  .creamos-body { grid-template-columns: 1fr; gap: 32px; }
  .creamos-panel { grid-template-columns: 1fr; }
  .creamos-panel-visual { border-left: none; border-top: 1px solid var(--border); min-height: 180px; }
}

/* ─── SPLIT STICKY SECTION ───────────────────────────── */
.s-split {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.split-label {
  padding: 40px var(--gutter) 0;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 480px 1fr;
  gap: 0;
  min-height: 100vh;
}

.split-side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  overflow: hidden;
}

.split-left { align-items: flex-start; }
.split-right { align-items: flex-end; text-align: right; }

.split-big {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  display: block;
  will-change: transform;
}

.split-script {
  font-family: var(--font-script);
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  display: block;
  will-change: transform;
}

.split-center {
  padding: 100px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── SERVICE / PROCESS CARD ─────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid var(--border);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.card-dots {
  display: flex;
  gap: 4px;
  color: rgba(0,0,0,0.25);
  font-size: 1.1rem;
}

.card-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 64px;
  height: 64px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-body {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ─── CLAVE DEL ÉXITO ────────────────────────────────── */
.s-exito {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: var(--section-pad) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: hidden;
  min-height: 100vh;
}

.exito-top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  gap: 80px;
  align-items: end;
}

.exito-label { align-self: start; }

.exito-text {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  transform-origin: center center;
  will-change: filter, transform, opacity;
}

.exito-text em {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  font-size: 1.4em;
  line-height: 1;
}

.exito-heading-line {
  display: block;
  white-space: nowrap;
}

.exito-heading-line--1 {
  transform: translateX(-32%);
}

.exito-heading-line--1 em {
  margin-right: 0.12em;
}

.exito-heading-line--2 {
  transform: translateX(-2%);
}

.exito-char {
  display: inline-block;
  white-space: pre;
  will-change: opacity, filter, transform;
}

.exito-cards {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  min-height: 65vh;
}

.exito-cards .service-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 48px;
  gap: 48px;
  border-radius: 24px;
  min-height: 420px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.03) 35%, rgba(255,255,255,0) 70%),
    var(--dark);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  will-change: transform;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: stretch;
}

.exito-cards .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  min-width: 0;
}

.exito-cards .card-header {
  gap: 16px;
  align-items: flex-start;
}

.exito-cards .card-dots {
  white-space: nowrap;
  flex-shrink: 0;
}

.exito-cards .card-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  min-height: 320px;
}

.exito-cards .card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exito-cards .card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}
.exito-cards .card-body { color: rgba(255,255,255,0.72); }
.exito-cards .card-icon { color: var(--white); }
.exito-cards .card-dots {
  color: #fde68a;
  text-shadow:
    0 0 4px #fde047,
    0 0 10px #facc15,
    0 0 22px #f59e0b,
    0 0 40px rgba(245, 158, 11, 0.7);
}

.exito-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .exito-text { font-size: clamp(1.4rem, 5vw, 2rem); }
  .exito-heading-line { white-space: normal; }
  .exito-heading-line--1 { transform: none; }
  .exito-top { grid-template-columns: 1fr; gap: 24px; }
  .exito-cards { grid-template-columns: 1fr; }
  .exito-cta-wrap { margin-top: 32px; }
  .exito-cards .service-card {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 24px;
  }
  .exito-cards .card-media { min-height: 220px; }
}

/* ─── NUESTROS TRABAJOS ──────────────────────────────── */
.s-trabajos {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: var(--section-pad) 0;
}

.trabajos-header {
  padding: 0 var(--gutter) 60px;
}

.trabajos-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.trabajos-title em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.05em;
}

.trabajos-grid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 var(--gutter);
}

.trabajo-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/7;
  cursor: pointer;
}

.trabajo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.trabajo-item:hover img { transform: scale(1.03); }

.trabajo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 40px;
}

.trabajo-info {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  width: 100%;
  gap: 24px;
}

.trabajo-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trabajo-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.trabajo-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.trabajo-tags {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.trabajo-year,
.trabajo-sector {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.trabajo-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 10px 20px;
  transition: background 0.3s, border-color 0.3s, gap 0.3s var(--ease-out);
}

.trabajo-link:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  gap: 14px;
}

/* ─── TALENTO CON PROPÓSITO ──────────────────────────── */
.s-talento {
  position: relative;
  z-index: 1;
  background: var(--dark);
  color: var(--white);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--section-pad) var(--gutter);
  overflow: hidden;
}

.talento-label { color: rgba(255,255,255,0.5); }
.talento-label::before { background: var(--white); }
.s-contacto .s-label { color: rgba(255,255,255,0.5); }
.s-contacto .s-label::before { background: var(--white); }

.talento-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.18;
  object-position: center top;
}

.talento-content { position: relative; }

.talento-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 24px 0 48px;
}

.talento-heading em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 0.95em;
}

.talento-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}

.talento-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 400px;
  margin-bottom: 32px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 18px 36px;
  font-size: 0.85rem;
  color: var(--white);
  transition: background 0.3s, gap 0.3s var(--ease-out);
}

.btn-pill:hover { background: rgba(255,255,255,0.1); gap: 18px; }

.talento-team {
  display: flex;
  gap: 16px;
  align-items: flex-end;
}

.team-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  width: 220px;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  filter: grayscale(0.2);
}

.team-info {
  padding: 16px;
}

.team-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2px;
}

.team-role {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}

/* ─── CTA / CONTACTO ─────────────────────────────────── */
.s-contacto {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-pad) var(--gutter);
  overflow: hidden;
}

.contacto-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(0,0,0,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(30,30,30,0.8) 0%, transparent 60%);
}

.contacto-label { color: rgba(255,255,255,0.4); position: relative; }
.contacto-label::before { color: rgba(255,255,255,0.4); }

.contacto-heading {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 24px 0 60px;
  position: relative;
}

.contacto-heading em {
  font-family: var(--font-script);
  font-style: normal;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
}

.contact-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

.form-label {
  font-size: 0.78rem;
  color: var(--muted);
}

.form-label span { color: #e44; }

.form-input,
.form-textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
}

.form-input:focus,
.form-textarea:focus { border-color: var(--text); }

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(0,0,0,0.3); }

.form-textarea { resize: none; height: 120px; }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--dark);
  color: var(--white);
  border-radius: 100px;
  padding: 16px 32px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: opacity 0.2s, gap 0.3s var(--ease-out);
}

.btn-submit:hover { opacity: 0.85; gap: 16px; }

.contacto-info {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 8px;
}

.contacto-info-title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.contacto-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacto-bullet {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.contacto-bullet::before {
  content: '•';
  color: rgba(255,255,255,0.3);
}

.contacto-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 12px;
  transition: color 0.2s;
}

.social-link:hover { color: var(--white); }

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 32px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-tagline { display: none; }
  .nav-center { display: none; }

  .hero-bottom-center {
    flex-direction: column;
    gap: 14px;
    width: calc(100% - 48px);
  }

  .hero-cta,
  .hero-cta-ghost {
    width: 100%;
    justify-content: center;
  }

  .s-studio {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .studio-label { grid-column: 1; }
  .studio-text .reveal-wrap { white-space: normal; }

  .exito-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .split-layout {
    grid-template-columns: 1fr;
  }

  .split-side { display: none; }

  .split-center { padding: 60px 24px; }

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

  .talento-bottom { grid-template-columns: 1fr; }

  .talento-team { display: none; }

  .trabajo-info { grid-template-columns: 1fr auto; }
  .trabajo-tags { display: none; }

  .footer { flex-direction: column; gap: 16px; text-align: center; }
}
