/* ============================================================
   Fusion Theme — estilos principales
   Secciones apiladas · scroll vertical de documento
   ============================================================ */

:root {
  --ft-black: #000000;
  --ft-white: #ffffff;
  --ft-muted: #b0b0b0;
  --ft-line: rgba(255, 255, 255, 0.18);
  --ft-red: #ff2d55;
  --ft-pink: #ff4d6d;
  --ft-orange: #ff8a3d;
  --ft-grad: linear-gradient(90deg, #ff2d55 0%, #ff6b4a 55%, #ff8a3d 100%);
  --ft-glow: radial-gradient(ellipse 70% 45% at 50% 100%, rgba(255, 45, 85, 0.45) 0%, rgba(255, 45, 85, 0.12) 40%, transparent 70%);
  --ft-font: "PP Neue Montreal", "Helvetica Neue", Arial, sans-serif;
  --ft-header-h: 72px;
  --ft-pad: clamp(20px, 4vw, 64px);
  --ft-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: #ff2d55 #0a0a0a;
}

html::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
html::-webkit-scrollbar-track {
  background: #0a0a0a;
}
html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff2d55 0%, #ff6b4a 55%, #ff8a3d 100%);
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff4d6d 0%, #ff8a3d 100%);
}

body {
  font-family: var(--ft-font);
  background: var(--ft-black);
  color: var(--ft-white);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* snap-mode eliminado: scroll vertical de documento */

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  color: inherit;
  text-decoration: none;
}
img, video { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; color: inherit; }

/* —— Accent helpers —— */
.ft-chevron { font-weight: 700; }
.ft-chevron--accent { color: var(--ft-red); }
.ft-chevron--img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 0;
}
.ft-chevron--img img {
  height: 0.85em;
  width: auto;
  display: block;
  object-fit: contain;
}
.ft-logo-mark--img {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.ft-logo-mark--img img {
  height: 0.9em;
  width: auto;
  display: block;
  object-fit: contain;
}
.ft-logo--hero .ft-logo-mark--img img {
  height: 0.92em;
}
.ft-logo--sm .ft-logo-mark--img img {
  height: 0.88em;
}
.ft-grad-text {
  background: var(--ft-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ft-grad-text--nosotros {
  padding-left: 2em;
}

/* —— Header —— */
.ft-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--ft-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--ft-pad);
  pointer-events: none;
  background: transparent;
  transition:
    background 0.45s ease,
    backdrop-filter 0.45s ease,
    -webkit-backdrop-filter 0.45s ease,
    box-shadow 0.45s ease;
}

/* Al bajar (fuera del home): fondo negro semitransparente */
body:not(.ft-on-work) .ft-header {
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Sobre zona blanca: mismo velo oscuro para legibilidad del logo/nav */
body.ft-on-light .ft-header {
  background: rgba(0, 0, 0, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.ft-header > * { pointer-events: auto; }

/* HOME desktop: nav centrado, logo se desvanece suavemente */
@media (min-width: 701px) {
  .ft-header {
    display: block;
  }

  .ft-logo--header {
    position: absolute;
    left: var(--ft-pad);
    top: 50%;
    display: inline-flex;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(-14px, -50%, 0);
    transition:
      opacity 0.85s var(--ft-ease),
      transform 0.9s var(--ft-ease),
      visibility 0.85s;
    pointer-events: none;
    z-index: 2;
  }

  body:not(.ft-on-work) .ft-logo--header {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, -50%, 0);
    pointer-events: auto;
  }

  body.ft-on-work .ft-logo--header {
    display: inline-flex;
  }

  body.ft-on-work .ft-nav-toggle {
    display: none;
  }

  .ft-nav {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate3d(50%, -50%, 0);
    transition:
      right 0.9s var(--ft-ease),
      transform 0.9s var(--ft-ease),
      gap 0.75s ease;
    z-index: 1;
  }

  body:not(.ft-on-work) .ft-nav {
    right: var(--ft-pad);
    transform: translate3d(0, -50%, 0);
  }

  body:not(.ft-on-work) .ft-logo--header .ft-logo-mark {
    color: var(--ft-white);
  }

  /* Header oscuro sobre zona blanca: logo/nav en claro sobre el velo negro */
  body.ft-on-light .ft-logo--header,
  body.ft-on-light .ft-logo--header .ft-logo-text,
  body.ft-on-light .ft-logo--header .ft-logo-mark {
    color: #fff;
  }

  body.ft-on-light .ft-nav-link,
  body.ft-on-light .ft-nav-link:visited,
  body.ft-on-light .ft-nav-link:active,
  body.ft-on-light .ft-nav-link:focus {
    color: rgba(255, 255, 255, 0.85);
  }

  body.ft-on-light .ft-nav-link:hover,
  body.ft-on-light .ft-nav-link.is-active {
    color: #ff2d55;
  }

  body.ft-on-light .ft-nav-link.is-active::after {
    background: var(--ft-grad);
  }
}

.ft-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ft-white);
}

.ft-logo:visited,
.ft-logo:hover,
.ft-logo:active,
.ft-logo:focus {
  color: var(--ft-white);
}

.ft-logo-mark { color: var(--ft-white); font-style: italic; }
.ft-logo--header .ft-logo-mark { color: var(--ft-white); }
.ft-logo--header .ft-logo-text,
.ft-logo--sm .ft-logo-text,
.ft-logo--hero .ft-logo-text {
  color: var(--ft-white);
}
.ft-logo--hero {
  font-size: clamp(56px, 12vw, 120px);
  color: var(--ft-white);
}
.ft-logo--hero .ft-logo-mark { color: var(--ft-white); }
.ft-logo--sm { font-size: 18px; font-style: italic; color: var(--ft-white); }
.ft-logo--img img { max-height: 50px; width: auto; }
.ft-logo--hero.ft-logo--img img { max-height: 160px; }

.ft-nav {
  display: flex;
  gap: clamp(18px, 2.5vw, 36px);
  transition: gap 0.75s ease;
}

.ft-nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ft-white);
  opacity: 0.7;
  position: relative;
  padding: 6px 0;
  transition: opacity 0.25s, color 0.3s;
}

.ft-nav-link:visited,
.ft-nav-link:active,
.ft-nav-link:focus {
  color: var(--ft-white);
}

.ft-nav-link:hover,
.ft-nav-link.is-active {
  opacity: 1;
  color: #ff2d55;
}

.ft-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ft-grad);
  border-radius: 1px;
}

.ft-nav-toggle {
  display: none;
  width: 58px;
  height: 58px;
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  position: relative;
  z-index: 230;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.ft-nav-toggle span {
  position: absolute;
  height: 3px;
  background: var(--ft-white);
  border-radius: 2px;
  transform-origin: center;
  transition:
    top 0.4s var(--ft-ease),
    left 0.4s var(--ft-ease),
    right 0.4s var(--ft-ease),
    width 0.4s var(--ft-ease),
    transform 0.4s var(--ft-ease),
    opacity 0.25s ease,
    background 0.35s ease;
  pointer-events: none;
}
/* 3 líneas: la del medio más saliente */
.ft-nav-toggle span:nth-child(1) {
  top: 17px;
  left: 10px;
  width: 28px;
}
.ft-nav-toggle span:nth-child(2) {
  top: 27px;
  left: 10px;
  width: 40px;
}
.ft-nav-toggle span:nth-child(3) {
  top: 37px;
  left: 10px;
  width: 22px;
}

/* Hamburguesa → X (mismo tamaño del botón) */
.ft-nav-toggle.is-open span,
body.ft-menu-open .ft-nav-toggle span {
  background: var(--ft-grad);
}
.ft-nav-toggle.is-open span:nth-child(1),
body.ft-menu-open .ft-nav-toggle span:nth-child(1) {
  top: 27px;
  left: 12px;
  width: 34px;
  transform: rotate(45deg);
}
.ft-nav-toggle.is-open span:nth-child(2),
body.ft-menu-open .ft-nav-toggle span:nth-child(2) {
  top: 27px;
  left: 12px;
  width: 34px;
  opacity: 0;
  transform: scaleX(0);
}
.ft-nav-toggle.is-open span:nth-child(3),
body.ft-menu-open .ft-nav-toggle span:nth-child(3) {
  top: 27px;
  left: 12px;
  width: 34px;
  transform: rotate(-45deg);
}

.ft-overlay-nav {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: circle(0% at 36px 40px);
  transition:
    clip-path 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease,
    visibility 0.18s;
}

.ft-overlay-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: circle(200vmax at 36px 40px);
}

