/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-400-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-500-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-600-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-600-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-600-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-700-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-700-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-700-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-800-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-800-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 800;
  font-stretch: normal;
  font-display: swap;
  src: url("../assets/fonts/archivo-800-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-500-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-500-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-500-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-500-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-500-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}



  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { margin: 0; background: #ffffff; color: #0d0d0d; font-family: 'Archivo', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  a { color: #d81f26; text-decoration: none; }
  a:hover { color: #0d0d0d; }
  h1, h2, h3, h4, p, ul, li, figure { margin: 0; padding: 0; }
  ul { list-style: none; }
  button { font-family: inherit; }
  section[id] { scroll-margin-top: 88px; }
  @keyframes emeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  @keyframes emeKenBurns { from { transform: scale(1); } to { transform: scale(1.08); } }
  @media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ==========================================================================
   Efecto de entrega en el hero (js/hero-entrega.js)
   Solo aplica mientras la secuencia corre; al terminar el script retira las
   clases y el hero vuelve a su estado original. Si el efecto se desactiva,
   estas reglas quedan inertes.
   ========================================================================== */
.eme-hero-claro {
  position: absolute;
  inset: 0;
  background: #f5f4f3;
  overflow: hidden;
}
/* El titular hereda el blanco de la sección, así que se fuerza aquí; el
   resto de colores los remapea el script sobre la copia. */
.eme-hero-claro h1,
.eme-hero-claro h1 span { color: #0d0d0d !important; }
.eme-hero-claro p { color: #5c5754 !important; }

.eme-hero-filo {
  position: absolute;
  pointer-events: none;
  left: calc(var(--eq-pl) * 1%);
  top: calc(var(--eq-pt) * 1%);
  width: calc(var(--eq-pw) * 1%);
  height: calc(var(--eq-ph) * 1%);
  box-shadow: 0 0 0 2px #d81f26;
  opacity: calc(1 - var(--eq-r));
}

.eme-hero-equipo {
  position: absolute;
  bottom: 3.2%;
  left: calc(var(--eq-x) * 1%);
  width: calc(var(--eq-w) * 1%);
  color: #d81f26;
  pointer-events: none;
  transform: translateX(-48%) scaleX(-1);
  will-change: transform, left;
}
.eme-hero-equipo svg { width: 100%; height: auto; display: block; }
.eme-hero-equipo .eme-carro { transform: translateY(calc(var(--eq-lift) * -46px)); }

@media (prefers-reduced-motion: reduce) {
  .eme-hero-claro,
  .eme-hero-filo,
  .eme-hero-equipo { display: none; }
}

/* Franja de marcas: los dos grupos se apilan en la misma celda de rejilla, así
   el alto lo fija el grupo más alto y no hay que calcularlo a mano en cada
   tamaño de pantalla (con posicionamiento absoluto sí haría falta). */
.eme-marcas { display: grid; }
.eme-marcas > * { grid-area: 1 / 1; }

/* Tarjetas de servicios: al pasar el mouse el fondo se vuelve negro, así que
   el texto tiene que aclararse o queda ilegible. El h3 usa color:inherit, de
   modo que basta con cambiar el color de la tarjeta; el párrafo y el enlace
   traen su color en el atributo style y necesitan !important para cederlo. */
#servicios article:hover { color: #ffffff; }
#servicios article:hover p { color: #c9c4c0 !important; }
#servicios article:hover a { color: #ffffff !important; }
/* El propio enlace conserva su rojo al pasar directamente sobre él. */
#servicios article:hover a:hover { color: #d81f26 !important; }

/* ==========================================================================
   Marcas en monocromo
   Lleva los logotipos a negro sólido en vez de a escala de grises: convertir
   por luminosidad aclara tanto el amarillo de Hyster que casi desaparece.
   El tono se ajusta con --marcas-tono (1 = negro pleno, más bajo = más suave).

   PARA VOLVER A LOS LOGOS A COLOR: borra o comenta este bloque. Nada más
   depende de él.
   ========================================================================== */
.eme-marcas { --marcas-tono: 0.62; }
.eme-marcas img { filter: brightness(0) opacity(var(--marcas-tono)); }

/* ==========================================================================
   Equipos más buscados — carrusel coverflow 3D
   Adaptado del CoverflowCarousel de 21st.dev. La landing no tiene React/
   Tailwind/motion, así que las posiciones 3D de cada tarjeta las calcula
   cfVals() en index.html y aquí solo vive lo estático.

   PARA VOLVER A LA SECCIÓN ANTERIOR (pestañas): ver el comentario en
   index.html. Si la sección nueva no está en la página, este bloque no
   afecta nada más.
   ========================================================================== */
.eme-cf-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(55% 38% at 50% 40%, rgba(216, 31, 38, 0.13), rgba(216, 31, 38, 0) 70%);
}

.eme-cf-stage {
  position: relative;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  outline: none;
  border-radius: 20px;
}
.eme-cf-stage.is-dragging { cursor: grabbing; }
.eme-cf-stage:focus-visible { box-shadow: inset 0 0 0 2px rgba(216, 31, 38, 0.8); }

/* Piso de bodega en perspectiva: solo decorativo, se desvanece hacia los bordes. */
.eme-cf-floor {
  position: absolute;
  left: -30%;
  right: -30%;
  bottom: -4%;
  height: 58%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center bottom;
  transform: perspective(520px) rotateX(70deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 50% 100%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 50% 70% at 50% 100%, #000 25%, transparent 75%);
}
.eme-cf-glow {
  position: absolute;
  left: 50%;
  bottom: 2%;
  height: 70px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(216, 31, 38, 0.5), rgba(216, 31, 38, 0) 70%);
  filter: blur(12px);
}

/* Sin preserve-3d a propósito: las tarjetas nunca se cruzan entre sí, así que
   basta con z-index para ordenarlas y se evitan artefactos de ordenamiento 3D. */
.eme-cf-scene {
  position: absolute;
  inset: 0;
  perspective: 1200px;
  z-index: 1;
}

.eme-cf-card {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #2c2827;
  background:
    radial-gradient(90% 60% at 50% 38%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #1e1b1a 0%, #141211 60%, #0e0d0c 100%);
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}
.eme-cf-card img {
  position: absolute;
  left: 10%;
  top: 13%;
  width: 80%;
  height: 54%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.55));
  pointer-events: none;
  -webkit-user-drag: none;
}
.eme-cf-card-top {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.eme-cf-card-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #d81f26;
}
.eme-cf-card-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d8d3cf;
  border: 1px solid #3a3634;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(13, 13, 13, 0.45);
}
.eme-cf-card-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: linear-gradient(180deg, rgba(14, 13, 12, 0) 0%, rgba(14, 13, 12, 0.92) 38%);
}
.eme-cf-card-name {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8b2ae;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eme-cf-card-big {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #ffffff;
}
.eme-cf-card-cap {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d6864;
}
/* Oscurece las tarjetas laterales: más barato que filter:brightness y se
   anima igual de suave. */
.eme-cf-card-shade {
  position: absolute;
  inset: 0;
  background: #0d0d0d;
  pointer-events: none;
  will-change: opacity;
}

.eme-cf-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 20px);
  margin-top: clamp(14px, 2.4vw, 24px);
}
.eme-cf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid #3a3634;
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 150ms ease-out, background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.eme-cf-btn:hover { background: #ffffff; color: #0d0d0d; border-color: #ffffff; }
.eme-cf-btn:active { transform: scale(0.97); }
.eme-cf-btn:focus-visible { outline: 2px solid #d81f26; outline-offset: 3px; }
.eme-cf-btn-ico { font-size: 18px; line-height: 1; margin-top: -2px; }

.eme-cf-dots { display: flex; align-items: center; gap: 6px; }
.eme-cf-dot {
  display: flex;
  align-items: center;
  width: 34px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.eme-cf-dot:focus-visible { outline: 2px solid #d81f26; outline-offset: 2px; border-radius: 4px; }
.eme-cf-dot-track {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: #3a3634;
  overflow: hidden;
  transition: background 200ms ease;
}
.eme-cf-dot:hover .eme-cf-dot-track { background: #5c5754; }
.eme-cf-dot-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #d81f26;
  transform-origin: left center;
  transform: scaleX(0);
}
/* Dos nombres idénticos para poder reiniciar la barra al cambiar de equipo:
   alternar el nombre fuerza al navegador a arrancar la animación de cero. */
@keyframes emeCfFillA { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes emeCfFillB { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.eme-cf-count {
  min-width: 64px;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #8b8580;
}

/* Paneles de características: todos en la misma celda de rejilla (igual que
   .eme-marcas) para que el alto lo fije el más alto y el cambio no salte. */
.eme-cf-panels {
  display: grid;
  margin-top: clamp(26px, 4vw, 44px);
  border-top: 1px solid #262322;
}
.eme-cf-panels > * { grid-area: 1 / 1; }
.eme-cf-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
  padding-top: clamp(24px, 3vw, 36px);
  opacity: 0;
  transform: translateY(14px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 420ms;
}
.eme-cf-panel.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 420ms ease 120ms, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms, visibility 0s linear 0s;
}
.eme-cf-panel-kicker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d81f26;
  margin-bottom: 12px;
}
.eme-cf-panel-name {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.eme-cf-cta {
  margin-top: clamp(18px, 2.4vw, 26px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #d81f26;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 24px;
  border-radius: 999px;
  transition: background 200ms ease, color 200ms ease, transform 150ms ease-out;
}
.eme-cf-cta:hover { background: #ffffff; color: #0d0d0d; }
.eme-cf-cta:active { transform: scale(0.97); }
.eme-cf-cta:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

.eme-cf-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #262322;
  border: 1px solid #262322;
  border-radius: 16px;
  overflow: hidden;
}
/* "Tipo" es el valor más largo: ocupa dos columnas y las cinco
   características cierran en dos filas parejas (2+1 / 1+1+1). */
.eme-cf-specs li:first-child { grid-column: span 2; }
.eme-cf-specs li {
  background: #121110;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.eme-cf-spec-k {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b8580;
}
.eme-cf-spec-v {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.eme-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .eme-cf-panel { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .eme-cf-card-big { font-size: 24px; }
  .eme-cf-btn { width: 44px; padding: 0; }
  .eme-cf-btn-label { display: none; }
  .eme-cf-dot { width: 22px; }
  .eme-cf-count { min-width: 0; }
  .eme-cf-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
