/*!
 * ErgoSillas · esx-ergo.css
 * Sistema de diseño propio. Todas las reglas usan el prefijo "esx-" para no
 * chocar con styles.pure.css en las páginas interiores.
 * Fuentes: Manrope (títulos) + Inter (texto).  Esquinas rectas, sin franjas de color.
 */

:root {
  --esx-ink: #14171b;
  --esx-ink-2: #2a3037;
  --esx-text: #343a41;
  --esx-muted: #67707a;
  --esx-line: #e4e2dc;
  --esx-paper: #ffffff;
  --esx-sand: #f6f4ef;
  --esx-red: #e00000;
  --esx-red-d: #b30000;
  --esx-font-h: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --esx-font-b: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --esx-wrap: 1240px;
  --esx-promo-ratio: 1 / 1;
}

[class^="esx-"], [class*=" esx-"],
[class^="esx-"]::before, [class*=" esx-"]::before,
[class^="esx-"]::after, [class*=" esx-"]::after { box-sizing: border-box; }

/* ---------- Base (solo en páginas con <body class="esx">) ---------- */
body.esx {
  margin: 0;
  font-family: var(--esx-font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--esx-text);
  background: var(--esx-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.esx img { max-width: 100%; height: auto; display: block; }
body.esx a { color: inherit; text-decoration: none; }
body.esx p { margin: 0 0 1em; }
:where(body.esx) :is(h1, h2, h3, h4) {
  font-family: var(--esx-font-h);
  color: var(--esx-ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}
.esx-skip {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--esx-ink); color: #fff; padding: 10px 16px;
}
.esx-skip:focus { left: 0; }
.esx :focus-visible { outline: 2px solid var(--esx-red); outline-offset: 2px; }

.esx-wrap { max-width: var(--esx-wrap); margin: 0 auto; padding: 0 24px; }

/* Espacio reservado para los includes (evita saltos de diseño) */
.esx-slot--tb { min-height: 34px; background: var(--esx-ink); }
.esx-slot--hd { min-height: 72px; }

/* ---------- Botones ---------- */
.esx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px;
  font: 700 14px/1 var(--esx-font-h);
  letter-spacing: .01em;
  border: 1.5px solid transparent; border-radius: 2px;
  cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.esx-btn--red { background: var(--esx-red); color: #fff !important; }
.esx-btn--red:hover { background: var(--esx-red-d); }
.esx-btn--ink { background: var(--esx-ink); color: #fff !important; }
.esx-btn--ink:hover { background: var(--esx-red); }
.esx-btn--line { border-color: var(--esx-ink); color: var(--esx-ink) !important; background: transparent; }
.esx-btn--line:hover { background: var(--esx-ink); color: #fff !important; }
.esx-btn--light { border-color: #fff; color: #fff !important; background: transparent; }
.esx-btn--light:hover { background: #fff; color: var(--esx-ink) !important; }

/* ---------- Topbar ---------- */
.esx-tb { background: var(--esx-ink); color: #c4c9cf; font: 400 12.5px/1.4 var(--esx-font-b); }
.esx-tb__in {
  max-width: var(--esx-wrap); margin: 0 auto; padding: 8px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 6px 24px; flex-wrap: wrap;
}
.esx-tb p { margin: 0; }
.esx-tb a { color: #fff; }
.esx-tb a:hover { color: #fff; text-decoration: underline; }
.esx-tb__sep { opacity: .35; margin: 0 8px; }

/* ---------- Header / menú ---------- */
.esx-hd {
  position: sticky; top: 0; z-index: 1000;
  background: #fff; border-bottom: 1px solid var(--esx-line);
  font-family: var(--esx-font-b);
}
.esx-hd__in {
  max-width: var(--esx-wrap); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; min-height: 72px;
}
.esx-hd__logo { display: block; flex: 0 0 auto; }
.esx-hd__logo img { height: 46px; width: auto; display: block; }
.esx-nav { margin-left: auto; }
.esx-nav__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
.esx-nav__item { position: relative; }
.esx-nav__link {
  display: flex; align-items: center; gap: 7px;
  padding: 26px 12px;
  font: 600 14px/1 var(--esx-font-h); letter-spacing: -0.005em;
  color: var(--esx-ink); background: none; border: 0; cursor: pointer; text-decoration: none;
  transition: color .2s;
}
.esx-nav__item.has-dd > .esx-nav__link::after {
  content: ""; width: 5px; height: 5px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .2s;
}
.esx-nav__item:hover > .esx-nav__link,
.esx-nav__item.is-open > .esx-nav__link,
.esx-nav__item.is-current > .esx-nav__link { color: var(--esx-red); }
.esx-nav__item.is-open > .esx-nav__link::after { transform: rotate(225deg); margin-top: 2px; }
.esx-nav__cta { margin-left: 10px; }
.esx-nav__cta .esx-btn { padding: 12px 20px; }

.esx-dd {
  position: absolute; left: 0; top: 100%;
  min-width: 270px; margin: 0; padding: 8px 0; list-style: none;
  background: #fff; border: 1px solid var(--esx-line); border-top: 2px solid var(--esx-red);
  box-shadow: 0 20px 44px rgba(20, 23, 27, .12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility 0s linear .18s;
}
.esx-nav__item:hover > .esx-dd,
.esx-nav__item.is-open > .esx-dd,
.esx-nav__item:focus-within > .esx-dd {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.esx-nav__list > .esx-nav__item:nth-last-child(-n+4) > .esx-dd { left: auto; right: 0; }
.esx-dd a {
  display: block; padding: 10px 20px;
  font: 500 13.5px/1.35 var(--esx-font-b); color: var(--esx-ink-2); text-decoration: none;
}
.esx-dd a:hover, .esx-dd a[aria-current] { background: var(--esx-sand); color: var(--esx-red); }

.esx-burger {
  display: none; margin-left: auto; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--esx-line); border-radius: 2px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.esx-burger span { display: block; width: 20px; height: 2px; background: var(--esx-ink); }

@media (max-width: 1120px) {
  .esx-burger { display: flex; }
  .esx-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--esx-line);
    max-height: calc(100vh - 120px); overflow-y: auto; margin: 0;
  }
  .esx-hd.is-open .esx-nav { display: block; }
  .esx-nav__list { flex-direction: column; align-items: stretch; padding: 8px 24px 20px; gap: 0; }
  .esx-nav__item { border-bottom: 1px solid var(--esx-line); }
  .esx-nav__link { width: 100%; padding: 16px 0; justify-content: space-between; }
  .esx-dd {
    position: static; display: none; min-width: 0; border: 0; box-shadow: none; padding: 0 0 10px 12px;
    opacity: 1; visibility: visible; transform: none;
  }
  .esx-nav__item:hover > .esx-dd { display: none; }
  .esx-nav__item.is-open > .esx-dd { display: block; }
  .esx-nav__item:focus-within > .esx-dd { display: none; }
  .esx-nav__item.is-open:focus-within > .esx-dd { display: block; }
  .esx-nav__cta { margin: 16px 0 0; border: 0; }
  .esx-nav__cta .esx-btn { width: 100%; }
}
@media (max-width: 640px) {
  .esx-tb__contact { display: none; }
  .esx-hd__logo img { height: 40px; }
}

/* ---------- Carrusel ---------- */
.esx-hero {
  position: relative; background: var(--esx-ink); color: #fff; overflow: hidden;
  height: clamp(500px, 76vh, 720px);
}
.esx-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease, visibility 0s linear .7s;
}
.esx-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.esx-slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.esx-slide::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(12,14,17,.86) 0%, rgba(12,14,17,.58) 46%, rgba(12,14,17,.12) 100%);
}
.esx-slide__in {
  position: relative; z-index: 2; height: 100%;
  max-width: var(--esx-wrap); margin: 0 auto; padding: 0 24px 40px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.esx-slide__eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font: 700 12px/1 var(--esx-font-h); letter-spacing: .16em; text-transform: uppercase; color: #fff;
}
.esx-slide__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--esx-red); }
.esx-slide__title {
  max-width: 780px; margin: 0;
  font: 800 clamp(34px, 5.2vw, 62px)/1.04 var(--esx-font-h); letter-spacing: -0.03em; color: #fff;
}
.esx-slide__title--md { font-weight: 700; font-size: clamp(32px, 4.6vw, 54px); }
.esx-slide__sub { max-width: 560px; margin: 22px 0 0; font-size: 18px; line-height: 1.55; color: #e2e5e8; }
.esx-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.esx-hero__bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; }
.esx-hero__bar-in {
  max-width: var(--esx-wrap); margin: 0 auto; padding: 0 24px 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.esx-dots { display: flex; gap: 8px; }
.esx-dot { width: 34px; height: 4px; padding: 0; border: 0; cursor: pointer; background: rgba(255,255,255,.38); transition: background .2s; }
.esx-dot[aria-current] { background: #fff; }
.esx-arrows { display: flex; gap: 8px; }
.esx-arrow {
  width: 46px; height: 46px; padding: 0; cursor: pointer;
  background: rgba(20,23,27,.55); border: 1px solid rgba(255,255,255,.35); color: #fff;
  font: 400 20px/1 var(--esx-font-b); transition: background .2s, border-color .2s;
}
.esx-arrow:hover { background: var(--esx-red); border-color: var(--esx-red); }

/* ---------- Barra de confianza ---------- */
.esx-trust { border-bottom: 1px solid var(--esx-line); background: #fff; }
.esx-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.esx-trust__i { padding: 26px 24px; border-left: 1px solid var(--esx-line); }
.esx-trust__i:first-child { border-left: 0; padding-left: 0; }
.esx-trust__n { display: block; font: 800 26px/1.1 var(--esx-font-h); color: var(--esx-ink); letter-spacing: -0.02em; }
.esx-trust__t { display: block; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--esx-muted); }
.esx-trust a.esx-trust__i:hover .esx-trust__n { color: var(--esx-red); }

/* ---------- Secciones ---------- */
.esx-sec { padding: 88px 0; }
.esx-sec--tight { padding: 60px 0; }
.esx-sec--sand { background: var(--esx-sand); }
.esx-sec--line { border-top: 1px solid var(--esx-line); }
.esx-sec--ink { background: var(--esx-ink); color: #cfd3d8; }
.esx-sec--ink :is(h2, h3, h4) { color: #fff; }

.esx-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px 40px; margin-bottom: 42px; }
.esx-head__txt { max-width: 780px; }
.esx-eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 16px;
  font: 700 12px/1 var(--esx-font-h); letter-spacing: .15em; text-transform: uppercase; color: var(--esx-red);
}
.esx-eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.esx-h2 { font: 700 clamp(26px, 3.2vw, 38px)/1.12 var(--esx-font-h); letter-spacing: -0.02em; }
.esx-lead { margin: 16px 0 0; max-width: 70ch; font-size: 17px; line-height: 1.7; color: var(--esx-muted); }
.esx-sec--ink .esx-lead { color: #b9bec5; }
.esx-more {
  font: 700 14px/1 var(--esx-font-h); color: var(--esx-ink); white-space: nowrap;
  padding-bottom: 7px; border-bottom: 2px solid var(--esx-red); transition: color .2s;
}
.esx-more:hover { color: var(--esx-red); }
.esx-foot { margin-top: 40px; text-align: center; }

/* ---------- Ofertas (4 en fila) ---------- */
.esx-promos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.esx-promo { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--esx-line); transition: border-color .2s, box-shadow .25s, transform .25s; }
.esx-promo:hover { border-color: var(--esx-ink); box-shadow: 0 18px 36px rgba(20,23,27,.10); transform: translateY(-3px); }
.esx-promo__img { position: relative; display: block; aspect-ratio: var(--esx-promo-ratio); background: #fff; overflow: hidden; }
.esx-promo__img img { width: 100%; height: 100%; object-fit: contain; }
.esx-promo__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--esx-red); color: #fff; padding: 7px 10px;
  font: 700 11px/1 var(--esx-font-h); letter-spacing: .1em; text-transform: uppercase;
}
.esx-promo__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 22px; border-top: 1px solid var(--esx-line); }
.esx-promo__name { font: 700 16px/1.3 var(--esx-font-h); color: var(--esx-ink); }
.esx-promo__old { font-size: 13px; color: var(--esx-muted); text-decoration: line-through; }
.esx-promo__price { margin-top: 2px; font: 800 24px/1.1 var(--esx-font-h); letter-spacing: -0.02em; color: var(--esx-ink); }
.esx-promo__iva { font-size: 12px; color: var(--esx-muted); }

/* ---------- Líneas de producto (tarjetas con foto) ---------- */
.esx-lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.esx-line { display: block; background: #fff; border: 1px solid var(--esx-line); transition: border-color .2s; }
.esx-line:hover { border-color: var(--esx-ink); }
.esx-line__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--esx-sand); }
.esx-line__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.esx-line:hover .esx-line__img img { transform: scale(1.04); }
.esx-line__body { display: block; padding: 22px 24px 26px; }
.esx-line__t { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 700 18px/1.25 var(--esx-font-h); color: var(--esx-ink); }
.esx-line__t::after { content: "→"; font-weight: 400; color: var(--esx-red); transition: transform .2s; }
.esx-line:hover .esx-line__t::after { transform: translateX(4px); }
.esx-line__d { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--esx-muted); }

/* ---------- Tarjetas de producto ---------- */
.esx-grid { display: grid; gap: 20px; grid-template-columns: repeat(6, 1fr); }
.esx-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.esx-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.esx-pc { display: block; background: #fff; border: 1px solid var(--esx-line); transition: border-color .2s, box-shadow .25s; }
.esx-pc:hover { border-color: var(--esx-ink); box-shadow: 0 14px 30px rgba(20,23,27,.09); }
.esx-pc__img { display: block; aspect-ratio: 1 / 1; padding: 10px; background: #fff; overflow: hidden; }
.esx-pc__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s; }
.esx-pc:hover .esx-pc__img img { transform: scale(1.05); }
.esx-pc__name { display: block; padding: 13px 14px 15px; border-top: 1px solid var(--esx-line); font: 700 13.5px/1.3 var(--esx-font-h); color: var(--esx-ink); }
.esx-pc__name small { display: block; margin-bottom: 5px; font: 500 10.5px/1.2 var(--esx-font-b); letter-spacing: .1em; text-transform: uppercase; color: var(--esx-muted); }
.esx-grid--4 .esx-pc__name, .esx-grid--3 .esx-pc__name { font-size: 15px; padding: 16px 18px 18px; }
.esx-pc__desc { display: block; margin-top: 6px; font: 400 13.5px/1.5 var(--esx-font-b); color: var(--esx-muted); }

/* ---------- Bloque dividido (texto + imágenes) ---------- */
.esx-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.esx-split__txt p { color: var(--esx-muted); font-size: 17px; line-height: 1.75; }
.esx-sec--ink .esx-split__txt p { color: #b9bec5; }
.esx-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.esx-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--esx-line); }
.esx-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 30px; padding: 0; list-style: none; }
.esx-tags li { padding: 8px 14px; border: 1px solid var(--esx-line); background: #fff; font: 600 13px/1 var(--esx-font-h); color: var(--esx-ink); }
.esx-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Empresas (bloque oscuro) ---------- */
.esx-uses { margin: 28px 0 34px; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.esx-uses a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.16);
  font: 600 16px/1.3 var(--esx-font-h); color: #fff; transition: color .2s, padding .2s;
}
.esx-uses a::after { content: "→"; font-weight: 400; color: var(--esx-red); }
.esx-uses a:hover { color: #fff; padding-left: 8px; }
.esx-uses small { display: block; margin-top: 3px; font: 400 13.5px/1.4 var(--esx-font-b); color: #a8aeb6; }
.esx-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid rgba(255,255,255,.16); }
.esx-pillar { padding: 30px 32px 0 0; }
.esx-pillar + .esx-pillar { padding-left: 32px; border-left: 1px solid rgba(255,255,255,.16); }
.esx-pillar h3 { font: 700 18px/1.3 var(--esx-font-h); margin-bottom: 10px; }
.esx-pillar p { margin: 0; font-size: 15px; line-height: 1.65; color: #b9bec5; }

/* ---------- Tabla comparativa ---------- */
.esx-tablewrap { overflow-x: auto; border: 1px solid var(--esx-line); background: #fff; }
.esx-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.esx-table caption { text-align: left; padding: 0; }
.esx-table th, .esx-table td { text-align: left; vertical-align: top; padding: 20px 24px; border-bottom: 1px solid var(--esx-line); }
.esx-table thead th { background: var(--esx-ink); color: #fff; font: 700 12px/1 var(--esx-font-h); letter-spacing: .12em; text-transform: uppercase; border-bottom: 0; }
.esx-table tbody th { font: 700 16px/1.3 var(--esx-font-h); color: var(--esx-ink); white-space: nowrap; }
.esx-table tbody tr:last-child > * { border-bottom: 0; }
.esx-table a { font: 700 14px/1 var(--esx-font-h); color: var(--esx-ink); border-bottom: 2px solid var(--esx-red); padding-bottom: 4px; white-space: nowrap; }
.esx-table a:hover { color: var(--esx-red); }

/* ---------- Dos tarjetas grandes (escritorios / descansapiés) ---------- */
.esx-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.esx-feat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--esx-line); }
.esx-feat__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--esx-sand); }
.esx-feat__img img { width: 100%; height: 100%; object-fit: cover; }
.esx-feat__body { padding: 28px 30px 32px; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.esx-feat__body h3 { font: 700 22px/1.2 var(--esx-font-h); margin-bottom: 10px; }
.esx-feat__body p { color: var(--esx-muted); font-size: 16px; line-height: 1.7; margin-bottom: 22px; }
.esx-feat__body .esx-btn { margin-top: auto; }

/* ---------- Testimonios y clientes ---------- */
.esx-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.esx-quote { margin: 0; padding: 32px 30px; background: #fff; border: 1px solid var(--esx-line); display: flex; flex-direction: column; }
.esx-quote p { margin: 0 0 26px; font-size: 16px; line-height: 1.75; color: var(--esx-ink-2); }
.esx-quote p::before { content: "“"; display: block; margin-bottom: 4px; font: 800 44px/0.8 var(--esx-font-h); color: var(--esx-red); }
.esx-quote footer { margin-top: auto; display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--esx-line); }
.esx-quote img { width: 48px; height: 48px; object-fit: cover; }
.esx-quote cite { display: block; font: 700 15px/1.3 var(--esx-font-h); font-style: normal; color: var(--esx-ink); }
.esx-quote span { display: block; font-size: 13px; color: var(--esx-muted); }
.esx-clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 40px; border: 1px solid var(--esx-line); background: #fff; }
.esx-clients > div { display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 18px 26px; border-left: 1px solid var(--esx-line); }
.esx-clients > div:first-child { border-left: 0; }
.esx-clients img { max-height: 56px; width: auto; filter: grayscale(1); opacity: .72; transition: filter .25s, opacity .25s; }
.esx-clients > div:hover img { filter: none; opacity: 1; }

/* ---------- Blog ---------- */
.esx-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--esx-line); transition: border-color .2s; }
.esx-post:hover { border-color: var(--esx-ink); }
.esx-post__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--esx-sand); }
.esx-post__img img { width: 100%; height: 100%; object-fit: cover; }
.esx-post__body { display: block; padding: 20px 22px 24px; }
.esx-post__t { display: block; font: 700 16px/1.35 var(--esx-font-h); color: var(--esx-ink); }
.esx-post__d { display: block; margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--esx-muted); }