.ft-overlay-nav.is-ready {
  clip-path: none;
}

body.ft-menu-open .ft-header {
  z-index: 230;
  pointer-events: none;
}
body.ft-menu-open .ft-nav-toggle {
  pointer-events: auto;
}

.ft-overlay-nav-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.ft-overlay-nav.is-loading .ft-overlay-nav-loader {
  opacity: 1;
  visibility: visible;
}

.ft-overlay-nav .ft-loader-ring {
  position: absolute;
  top: 40px;
  left: 36px;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #ff2d55;
  border-right-color: #ff8a3d;
  transform: translate(-50%, -50%);
  animation: ft-reveal-ring-fast 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ft-reveal-ring-fast {
  0% {
    width: 24px;
    height: 24px;
    opacity: 1;
    border-width: 3px;
  }
  100% {
    width: 220vmax;
    height: 220vmax;
    opacity: 0;
    border-width: 2px;
  }
}

.ft-overlay-nav-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(22px, 5vh, 36px);
  text-align: center;
  padding: 80px 28px 48px;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.2s ease 0.05s, transform 0.25s var(--ft-ease) 0.04s;
}

.ft-overlay-nav.is-ready .ft-overlay-nav-inner {
  opacity: 1;
  transform: none;
}

.ft-overlay-link {
  font-size: clamp(28px, 8vw, 44px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ft-white);
  position: relative;
  transition: color 0.25s, transform 0.25s var(--ft-ease);
}
.ft-overlay-link:visited,
.ft-overlay-link:active {
  color: var(--ft-white);
}
.ft-overlay-link:hover,
.ft-overlay-link.is-active {
  color: var(--ft-white);
  background: var(--ft-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: scale(1.04);
}

/* —— Página vertical: secciones apiladas —— */
.ft-page {
  display: block;
  width: 100%;
}

.ft-panel {
  position: relative;
  width: 100%;
  min-height: auto;
  overflow: visible;
  background: var(--ft-black);
  scroll-margin-top: 0;
}

.ft-panel--work {
  position: sticky;
  top: 0;
  z-index: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #000 !important;
}

.ft-panel--hacemos,
.ft-panel--nosotros {
  position: relative;
  z-index: 1;
  background: #000;
}

.ft-panel--contacto {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
}

.ft-work-inner,
.ft-hacemos-inner,
.ft-nosotros-inner,
.ft-contacto-inner {
  opacity: 1;
  transform: none;
  filter: none;
}

/* —— Reveal al entrar en sección —— */
#work .ft-work-inner > *,
.ft-nosotros-light > *,
.ft-brands > .ft-brands-title,
#contacto .ft-contacto-inner > * {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(0);
  transition:
    opacity 0.75s var(--ft-ease),
    transform 0.85s var(--ft-ease),
    filter 0.65s ease;
  will-change: opacity, transform, filter;
}

/* Marcas: la grilla siempre visible para que las imágenes carguen */
.ft-brands-grid,
.ft-brands-grid .ft-brand-cell,
.ft-brands-grid .ft-brand-img {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

#work.is-inview .ft-work-inner > *,
.ft-nosotros-light.is-inview > *,
.ft-brands.is-inview > .ft-brands-title,
#contacto.is-inview .ft-contacto-inner > * {
  opacity: 1;
  transform: none;
}

#work.is-inview .ft-work-inner > *:nth-child(1),
.ft-nosotros-light.is-inview > *:nth-child(1),
.ft-brands.is-inview > .ft-brands-title,
#contacto.is-inview .ft-contacto-inner > *:nth-child(1) { transition-delay: 0.04s; }

#work.is-inview .ft-work-inner > *:nth-child(2),
.ft-nosotros-light.is-inview > *:nth-child(2),
#contacto.is-inview .ft-contacto-inner > *:nth-child(2) { transition-delay: 0.12s; }

#work.is-inview .ft-work-inner > *:nth-child(3),
.ft-nosotros-light.is-inview > *:nth-child(3),
#contacto.is-inview .ft-contacto-inner > *:nth-child(3) { transition-delay: 0.2s; }

#work.is-inview .ft-work-inner > *:nth-child(4),
.ft-nosotros-light.is-inview > *:nth-child(4),
#contacto.is-inview .ft-contacto-inner > *:nth-child(4) { transition-delay: 0.28s; }

#work.is-inview .ft-work-inner > *:nth-child(5),
.ft-nosotros-light.is-inview > *:nth-child(5),
#contacto.is-inview .ft-contacto-inner > *:nth-child(5) { transition-delay: 0.36s; }

#work.is-inview .ft-work-inner > *:nth-child(n + 6),
.ft-nosotros-light.is-inview > *:nth-child(n + 6),
#contacto.is-inview .ft-contacto-inner > *:nth-child(n + 6) { transition-delay: 0.42s; }

/* Qué hacemos: entrada más marcada (título + pilares) */
#hacemos .ft-hacemos-title-pre,
#hacemos .ft-hacemos-title-accent,
#hacemos .ft-hacemos-intro,
#hacemos .ft-pillar {
  opacity: 0;
  transition:
    opacity 0.85s var(--ft-ease),
    transform 0.95s var(--ft-ease),
    filter 0.7s ease;
  will-change: opacity, transform, filter;
}

#hacemos .ft-hacemos-title-pre {
  transform: translateY(28px) translateX(-18px);
  filter: blur(8px);
  display: inline-block;
}

#hacemos .ft-hacemos-title-accent {
  transform: translateY(28px) translateX(18px);
  filter: blur(8px);
  display: inline-block;
}

#hacemos .ft-hacemos-intro {
  transform: translateY(32px);
  filter: blur(4px);
}

#hacemos .ft-pillar {
  transform: translateY(56px) scale(0.94);
  filter: blur(4px);
}

#hacemos.is-inview .ft-hacemos-title-pre,
#hacemos.is-inview .ft-hacemos-title-accent,
#hacemos.is-inview .ft-hacemos-intro,
#hacemos.is-inview .ft-pillar {
  opacity: 1;
  transform: none;
  filter: none;
}

#hacemos.is-inview .ft-hacemos-title-pre { transition-delay: 0.08s; }
#hacemos.is-inview .ft-hacemos-title-accent { transition-delay: 0.22s; }
#hacemos.is-inview .ft-hacemos-intro { transition-delay: 0.36s; }
#hacemos.is-inview .ft-pillar:nth-child(1) { transition-delay: 0.2s; }
#hacemos.is-inview .ft-pillar:nth-child(2) { transition-delay: 0.36s; }
#hacemos.is-inview .ft-pillar:nth-child(3) { transition-delay: 0.52s; }

/* —— Salida (no hero): se desvanece / sube o baja, distinto al cortina —— */
#hacemos.is-out-up .ft-hacemos-title-pre,
#hacemos.is-out-up .ft-hacemos-title-accent,
#hacemos.is-out-up .ft-hacemos-intro,
#hacemos.is-out-up .ft-pillar,
.ft-nosotros-light.is-out-up > *,
.ft-brands.is-out-up > .ft-brands-title,
#contacto.is-out-up .ft-contacto-inner > * {
  opacity: 0;
  transform: translateY(-52px) scale(0.96);
  filter: blur(5px);
  transition-delay: 0s !important;
}

#hacemos.is-out-down .ft-hacemos-title-pre,
#hacemos.is-out-down .ft-hacemos-title-accent,
#hacemos.is-out-down .ft-hacemos-intro,
#hacemos.is-out-down .ft-pillar,
.ft-nosotros-light.is-out-down > *,
.ft-brands.is-out-down > .ft-brands-title,
#contacto.is-out-down .ft-contacto-inner > * {
  opacity: 0;
  transform: translateY(52px) scale(0.96);
  filter: blur(5px);
  transition-delay: 0s !important;
}

