noscript{display:none !important}
@import url("https://fonts.googleapis.com/css2?family=Funnel+Display:wght@400;500;600&family=Funnel+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap");

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #FBFBF7;
  font-family: "Funnel Sans", system-ui, sans-serif;
  color: #1E1E1E;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a { color: #08807E; text-decoration: none; }
a:hover { color: #1E1E1E; }
h1, h2, h3 { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
p, li, blockquote { text-wrap: pretty; }

[id] { scroll-margin-top: 84px; }
p { margin: 0; }

/* Saltar al contenido: fuera de vista hasta que recibe foco de teclado */
[data-ev-skip] {
  transform: translateY(-160%);
  transition: transform 160ms cubic-bezier(.16, 1, .3, 1);
}
[data-ev-skip]:focus-visible { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-ev-skip] { transition: none; }
}

[tabindex="-1"]:focus { outline: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(0, 218, 215, .45);
  outline-offset: 2px;
}

@media (max-width: 1180px) {
  [data-ev-nav] { display: none !important; }
  [data-ev-burger] { display: inline-flex !important; }
}

@media (max-width: 860px) {
  [data-ev-hide-md] { display: none !important; }
}

@media (max-width: 820px) {
  [data-ev-micro] { font-size: 12px !important; }
}

@media (max-width: 860px) {
  [data-ev-thead] { display: none !important; }
  [data-ev-row] { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)) !important; }
  [data-ev-row] > a { grid-column: 1 / -1; }
  [data-ev-row] > span { text-align: left !important; }
}

@media (min-width: 760px) {
  [data-ev-fcols] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
  [data-ev-piezas] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  [data-ev-metricas]:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (min-width: 1180px) {
  [data-ev-metricas]:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (min-width: 1180px) {
  [data-ev-piezas] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

[data-ev-pieza]:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(30, 30, 30, .13);
  border-color: #00DAD7;
}

@media (prefers-reduced-motion: reduce) {
  [data-ev-pieza] { transition: none !important; }
}

button:hover [data-ev-play] { transform: scale(1.09); }

[data-ev-tab][aria-selected="false"]:hover { border-color: #00DAD7 !important; color: #08807E !important; }
[data-ev-tab]:focus-visible { outline: 3px solid rgba(0, 218, 215, .55); outline-offset: 3px; }

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

@media (prefers-reduced-motion: reduce) {
  [data-ev-marquee] { animation: none !important; }
}

[data-ev-chip]:hover {
  border-color: #00DAD7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 30, 30, .1);
}

[data-ev-chip]:hover [data-ev-chip-arrow] { transform: translateX(4px); }

[data-ev-chip]:focus-visible { outline: 3px solid rgba(0, 218, 215, .55); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  [data-ev-chip], [data-ev-chip-arrow] { transition: none !important; }
}

@media (max-width: 760px) {
  [data-ev-1linea] { white-space: normal !important; }
}

@media (min-width: 761px) {
  [data-ev-1linea] { white-space: nowrap; }
}

@media (max-width: 700px) {
  [data-ev-wa-header] { display: none !important; }
}

@media (max-width: 420px) {
  [data-ev-pulse-mark] { display: none !important; }
}

@media (max-width: 860px) {
  [data-ev-tab] { min-height: 44px !important; padding-top: 11px !important; padding-bottom: 11px !important; }
  [data-ev-inline-link] { display: inline-flex !important; align-items: center; min-height: 44px; }
}

/* Footer: acordeón en móvil, columnas abiertas en escritorio */
@media (min-width: 761px) {
  [data-ev-fgroup] { display: flex !important; }
  [data-ev-ftoggle] { pointer-events: none; min-height: 0 !important; }
  [data-ev-fchevron] { display: none !important; }
}

@media (max-width: 760px) {
  [data-ev-fcol] { border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 4px 0; }
  [data-ev-fcol]:last-child { border-bottom: 0; }
  [data-ev-fcols] { grid-template-columns: 1fr !important; gap: 0 !important; }
}