/* ---------- FAQ ---------- */
.esx-faq { max-width: 920px; margin: 0 auto; border-bottom: 1px solid var(--esx-line); }
.esx-faq details { border-top: 1px solid var(--esx-line); }
.esx-faq summary {
  position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0;
  font: 700 18px/1.35 var(--esx-font-h); color: var(--esx-ink);
}
.esx-faq summary::-webkit-details-marker { display: none; }
.esx-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--esx-font-b); color: var(--esx-red); }
.esx-faq details[open] summary::after { content: "–"; }
.esx-faq details > div { padding: 0 48px 26px 0; }
.esx-faq details p { margin: 0; font-size: 16px; line-height: 1.8; color: var(--esx-muted); }

/* ---------- Cierre ---------- */
.esx-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.esx-cta__box { border-left: 1px solid rgba(255,255,255,.18); padding-left: 56px; }
.esx-cta__box p { margin: 0 0 6px; color: #b9bec5; font-size: 15px; }
.esx-cta__box strong { display: block; margin-bottom: 18px; font: 700 20px/1.3 var(--esx-font-h); color: #fff; }
.esx-cta__box a:not(.esx-btn) { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.esx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Footer ---------- */
.esx-ft { background: var(--esx-ink); color: #b4bac1; font: 400 14.5px/1.7 var(--esx-font-b); }
.esx-ft a { color: #d4d8dc; text-decoration: none; transition: color .2s; }
.esx-ft a:hover { color: #fff; text-decoration: underline; }
.esx-ft__main { padding: 72px 24px 56px; }
.esx-ft__grid { max-width: var(--esx-wrap); margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1.1fr 1.2fr .8fr; gap: 48px; }
.esx-ft__t { margin: 0 0 20px; font: 700 13px/1 var(--esx-font-h); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.esx-ft__logo { margin-bottom: 20px; height: 44px; width: auto; }
.esx-ft p { margin: 0 0 14px; }
.esx-ft address { font-style: normal; margin-bottom: 16px; }
.esx-ft address strong { color: #fff; font-weight: 600; }
.esx-ft__list, .esx-ft__social { list-style: none; margin: 0; padding: 0; }
.esx-ft__list li { padding: 4px 0; }
.esx-ft__note { margin-top: 16px !important; font-size: 13px; color: #8d949c; }
.esx-ft__pse { display: inline-block; margin: 4px 0 18px; }
.esx-ft__pse img { height: 40px; width: auto; background: #fff; padding: 4px 8px; }
.esx-ft__social { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.esx-ft__social a { font-weight: 600; font-size: 13.5px; }
.esx-ft__bar { border-top: 1px solid rgba(255,255,255,.1); }
.esx-ft__bar-in { max-width: var(--esx-wrap); margin: 0 auto; padding: 20px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: #8d949c; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .esx-grid { grid-template-columns: repeat(4, 1fr); }
  .esx-promos { grid-template-columns: repeat(2, 1fr); }
  .esx-ft__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .esx-sec { padding: 64px 0; }
  .esx-lines { grid-template-columns: repeat(2, 1fr); }
  .esx-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .esx-split, .esx-cta, .esx-duo { grid-template-columns: 1fr; gap: 36px; }
  .esx-cta__box { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 32px; }
  .esx-quotes { grid-template-columns: 1fr; }
  .esx-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .esx-trust__i:nth-child(3) { border-left: 0; padding-left: 0; }
  .esx-trust__i:nth-child(n+3) { border-top: 1px solid var(--esx-line); }
  .esx-pillars { grid-template-columns: 1fr; }
  .esx-pillar, .esx-pillar + .esx-pillar { padding: 24px 0 0; border-left: 0; }
  .esx-clients { grid-template-columns: repeat(3, 1fr); }
  .esx-clients > div:nth-child(4) { border-left: 0; }
  .esx-clients > div:nth-child(n+4) { border-top: 1px solid var(--esx-line); }
}
@media (max-width: 760px) {
  .esx-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .esx-grid--3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .esx-hero { height: 560px; }
  .esx-slide__sub { font-size: 16px; }
  .esx-arrows { display: none; }
  .esx-grid { grid-template-columns: repeat(2, 1fr); }
  .esx-promos { gap: 12px; }
  .esx-promo__body { padding: 14px 14px 18px; }
  .esx-promo__price { font-size: 19px; }
  .esx-lines { grid-template-columns: 1fr; }
  .esx-ft__grid { grid-template-columns: 1fr; gap: 36px; }
  .esx-faq summary { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .esx-slide, .esx-pc__img img, .esx-line__img img, .esx-promo { transition: none; }
}