#hacemos.is-out-up .ft-pillar:nth-child(1),
#hacemos.is-out-down .ft-pillar:nth-child(1) { transition-delay: 0s !important; }
#hacemos.is-out-up .ft-pillar:nth-child(2),
#hacemos.is-out-down .ft-pillar:nth-child(2) { transition-delay: 0.06s !important; }
#hacemos.is-out-up .ft-pillar:nth-child(3),
#hacemos.is-out-down .ft-pillar:nth-child(3) { transition-delay: 0.12s !important; }

.ft-nosotros-light.is-out-up > *:nth-child(1),
.ft-nosotros-light.is-out-down > *:nth-child(1),
#contacto.is-out-up .ft-contacto-inner > *:nth-child(1),
#contacto.is-out-down .ft-contacto-inner > *:nth-child(1) { transition-delay: 0s !important; }

.ft-nosotros-light.is-out-up > *:nth-child(2),
.ft-nosotros-light.is-out-down > *:nth-child(2),
#contacto.is-out-up .ft-contacto-inner > *:nth-child(2),
#contacto.is-out-down .ft-contacto-inner > *:nth-child(2) { transition-delay: 0.05s !important; }

.ft-nosotros-light.is-out-up > *:nth-child(3),
.ft-nosotros-light.is-out-down > *:nth-child(3),
#contacto.is-out-up .ft-contacto-inner > *:nth-child(3),
#contacto.is-out-down .ft-contacto-inner > *:nth-child(3) { transition-delay: 0.1s !important; }

@media (prefers-reduced-motion: reduce) {
  #work .ft-work-inner > *,
  #hacemos .ft-hacemos-title-pre,
  #hacemos .ft-hacemos-title-accent,
  #hacemos .ft-hacemos-intro,
  #hacemos .ft-pillar,
  .ft-nosotros-light > *,
  .ft-brands > .ft-brands-title,
  #contacto .ft-contacto-inner > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Indicadores ocultos */
.ft-dots { display: none !important; }
.ft-hacemos-scroll,
.ft-nosotros-scroll {
  display: none !important;
}

/* ===================== PANEL 1: HOME ===================== */
.ft-panel--work {
  background: #000;
}

.ft-work-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--ft-pad);
  gap: 0;
  box-sizing: border-box;
  will-change: transform, opacity;
}

.ft-work-brand {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.ft-panel--work .ft-logo--hero {
  font-size: clamp(68px, 13.5vw, 132px);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.035em;
  color: var(--ft-white);
  line-height: 0.92;
}

.ft-panel--work .ft-logo--hero .ft-logo-mark,
.ft-panel--work .ft-logo--hero .ft-logo-text {
  color: var(--ft-white);
}

.ft-panel--work .ft-logo--hero .ft-logo-mark {
  margin-right: 0.02em;
}

.ft-work-tagline {
  margin-top: clamp(18px, 2.8vh, 28px);
  font-size: clamp(10px, 1.5vw, 25px);
  font-weight: 400;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ft-white);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2em;
}

.ft-work-tagline-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}

.ft-work-tagline-lead {
  display: none;
}

.ft-work-tagline-trail {
  display: inline-flex;
  align-items: center;
}

.ft-work-tagline .ft-chevron {
  letter-spacing: 0;
  font-size: 1.05em;
  font-weight: 700;
  color: #ff1e3c;
}

.ft-work-copy {
  margin-top: clamp(16px, 2.4vh, 22px);
  max-width: 620px;
  font-size: clamp(12px, 1.3vw, 20px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.ft-work-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(28px, 4.5vh, 40px);
}

.ft-panel--work .ft-btn {
  padding: 12px 40px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.14em;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: transparent;
  color: var(--ft-white);
}

.ft-panel--work .ft-btn .ft-chevron {
  color: #ff1e3c;
  font-weight: 700;
  margin-left: 2px;
}

.ft-panel--work .ft-btn:hover {
  background: transparent;
  color: var(--ft-white);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(255, 45, 85, 0.35);
}

body.ft-on-work .ft-nav {
  gap: clamp(28px, 7vw, 120px);
}

body.ft-on-work .ft-nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0.75;
  color: var(--ft-white);
}

body.ft-on-work .ft-nav-link:hover,
body.ft-on-work .ft-nav-link.is-active {
  opacity: 1;
  color: #ff2d55;
}

body.ft-on-work .ft-nav-link.is-active::after {
  height: 2px;
  bottom: -2px;
  background: var(--ft-grad);
}

.ft-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.75);
  background: transparent;
  color: var(--ft-white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ft-ease), box-shadow 0.3s;
}
.ft-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ft-grad);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ft-ease), opacity 0.35s;
}
.ft-btn:visited,
.ft-btn:active,
.ft-btn:focus {
  color: var(--ft-white);
}
.ft-btn:hover {
  color: var(--ft-white);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 45, 85, 0.28);
}
.ft-btn:hover::before {
  opacity: 1;
  transform: scaleX(1);
}
.ft-btn .ft-chevron {
  transition: transform 0.3s var(--ft-ease);
}
.ft-btn:hover .ft-chevron {
  transform: translateX(4px);
}
.ft-btn--sm {
  padding: 10px 30px;
  font-size: 13px;
  color: #999999;
  border-color: #999999;
}
.ft-btn--sm:hover {
  color: #fff;
  border-color: transparent;
}

/* ===================== PANEL 2: QUÉ HACEMOS ===================== */
.ft-panel--hacemos {
  background: #000;
}

.ft-hacemos-inner {
  position: relative;
  z-index: 2;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-sizing: border-box;
  /* Inset amplio: los recuadros NUNCA pegan al borde */
  padding:
    calc(var(--ft-header-h) + clamp(16px, 2.5vh, 28px))
    clamp(64px, 11vw, 160px)
    clamp(36px, 6vh, 72px);
  gap: clamp(16px, 2.5vh, 24px);
}

.ft-hacemos-head {
  text-align: center;
  max-width: none;
  width: 100%;
  margin: 0 auto;
  flex-shrink: 0;
}

.ft-hacemos-title {
  margin: 0;
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.04em;
  white-space: nowrap;
  font-size: clamp(14px, 2.5vw, 40px);
}

.ft-hacemos-title-pre {
  display: inline;
  color: #fff;
  font-weight: 300;
  letter-spacing: 0.12em;
}

.ft-hacemos-title-accent {
  display: inline;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ft-hacemos-intro {
  margin: 10px auto 0;
  max-width: none;
  width: 100%;
  font-size: clamp(11px, 1.25vw, 18px);
  font-weight: 300;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

/*
 * Marco único de 3 columnas, centrado, con aire a los lados.
 * Números 01/02/03 sentados EN la línea superior (la cortan).
 */
.ft-pillars {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  margin: 12px auto 0;
  min-height: 0;
  border: 1px solid #292929;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}

.ft-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid #292929;
  overflow: visible; /* el número debe salir de la línea superior */
  box-sizing: border-box;
}

.ft-pillar:last-child {
  border-right: none;
}

/* Badge del número: cortando la línea superior del marco */
/* Badge del número — layout del usuario; solo color en degradado */
.ft-pillar-num {
  position: absolute;
  top: 20px;
  left: 0px;
  transform: translateY(-50%);
  z-index: -1;
  background: #000;
  border-bottom: 1px solid #292929;
  border-right: 1px solid #292929;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  padding: 10px 20px;
  min-width: 26px;
  text-align: center;
  box-sizing: border-box;
  pointer-events: none;
  display: none;
}

.ft-pillar-num-text {
  background: var(--ft-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ft-pillar-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  padding: clamp(28px, 5.5vh, 60px) clamp(80px, 1.7vw, 24px);
  box-sizing: border-box; 
}

.ft-pillar-brand,
.ft-pillar-label,
.ft-pillar-copy,
.ft-pillar-list {
  position: relative;
  z-index: 1;
}

.ft-pillar-brand .ft-logo--sm {
  font-size: 13px;
  pointer-events: none;
}

.ft-pillar-brand .ft-logo--img {
  display: inline-flex;
  align-items: center;
  justify-content: justify;
  max-width: 100%;
}

.ft-pillar-brand .ft-logo--img img {
  display: block;
  max-width: min(250px, 100%);
  max-height: clamp(120px, 12vh, 463px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.ft-pillar-brand .ft-logo-mark,
.ft-pillar-brand .ft-logo-text {
  color: #fff;
}

.ft-pillar-label {
  font-size: clamp(15px, 1.8vw, 36px);
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: inherit;
}

.ft-pillar-label-text {
  background: var(--ft-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ft-pillar-label::after {
  content: "";
  display: block;
  width: 3ch;
  height: 3px;
  margin-top: 8px;
  background: var(--ft-grad);
}

.ft-pillar-label .ft-chevron {
  font-weight: 800;
}

.ft-pillar-copy {
  margin: 0;
  font-size: clamp(10.5px, 1.25vw, 16px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
}

/* Items pegados a la descripción (sin empujar al fondo) */
.ft-pillar-list {
  list-style: none;
  margin: 0;
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ft-pillar-list li {
  font-size: clamp(9px, 0.85vw, 13.5px);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.35;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.ft-pillar-list .ft-chevron {
  color: #ff2d55;
  flex-shrink: 0;
  font-weight: 700;
}

/* Watermark decorativo: uno por recuadro, abajo derecha */
.ft-pillar-watermarks {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  user-select: none;
  line-height: 0;
  overflow: hidden;
  max-width: 75%;
  max-height: 55%;
}

.ft-pillar-watermarks--text {
  display: flex;
  gap: 0;
  align-items: flex-end;
  right: -4%;
  bottom: -6%;
  max-width: none;
  max-height: none;
  line-height: 0.75;
}

.ft-pillar-watermarks--text span {
  font-size: clamp(110px, 13vw, 180px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 45, 85, 0.18);
  letter-spacing: -0.18em;
}

.ft-pillar-watermarks img {
  display: block;
  height: clamp(100px, 12vw, 170px);
  width: auto;
  max-width: 100%;
  opacity: 0.5;
  object-fit: contain;
  object-position: right bottom;
  transform: translate(0%, 12%);
}

.ft-hacemos-scroll {
  display: none;
}

/* ===================== PANEL 3: NOSOTROS ===================== */
.ft-panel--nosotros {
  background: #000;
}

.ft-nosotros-inner {
  position: relative;
  z-index: 2;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
  padding: calc(var(--ft-header-h) + clamp(16px, 2.5vh, 28px)) clamp(64px, 11vw, 160px) clamp(36px, 6vh, 72px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Emocionar + Proyectos: fondo blanco / texto negro */
.ft-nosotros-light {
  background: #fff;
  color: #000;
}

.ft-nosotros-light .ft-kicker {
  color: rgba(0, 0, 0, 0.55);
}

.ft-nosotros-light .ft-nosotros-text {
  color: rgba(0, 0, 0, 0.72);
}

.ft-nosotros-light .ft-nosotros-media {
  border-color: rgba(0, 0, 0, 0.2);
  background: #f0f0f0;
}

.ft-nosotros-light .ft-media-ph {
  background: linear-gradient(120deg, #e8e4e4, #f5f0f1, #ddd8d8);
}

.ft-nosotros-light .ft-play-icon {
  border-color: rgba(0, 0, 0, 0.75);
}

.ft-nosotros-light .ft-play-icon::after {
  border-color: transparent transparent transparent #000;
}

.ft-nosotros-light .ft-nosotros-media-trigger:hover .ft-play-icon,
.ft-nosotros-light .ft-nosotros-media-trigger:focus-visible .ft-play-icon {
  border-color: #ff2d55;
}

.ft-nosotros-light .ft-projects-head {
  border-top-color: rgba(0, 0, 0, 0.12);
}

.ft-nosotros-light .ft-projects-pre {
  color: rgba(0, 0, 0, 0.55);
}

.ft-nosotros-light .ft-btn,
.ft-nosotros-light .ft-btn:visited,
.ft-nosotros-light .ft-btn:active,
.ft-nosotros-light .ft-btn:focus {
  color: #000;
  border-color: #000;
}

.ft-nosotros-light .ft-btn--sm {
  color: #000;
  border-color: #000;
}

.ft-nosotros-light .ft-btn:hover,
.ft-nosotros-light .ft-btn--sm:hover {
  color: #fff;
  border-color: transparent;
}

.ft-nosotros-light .ft-project-name {
  color: #000;
}

.ft-nosotros-light .ft-project-link,
.ft-nosotros-light .ft-project-link:visited,
.ft-nosotros-light .ft-project-link:active,
.ft-nosotros-light .ft-project-link:focus {
  color: #000;
  border-color: #000;
}

.ft-nosotros-light .ft-project-link:hover {
  color: #fff;
  border-color: transparent;
}

.ft-nosotros-light .ft-project-num {
  background: #fff;
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.ft-nosotros-light .ft-nosotros-divider-line {
  background: rgba(0, 0, 0, 0.2);
}

.ft-nosotros-light .ft-nosotros-divider-knob {
  border-color: #000;
  background: #fff;
}

.ft-nosotros-light .ft-nosotros-divider-arrow {
  border-right-color: #000;
  border-bottom-color: #000;
}

@media (min-width: 701px) {
  .ft-nosotros-light .ft-projects-carousel::after {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.55) 42%,
      rgba(255, 255, 255, 0.92) 78%,
      #fff 100%
    );
  }
}

/* Scrollbar fino con colores de marca — solo Nosotros en desktop */
@media (min-width: 701px) {
  .ft-nosotros-inner {
    scrollbar-width: thin;
    scrollbar-color: #ff2d55 transparent;
  }

  .ft-nosotros-inner::-webkit-scrollbar {
    width: 4px;
  }

  .ft-nosotros-inner::-webkit-scrollbar-track {
    background: transparent;
  }

  .ft-nosotros-inner::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff2d55 0%, #ff6b4a 55%, #ff8a3d 100%);
    border-radius: 999px;
  }

  .ft-nosotros-inner::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff4d6d 0%, #ff8a3d 100%);
  }
}

.ft-nosotros-intro {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}

.ft-kicker {
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.ft-nosotros-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.05;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ft-nosotros-text {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ft-muted);
  max-width: 40ch;
  line-height: 1.2rem;
}

.ft-nosotros-media {
  position: relative;
  border: 1px solid rgba(255,255,255,0.35);
  overflow: hidden;
  background: #111;
  width: 100%;
  height: clamp(140px, 18vw, 200px);
  max-height: 200px;
  align-self: center;
}

.ft-nosotros-media-trigger {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.ft-nosotros-media .ft-media-ph,
.ft-nosotros-media > img,
.ft-nosotros-media-trigger video,
.ft-nosotros-media-trigger img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ft-nosotros-media-trigger .ft-play-icon {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  transition: transform 0.25s var(--ft-ease), border-color 0.2s ease;
}

.ft-nosotros-media-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.48);
}

.ft-nosotros-media-trigger--no-poster .ft-play-icon {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.ft-nosotros-media-trigger--no-poster .ft-play-icon::after {
  border-color: transparent transparent transparent #fff;
}

.ft-nosotros-light .ft-nosotros-media-trigger--no-poster .ft-play-icon {
  border-color: rgba(255, 255, 255, 0.95);
}

.ft-nosotros-light .ft-nosotros-media-trigger--no-poster .ft-play-icon::after {
  border-color: transparent transparent transparent #fff;
}

.ft-nosotros-media-trigger:hover .ft-play-icon,
.ft-nosotros-media-trigger:focus-visible .ft-play-icon {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: #ff2d55;
}

.ft-nosotros-media-trigger:focus-visible {
  outline: 2px solid #ff2d55;
  outline-offset: 2px;
}

.ft-media-ph {
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: linear-gradient(120deg, #1a1010, #2a1518, #100808);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ft-play-icon {
  width: 56px; height: 56px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  position: relative;
}
.ft-play-icon::after {
  content: "";
  position: absolute;
  left: 22px; top: 17px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}

.ft-projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(8px, 1.5vh, 16px);
  padding-top: clamp(24px, 3.5vh, 40px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ft-projects-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.05;
}
.ft-projects-pre {
  display: block;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--ft-muted);
}

.ft-projects-carousel {
  position: relative;
  width: 100%;
  overflow: visible;
}

/* Desvanecimiento del 4º card (peek) — solo desktop */
@media (min-width: 701px) {
  .ft-projects-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    bottom: 8px;
    width: clamp(56px, 9vw, 140px);
    z-index: 6;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.55) 42%,
      rgba(0, 0, 0, 0.92) 78%,
      #000 100%
    );
  }
}

.ft-projects-track {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(18px, 2vw, 28px);
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 2px 4px 8px;
  scrollbar-width: none;
  cursor: grab;
}

.ft-projects-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.ft-projects-track::-webkit-scrollbar {
  display: none;
}

.ft-projects-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(18px, 2.5vh, 28px);
  padding: 4px 0 2px;
}

.ft-projects-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 999px;
  background: #a8adb4;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    width 0.35s var(--ft-ease),
    background 0.3s ease,
    box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.ft-projects-dot.is-active {
  width: 28px;
  background: var(--ft-grad);
  box-shadow: 0 0 0 2px rgba(255, 107, 74, 0.28);
}

.ft-projects-dot:focus-visible {
  outline: 2px solid #1c2430;
  outline-offset: 3px;
}

/* ~3 tarjetas visibles + peek de la 4ª */
.ft-project-card {
  flex: 0 0 calc((100% - 56px) / 3.25);
  min-width: 280px;
  max-width: 420px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.ft-project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
  flex-shrink: 0;
}

.ft-project-num {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 4;
  background: #000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 11px;
  letter-spacing: 0.06em;
  line-height: 1;
}

.ft-project-thumb,
.ft-project-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ft-project-thumb {
  transition: transform 0.6s var(--ft-ease);
}

.ft-project-video {
  opacity: 0;
  transition: opacity 0.45s var(--ft-ease);
  pointer-events: none;
  z-index: 1;
}

.ft-project-media--no-thumb .ft-project-video {
  opacity: 1;
}

.ft-project-media:hover .ft-project-video,
.ft-project-media.is-hover .ft-project-video {
  opacity: 1;
}

.ft-project-media:hover .ft-project-thumb,
.ft-project-media.is-hover .ft-project-thumb {
  transform: scale(1.05);
}

.ft-project-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  color: inherit;
  text-decoration: none;
}

.ft-project-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 75%);
  opacity: 0;
  transition: opacity 0.4s var(--ft-ease);
  pointer-events: none;
}

.ft-project-media:hover .ft-project-overlay,
.ft-project-media.is-hover .ft-project-overlay {
  opacity: 1;
}

.ft-project-overlay-title {
  display: block;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.ft-project-overlay-client {
  display: block;
  margin-top: 6px;
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
}

.ft-project-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 14px;
  flex-shrink: 0;
}

.ft-project-name {
  margin: 0;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.25;
}

.ft-project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ft-white);
  border: 1px solid var(--ft-muted);
  background: transparent;
  line-height: 1;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ft-ease), box-shadow 0.3s;
}
.ft-project-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ft-grad);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ft-ease), opacity 0.35s;
}
.ft-project-link:visited,
.ft-project-link:active,
.ft-project-link:focus {
  color: #fff;
}
.ft-project-link:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 45, 85, 0.3);
}
.ft-project-link:hover::before {
  opacity: 1;
  transform: scaleX(1);
}
.ft-project-link .ft-chevron {
  color: var(--ft-red);
  transition: transform 0.3s var(--ft-ease), color 0.3s;
}
.ft-project-link:hover .ft-chevron {
  color: #fff;
  transform: translateX(4px);
}

/* Marcas — logos grandes, inset, nítidos */
.ft-brands {
  position: relative;
  z-index: 2;
  margin-top: 0;
  text-align: center;
  padding: clamp(24px, 6.5vh, 80px) clamp(48px, 9vw, 140px) clamp(32px, 20vh, 120px);
  border-top: none;
  background: #000;
  color: #fff;
}

.ft-nosotros-divider {
  display: none;
  position: relative;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: none;
  align-items: center;
  justify-content: center;
}

.ft-nosotros-divider-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #1a1a1a;
  transform: translateY(-50%);
}

.ft-nosotros-divider-knob {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: #000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ft-nosotros-divider-arrow {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(45deg) translate(-1px, -2px);
}

.ft-nosotros-scroll {
  display: none;
}

.ft-brands-title {
  font-size: clamp(15px, 1.8vw, 25px);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: clamp(24px, 7.5vh, 80px);
  color: #fff;
  line-height: 1.35;
}

.ft-brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: clamp(20px, 2.5vw, 36px);
  row-gap: clamp(22px, 3vh, 36px);
  max-width: 1100px;
  margin: 0 auto;
}

.ft-brand-cell {
  flex: 0 0 calc((100% - 180px) / 6);
  max-width: 170px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-brand-img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
}

.ft-brand-text {
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  opacity: 1;
  white-space: nowrap;
}

/* Desktop: 4 por fila + borde vertical (estilo theme-fusion) */
@media (min-width: 701px) {
  .ft-brands {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: clamp(48px, 8vh, 100px);
  }

  .ft-brands-title {
    padding-left: clamp(48px, 9vw, 140px);
    padding-right: clamp(48px, 9vw, 140px);
  }

  .ft-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: none;
    width: 100%;
    margin: 0;
    column-gap: 0;
    row-gap: 0;
    justify-content: stretch;
    align-items: stretch;
  }

  .ft-brand-cell {
    flex: none;
    width: auto;
    max-width: none;
    min-height: clamp(160px, 18vw, 300px);
    margin: 0;
    padding: 12px 20px;
    border-right: 1px solid #2e2e2e;
    border-bottom: none;
    box-sizing: border-box;
    margin-bottom: 1rem;
  }

  .ft-brand-cell:nth-child(4n) {
    border-right: none;
  }

  .ft-brand-img {
    max-height: clamp(52px, 5.5vw, 80px);
    max-width: min(160px, 72%);
  }

  .ft-brand-text {
    font-size: clamp(16px, 1.6vw, 24px);
    letter-spacing: 0.08em;
  }
}

@media (max-width: 1366px) {
  .ft-pillar-content{
    padding: clamp(28px, 5.5vh, 60px) clamp(50px, 1.7vw, 24px);
  }
}

/* —— Fondos de sección —— */
.ft-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
  overflow: hidden;
  pointer-events: none;
}

.ft-section-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ===================== PANEL 4: CONTACTO ===================== */
.ft-panel--contacto {
  background: #c4002a;
  overflow: hidden;
}

.ft-panel--contacto .ft-section-bg:not(.has-image) {
  background: linear-gradient(105deg, #e6002e 0%, #ff2d55 42%, #ff6b4a 78%, #ff8a3d 100%);
}

.ft-contacto-inner {
  position: relative;
  z-index: 2;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--ft-header-h) + 24px) var(--ft-pad) 40px;
  gap: 22px;
  box-sizing: border-box;
}

.ft-contacto-title {
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ft-contacto-title-text {
  display: inline;
}
.ft-contacto-title-line {
  display: inline;
}
.ft-contacto-title-line + .ft-contacto-title-line::before {
  content: " ";
}
.ft-contacto-title .ft-chevron { font-size: 1.05em; }

.ft-contacto-copy {
  max-width: 750px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.92);
}

.ft-contacto-title .ft-chevron,
.ft-contacto-title .ft-chevron--accent {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
}

.ft-contacto-title .ft-chevron--img img {
  filter: brightness(0) invert(1);
}

.ft-contacto-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 920px;
}

.ft-opt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #fff;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ft-ease), box-shadow 0.3s;
}
.ft-opt-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #fff;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.35s var(--ft-ease), opacity 0.35s;
}
.ft-opt-btn:hover,
.ft-opt-btn.is-active {
  color: #ff2d55;
  border-color: #fff;
  transform: none;
  box-shadow: none;
}
.ft-opt-btn:hover::before,
.ft-opt-btn.is-active::before {
  opacity: 1;
  transform: scaleY(1);
}
.ft-opt-btn:hover .ft-chevron,
.ft-opt-btn.is-active .ft-chevron {
  color: #ff2d55;
  -webkit-text-fill-color: #ff2d55;
  transform: translateX(3px);
}
.ft-opt-btn .ft-chevron {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  transition: transform 0.3s var(--ft-ease), color 0.3s, -webkit-text-fill-color 0.3s;
}
.ft-opt-btn .ft-chevron--img img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.ft-opt-btn:hover .ft-chevron--img img,
.ft-opt-btn.is-active .ft-chevron--img img {
  filter: invert(28%) sepia(95%) saturate(2800%) hue-rotate(330deg) brightness(1.05);
}
.ft-opt-icon {
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: color 0.3s;
}
.ft-opt-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  color: inherit;
  transition: color 0.3s;
}
.ft-opt-btn:hover .ft-opt-icon,
.ft-opt-btn.is-active .ft-opt-icon {
  color: #ff2d55;
}
.ft-opt-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.ft-opt-btn:hover .ft-opt-icon img,
.ft-opt-btn.is-active .ft-opt-icon img {
  filter: invert(28%) sepia(95%) saturate(2800%) hue-rotate(330deg) brightness(1.05);
}

.ft-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: min(560px, 92vw);
  padding: 18px 36px;
  margin-top: 1.5em;
  background: #fff;
  color: #000 !important;
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  transition: color 0.35s ease, box-shadow 0.35s;
}
.ft-whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  border-radius: 0;
}
.ft-whatsapp:visited,
.ft-whatsapp:active,
.ft-whatsapp:focus {
  color: #000 !important;
}
.ft-whatsapp:hover {
  color: #fff !important;
  transform: none;
  filter: none;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
  background: #fff;
}
.ft-whatsapp:hover::before {
  transform: scaleX(1);
}
.ft-whatsapp:hover .ft-wa-icon {
  color: #fff;
}
.ft-whatsapp:hover .ft-wa-icon svg {
  fill: #fff;
}
.ft-whatsapp:hover .ft-wa-icon img {
  filter: brightness(0) invert(1);
}

.ft-wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 0;
  color: #000;
  background: transparent;
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}
.ft-wa-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
  transition: fill 0.35s ease;
}
.ft-wa-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  transition: filter 0.35s ease;
}
.ft-wa-label {
  position: relative;
  z-index: 1;
  color: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.ft-alt-label {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.ft-alt-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8em;
  justify-content: center;
}
.ft-alt-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
.ft-alt-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ft-ease);
}
.ft-alt-links a:hover {
  color: #fff;
}
.ft-alt-links a:hover::after {
  transform: scaleX(1);
}
.ft-alt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  line-height: 0;
}
.ft-alt-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.ft-alt-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  color: #fff;
}

/* —— Overlay todos los proyectos —— */
.ft-projects-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  left: 0;
  top: 0;
  z-index: 200;
  background: #000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: circle(0% at calc(100% - 48px) 48px);
  transition:
    clip-path 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    visibility 0.2s;
}

.ft-projects-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* vmax: en pantallas anchas (MacBook) 160% del box no cubría el borde izquierdo */
  clip-path: circle(200vmax at calc(100% - 48px) 48px);
}

.ft-projects-overlay.is-ready {
  clip-path: none;
}

.ft-projects-overlay-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  width: 72px;
  height: 72px;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s var(--ft-ease);
}

.ft-projects-overlay-close span {
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  background: var(--ft-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(255, 45, 85, 0.55));
  transition: filter 0.3s, transform 0.3s var(--ft-ease);
}

.ft-projects-overlay-close:hover {
  transform: scale(1.08) rotate(90deg);
}

.ft-projects-overlay-close:hover span {
  filter: drop-shadow(0 0 18px rgba(255, 45, 85, 0.7));
}

.ft-projects-overlay-loader {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}

.ft-projects-overlay.is-loading .ft-projects-overlay-loader,
.ft-project-detail-overlay.is-loading .ft-projects-overlay-loader {
  opacity: 1;
  visibility: visible;
}

.ft-loader-ring {
  position: absolute;
  top: 48px;
  right: 48px;
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: #ff2d55;
  border-right-color: #ff8a3d;
  transform: translate(50%, -50%);
  animation: ft-reveal-ring 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ft-spin {
  to { transform: rotate(360deg); }
}

@keyframes ft-reveal-ring {
  0% {
    width: 24px;
    height: 24px;
    opacity: 1;
    border-width: 3px;
  }
  70% {
    opacity: 0.85;
  }
  100% {
    width: 220vmax;
    height: 220vmax;
    opacity: 0;
    border-width: 2px;
  }
}

.ft-projects-overlay-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow-y: auto;
  padding: calc(var(--ft-header-h) + 24px) 0 56px;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.28s ease 0.08s, transform 0.32s var(--ft-ease) 0.06s;
}

.ft-projects-overlay.is-ready .ft-projects-overlay-inner {
  opacity: 1;
  transform: none;
}

/* Modal video Nosotros */
.ft-video-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) var(--ft-pad) max(24px, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s;
}

.ft-video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ft-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.ft-video-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  max-height: min(80vh, 620px);
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  transform: scale(0.96);
  opacity: 0;
  transition: opacity 0.28s ease 0.04s, transform 0.32s var(--ft-ease) 0.04s;
}

.ft-video-modal.is-open .ft-video-modal-dialog {
  opacity: 1;
  transform: none;
}

.ft-video-modal-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.ft-video-modal-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.ft-video-modal-close span {
  position: absolute;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: background 0.2s ease;
}

.ft-video-modal-close span:first-child {
  transform: rotate(45deg);
}

.ft-video-modal-close span:last-child {
  transform: rotate(-45deg);
}

.ft-video-modal-close:hover span {
  background: #ff2d55;
}

.ft-projects-overlay-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vh, 48px);
  padding: 0 var(--ft-pad);
}

.ft-projects-overlay-kicker {
  font-size: clamp(12px, 1.4vw, 16px);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.ft-projects-overlay-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.ft-projects-overlay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: none;
  width: 100%;
  margin: 0;
}

.ft-projects-overlay-grid .ft-project-card {
  flex: none;
  min-width: 0;
  max-width: none;
  width: 100%;
  scroll-snap-align: unset;
}

.ft-projects-overlay-grid .ft-project-media {
  aspect-ratio: 16 / 9;
}

body.ft-overlay-projects-open,
body.ft-video-modal-open {
  overflow: hidden;
}

/* Detalle de un proyecto */
.ft-project-detail-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  left: 0;
  top: 0;
  z-index: 210;
  background: #000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: circle(0% at calc(100% - 48px) 48px);
  transition:
    clip-path 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease,
    visibility 0.2s;
}

.ft-project-detail-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: circle(200vmax at calc(100% - 48px) 48px);
}

.ft-project-detail-overlay.is-ready {
  clip-path: none;
}

.ft-project-detail-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  overflow-y: auto;
  padding: calc(var(--ft-header-h) + 32px) var(--ft-pad) 56px;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.28s ease 0.08s, transform 0.32s var(--ft-ease) 0.06s;
}

.ft-project-detail-overlay.is-ready .ft-project-detail-inner {
  opacity: 1;
  transform: none;
}

.ft-project-detail {
  max-width: 960px;
  margin: 0 auto;
}

.ft-project-detail-head {
  text-align: center;
  margin-bottom: clamp(20px, 3vh, 36px);
}

.ft-project-detail-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: #fff;
}

.ft-project-detail-client {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ft-muted);
}

.ft-project-detail-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 28px;
}

.ft-project-detail-media video,
.ft-project-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ft-project-detail-content {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.65;
  max-width: 68ch;
  margin: 0 auto;
}

.ft-project-detail-content p + p {
  margin-top: 1em;
}

/* —— Páginas internas —— */
.ft-page {
  min-height: 100vh;
  background: var(--ft-black);
}
.ft-page-inner { max-width: 1100px; margin: 0 auto; }
.ft-page h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ft-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.ft-breadcrumbs {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ft-muted);
  margin-bottom: 20px;
}
.ft-breadcrumbs a { color: rgba(255,255,255,0.75); }
.ft-breadcrumbs a:hover { color: var(--ft-white); }

.ft-single-client { color: var(--ft-muted); margin-bottom: 28px; }
.ft-single-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  margin-bottom: 32px;
}
.ft-single-media video,
.ft-single-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .ft-hacemos-inner {
    padding-left: clamp(28px, 5vw, 48px);
    padding-right: clamp(28px, 5vw, 48px);
    overflow: visible;
  }
  .ft-hacemos-title,
  .ft-hacemos-intro {
    white-space: normal;
  }
  .ft-pillars {
    grid-template-columns: 1fr;
    max-width: 440px;
    border: none;
    gap: 28px;
  }
  .ft-pillar {
    border: 1px solid #c41e3a;
  }
  .ft-pillar:last-child {
    border-right: 1px solid #c41e3a;
  }
  .ft-nosotros-intro { grid-template-columns: 1fr; }
  .ft-project-card {
    flex: 0 0 min(78vw, 340px);
    max-width: none;
  }
  .ft-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-projects-overlay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .ft-logo--hero.ft-logo--img img {
    max-height: 120px;
  }
  .ft-nav { display: none; }
  .ft-nav-toggle { display: block !important; }
  .ft-header {
    justify-content: flex-start;
  }
  .ft-header .ft-logo--header {
    display: none !important;
  }

  /* Home mobile: solo hamburguesa a la izquierda (como mockup) */
  body.ft-on-work .ft-header {
    justify-content: flex-start;
  }

  body.ft-on-light .ft-nav-toggle span {
    background: #fff;
  }

  /* —— Home / WORK: layout mobile —— */
  .ft-work-inner {
    justify-content: center;
    align-items: center;
    padding: 28px;
    gap: 0;
  }

  .ft-panel--work .ft-logo--hero {
    font-size: clamp(52px, 16vw, 72px);
    font-weight: 800;
    letter-spacing: -0.03em;
  }

  .ft-panel--work .ft-logo--hero .ft-logo-mark {
    color: #ff1e3c;
  }

  .ft-panel--work .ft-logo--hero .ft-logo-mark--img img {
    filter: none;
  }

  .ft-work-tagline {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.22em;
  }

  .ft-work-tagline-item {
    gap: 10px;
  }

  .ft-work-tagline-lead {
    display: inline-flex;
    align-items: center;
  }

  .ft-work-tagline-trail {
    display: none;
  }

  .ft-work-tagline .ft-chevron {
    color: #ff1e3c;
    font-size: 0.95em;
  }

  .ft-work-copy {
    margin-top: 22px;
    max-width: 320px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--ft-white);
  }

  .ft-work-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    gap: 12px;
    margin-top: 32px;
  }

  .ft-panel--work .ft-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.2em;
    border-color: rgba(255, 255, 255, 0.95);
  }

  .ft-archive-grid { grid-template-columns: 1fr; }
  .ft-projects-overlay-grid { grid-template-columns: 1fr; }
  .ft-projects-overlay .ft-project-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  /* —— Qué hacemos / mobile mockup —— */
  .ft-panel--hacemos::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
      ellipse 120% 75% at 50% 120%,
      rgba(220, 0, 45, 0.8) 0%,
      rgba(160, 0, 30, 0.4) 38%,
      rgba(80, 0, 15, 0.15) 60%,
      transparent 78%
    );
  }

  .ft-hacemos-inner {
    padding: calc(var(--ft-header-h) + 8px) 22px 56px;
    gap: 18px;
    overflow: visible;
  }

  .ft-hacemos-head {
    text-align: left;
    margin: 0;
    max-width: none;
    padding: 0 40px;
  }

  .ft-hacemos-title {
    white-space: normal;
    font-size: 13px;
    line-height: 1.15;
    letter-spacing: 0.06em;
  }

  .ft-hacemos-title-pre {
    display: block;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.14em;
    color: #fff;
    margin-bottom: 4px;
  }

  .ft-hacemos-title-accent {
    display: block;
    font-size: clamp(22px, 8.2vw, 30px);
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.12;
  }

  .ft-hacemos-intro {
    margin: 14px 0 0;
    max-width: 100%;
    width: 100%;
    white-space: normal;
    text-align: left;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
  }

  .ft-pillars {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    max-width: none;
    width: 100%;
    margin: 8px 0 0;
    border: none;
    gap: 28px;
    flex: 0 0 auto;
  }

  .ft-pillar {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    min-height: min(62vh, 520px);
    overflow: visible;
  }

  .ft-pillar:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.22);
  }

  .ft-pillar-num {
    top: 12px;
    left: 0px;
    transform: translateY(-50%);
    z-index: 6;
    background: #000;
    border: 1px solid #ff2d55;
    border-bottom: 1px solid #ff2d55;
    border-right: 1px solid #ff2d55;
    padding: 5px 8px;
    min-width: 28px;
    font-size: 11px;
    font-weight: 700;
  }

  .ft-pillar-content {
    padding: 40px 18px 24px;
    gap: 10px;
    overflow: visible;
  }

  .ft-pillar-brand .ft-logo--sm {
    font-size: clamp(34px, 9.5vw, 42px);
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.03em;
  }

  .ft-pillar-label {
    margin: 6px 0 0;
    font-size: clamp(26px, 7.5vw, 32px);
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  .ft-pillar-label::after {
    width: 2.6ch;
    height: 4px;
    margin-top: 6px;
  }

  .ft-pillar-copy {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
  }

  .ft-pillar-list {
    margin-top: 6px;
    gap: 12px;
    padding-top: 2px;
  }

  .ft-pillar-list li {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
    gap: 8px;
  }

  .ft-pillar-watermarks {
    right: -2%;
    bottom: -2%;
    max-width: 55%;
    max-height: 45%;
    opacity: 0.85;
  }

  .ft-pillar-watermarks img {
    height: clamp(90px, 28vw, 140px);
    opacity: 0.35;
  }

  .ft-pillar-watermarks--text span {
    font-size: clamp(90px, 28vw, 130px);
    -webkit-text-stroke: 1.5px rgba(255, 45, 85, 0.2);
  }

  .ft-hacemos-inner,
  .ft-nosotros-inner {
    scrollbar-width: none;
  }
  .ft-hacemos-inner::-webkit-scrollbar,
  .ft-nosotros-inner::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  /* —— Nosotros / mobile mockup —— */
  .ft-panel--nosotros::after {
    display: none;
  }

  .ft-nosotros-inner {
    padding: calc(var(--ft-header-h) + 20px) 28px 64px;
    gap: 22px;
  }

  .ft-nosotros-light .ft-kicker {
    color: rgba(0, 0, 0, 0.7);
  }

  .ft-nosotros-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-template-columns: none;
    gap: 28px;
    text-align: center;
  }

  .ft-nosotros-copy-col {
    width: 100%;
    max-width: 22em;
    margin: 0 auto;
    text-align: center;
  }

  .ft-kicker {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 0.28em;
    color: rgba(0, 0, 0, 0.7);
    text-align: center;
  }

  .ft-nosotros-title {
    margin-top: 10px;
    font-size: clamp(30px, 8.5vw, 36px);
    font-weight: 900;
    letter-spacing: 0.06em;
    justify-content: center;
    text-align: center;
    line-height: 1.05;
  }

  .ft-nosotros-title .ft-grad-text {
    background: var(--ft-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .ft-nosotros-title .ft-chevron {
    background: var(--ft-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
  }

  .ft-nosotros-title .ft-chevron--img {
    -webkit-text-fill-color: initial;
    color: inherit;
  }

  .ft-nosotros-text {
    margin: 18px auto 0;
    max-width: 18em;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.72);
    text-align: center;
  }

  .ft-nosotros-media {
    width: calc(100% + 56px);
    max-width: none;
    margin-left: -28px;
    margin-right: -28px;
    height: clamp(120px, 34vw, 158px);
    max-height: 158px;
    min-height: 0;
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    overflow: hidden;
  }

  .ft-nosotros-media .ft-media-ph,
  .ft-nosotros-media > img,
  .ft-nosotros-media-trigger,
  .ft-nosotros-media-trigger video,
  .ft-nosotros-media-trigger img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    min-height: 0;
  }

  .ft-nosotros-media .ft-media-ph {
    min-height: 100%;
  }

  .ft-nosotros-media .ft-play-icon {
    width: 44px;
    height: 44px;
  }

  .ft-nosotros-media .ft-play-icon::after {
    left: 17px;
    top: 13px;
    border-width: 8px 0 8px 13px;
  }

  .ft-projects-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    margin-top: 28px;
    padding-top: 28px;
    border-top: none;
  }

  .ft-projects-head .ft-btn {
    display: none;
  }

  .ft-projects-title {
    font-size: clamp(26px, 7.5vw, 32px);
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-align: center;
  }

  .ft-projects-pre {
    display: block;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: 8px;
  }

  .ft-projects-title .ft-grad-text {
    display: block;
    background: var(--ft-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .ft-projects-carousel {
    margin: 20px 0 0;
    width: 100%;
  }

  .ft-projects-dots {
    display: none;
  }

  .ft-projects-track {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: hidden;
    overflow-y: visible;
    scroll-snap-type: none;
    padding: 0;
    cursor: default;
  }

  .ft-project-card {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .ft-projects-track > .ft-project-card:first-of-type {
    margin-bottom: 28px;
  }

  /* 3er proyecto en adelante: ocultos (van al overlay) */
  .ft-projects-track > .ft-project-card:nth-of-type(n + 3) {
    display: none !important;
  }

  /* 2º proyecto: peek oscurecido debajo de la línea */
  .ft-projects-track > .ft-project-card:nth-of-type(2) {
    display: block !important;
    position: relative;
    z-index: 1;
    max-height: 128px;
    margin-top: -58px;
    overflow: hidden;
    pointer-events: none;
  }

  .ft-projects-track > .ft-project-card:nth-of-type(2) .ft-project-overlay {
    display: none !important;
  }

  .ft-projects-track > .ft-project-card:nth-of-type(2) .ft-project-media {
    aspect-ratio: auto;
    height: 200px;
  }

  .ft-projects-track > .ft-project-card:nth-of-type(2) .ft-project-hit {
    display: none;
  }

  .ft-projects-track > .ft-project-card:nth-of-type(2)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.55) 28%,
      rgba(0, 0, 0, 0.82) 62%,
      #000 100%
    );
  }

  .ft-projects-track > .ft-project-card:nth-of-type(2) .ft-project-num {
    z-index: 6;
  }

  .ft-project-media {
    aspect-ratio: 16 / 10;
    border-radius: 0;
  }

  .ft-project-num {
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #000;
    border: 1px solid #8b1a2b;
  }

  .ft-project-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0 0;
  }

  .ft-project-name {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .ft-project-link {
    padding: 10px 18px;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: #000;
    border-color: #000;
  }

  .ft-nosotros-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    width: 100%;
    height: 48px;
    margin: 4px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    overflow: visible;
  }

  /* Zona táctil sobre el peek del 2º proyecto */
  .ft-nosotros-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 140px;
    z-index: 0;
  }

  .ft-nosotros-divider-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 90%;
    z-index: 1;
    height: 1px;
    background: #fff;
    border: 2px solid #fff;
    box-shadow: none;
    transform: translateY(-50%);
  }

  .ft-nosotros-divider-knob {
    position: relative;
    z-index: 2;
    width: 45px;
    height: 45px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    background: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s var(--ft-ease), box-shadow 0.25s;
    top: 35%;
  }

  .ft-nosotros-divider:hover .ft-nosotros-divider-knob,
  .ft-nosotros-divider:focus-visible .ft-nosotros-divider-knob {
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(255, 45, 85, 0.35);
  }

  .ft-nosotros-divider-arrow {
    width: 15px;
    height: 15px;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(45deg) translate(-1px, -2px);
  }

  .ft-brands {
    margin-top: 8px;
    padding: 12px 28px 28px;
    border-top: none;
  }

  .ft-brands-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.45;
    margin-bottom: 28px;
    max-width: 20em;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }

  .ft-brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 28px;
    row-gap: 28px;
    max-width: 320px;
    margin: 0 auto;
    width: auto;
  }

  .ft-brand-cell {
    flex: 0 0 calc((100% - 28px) / 2);
    max-width: none;
    min-height: 44px;
    border-right: none;
    margin-bottom: 0;
    padding: 0;
  }

  .ft-brand-img {
    max-height: 56px;
    max-width: 100%;
  }

  .ft-brand-text {
    font-size: clamp(13px, 1.2vw, 16px);
    letter-spacing: 0.04em;
  }

  /* —— Contacto / mobile —— */
  .ft-panel--contacto::after {
    display: none;
  }

  .ft-contacto-inner {
    padding: calc(var(--ft-header-h) + 36px) 32px 56px;
    gap: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .ft-contacto-title {
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
    font-size: clamp(34px, 9.5vw, 40px);
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 0.92;
    text-align: left;
  }

  .ft-contacto-title-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .ft-contacto-title-line {
    display: block;
  }

  .ft-contacto-title-line + .ft-contacto-title-line::before {
    content: none;
  }

  .ft-contacto-title .ft-chevron,
  .ft-contacto-title .ft-contacto-chevron {
    flex-shrink: 0;
    font-size: 0.82em;
    font-weight: 900;
    line-height: 1;
    margin-top: 0.06em;
    background: linear-gradient(180deg, #ff2d55 0%, #ff6b4a 50%, #ff8a3d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }

  .ft-contacto-title .ft-chevron--img {
    -webkit-text-fill-color: initial;
    margin-top: 0.12em;
  }

  .ft-contacto-title .ft-chevron--img img {
    height: 0.78em;
    width: auto;
  }

  .ft-contacto-copy {
    margin: 26px auto 0;
    max-width: 19.5em;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.55;
    color: #fff;
    text-align: center;
  }

  .ft-contacto-options {
    display: none !important;
  }

  .ft-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 40px;
    padding: 18px 16px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.1em;
    border-radius: 0;
    gap: 12px;
    color: #000 !important;
    background: #fff;
    box-shadow: none;
  }

  .ft-whatsapp:hover {
    transform: none;
    filter: none;
    color: #fff !important;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  }

  .ft-wa-icon {
    width: 22px;
    height: 22px;
    border-radius: 0;
    color: #000;
    background: transparent;
  }

  .ft-wa-icon svg {
    width: 22px;
    height: 22px;
    fill: #000;
  }

  .ft-wa-icon img {
    width: 22px;
    height: 22px;
    object-fit: contain;
  }

  .ft-wa-label {
    color: #000;
  }

  .ft-alt-label {
    margin-top: 42px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
  }

  .ft-alt-links {
    margin-top: 22px;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }

  .ft-alt-links a {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #fff;
    gap: 12px;
    line-height: 1;
  }

  .ft-alt-links a:hover {
    color: #fff;
  }

  .ft-alt-links svg,
  .ft-alt-icon,
  .ft-alt-icon img,
  .ft-alt-icon svg {
    width: 18px;
    height: 18px;
    opacity: 0.95;
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft-work-inner,
  .ft-hacemos-inner,
  .ft-nosotros-inner,
  .ft-contacto-inner {
    transition: none !important;
    filter: none !important;
  }

  .ft-logo--header,
  .ft-nav {
    transition: none !important;
  }

  .ft-projects-overlay,
  .ft-project-detail-overlay,
  .ft-overlay-nav,
  .ft-video-modal {
    clip-path: none !important;
    transition: opacity 0.2s ease, visibility 0.2s !important;
  }

  .ft-loader-ring {
    animation: none !important;
    opacity: 0 !important;
  }

  .ft-btn::before,
  .ft-project-link::before,
  .ft-opt-btn::before,
  .ft-whatsapp::before,
  .ft-alt-links a::after {
    transition: none !important;
  }
}
