/* ==========================================================================
   Electrofret Core · complementos del sistema visual (v1.0.0)
   Se carga DESPUÉS del style.css del tema hijo y nunca dentro del editor.
   Prefijo nuevo: .ef-x-  (las clases .ef- siguen viniendo del tema).
   ========================================================================== */

/* Reset de botones: Hello Elementor pinta todos los <button> en rosa. */
.ef-site button,
.ef-site [type="submit"],
.ef-site [type="button"] {
  font: inherit;
  text-transform: none;
  white-space: normal;
  letter-spacing: inherit;
}
.ef-site button.ef-cta,
.ef-site button.ef-cta:hover,
.ef-site button.ef-cta:focus {
  border: 0;
  color: #fff;
}
.ef-site button.ef-cta { background: var(--ef-red); }
.ef-site button.ef-cta:hover { background: var(--ef-red-dark); }
.ef-site button.ef-cta:disabled { opacity: .55; cursor: progress; }
.ef-site :focus-visible { outline: 2px solid var(--ef-blue); outline-offset: 2px; }

.ef-cta--ghost-dark {
  background: transparent !important;
  color: var(--ef-ink) !important;
  border: 1px solid color-mix(in oklab, var(--ef-ink) 22%, transparent);
}
.ef-cta--ghost-dark:hover { background: color-mix(in oklab, var(--ef-ink) 6%, transparent) !important; }
.ef-cta--sm { min-height: 2.25rem; padding: 0 .85rem; font-size: .8rem; }

.ef-ico { width: 1.25rem; height: 1.25rem; flex: none; display: inline-block; vertical-align: middle; }
.ef-ico--sm { width: 1rem; height: 1rem; }
.ef-ico--lg { width: 2rem; height: 2rem; color: var(--ef-blue); margin-bottom: .6rem; }
.ef-ico--xl { width: 2.75rem; height: 2.75rem; color: var(--ef-blue); }

.ef-x-muted { color: var(--ef-muted); }
.ef-x-muted a, .ef-x-content a:not(.ef-cta):not(.ef-x-svc):not(.ef-card) { color: var(--ef-blue); font-weight: 500; }

/* ---------- Topbar / mega / móvil / footer generados ---------- */
.ef-topbar__portal {
  padding-left: 1rem;
  border-left: 1px solid rgb(255 255 255 / 18%);
  color: #fff !important;
  font-weight: 500;
}
@media (max-width: 899px) { .ef-topbar__portal { display: none; } }

.ef-mega__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ef-line);
}
.ef-mega .ef-mega__foot a {
  border: 0;
  padding: 0;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ef-red);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.ef-mega .ef-mega__foot a + a { color: var(--ef-muted); font-weight: 500; }
@media (min-width: 900px) { .ef-mega { max-height: calc(100svh - 7rem); overflow-y: auto; } }

.ef-nav button.is-current { background: color-mix(in oklab, var(--ef-ink) 6%, transparent); }

.ef-mobile__group summary {
  list-style: none;
  cursor: pointer;
  padding: .85rem 0;
  border-bottom: 1px solid var(--ef-line);
  display: flex;
  justify-content: space-between;
}
.ef-mobile__group summary::-webkit-details-marker { display: none; }
.ef-mobile__group summary::after { content: "+"; font-weight: 600; color: var(--ef-muted); }
.ef-mobile__group[open] summary::after { content: "–"; }
.ef-mobile__list { padding: .25rem 0 .5rem .75rem; }
.ef-mobile__list p {
  margin: .75rem 0 .1rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ef-muted);
}
.ef-mobile .ef-mobile__list a { padding: .55rem 0; font-size: .95rem; }
.ef-mobile .ef-mobile__cta {
  margin-top: 1rem;
  text-align: center;
  background: var(--ef-red);
  color: #fff !important;
  border-radius: 8px;
  border-bottom: 0;
  font-weight: 600;
}

@media (min-width: 900px) {
  .ef-footer__grid.ef-footer__grid--x { grid-template-columns: 1.3fr 1.5fr 1fr 1fr; }
}
.ef-footer__cols { columns: 2; column-gap: 1.25rem; }
.ef-footer__cols li { break-inside: avoid; }
.ef-footer__since { font-size: .8rem; color: #9aa0a8; max-width: 34ch; }

/* ---------- Héroe de fichas y páginas ---------- */
.ef-x-hero { min-height: 72svh; }
.ef-x-hero--short { min-height: 52svh; }
.ef-x-hero .ef-pagehero__copy { max-width: 46rem; }
.ef-x-hero h1 { max-width: 20ch; }
.ef-x-hero p { max-width: 52ch !important; }
.ef-x-hero__ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.ef-x-hero .ef-ph { color: rgb(255 255 255 / 70%); }

.ef-x-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  font-size: 12px;
  letter-spacing: .04em;
  margin-bottom: .8rem;
  color: var(--ef-muted);
}
.ef-x-crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, currentColor 40%, transparent); }
.ef-x-crumbs span[aria-hidden] { opacity: .5; }
.ef-pagehero .ef-x-crumbs, .ef-pagehero .ef-x-crumbs a, .ef-pagehero .ef-x-crumbs span { color: rgb(255 255 255 / 82%) !important; }

.ef-x-typehero {
  background: var(--ef-ink);
  color: #fff;
  padding: 7rem 1.5rem 3.5rem;
  position: relative;
  overflow: hidden;
}
.ef-x-typehero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 85% 10%, rgb(1 137 214 / 28%), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgb(198 29 59 / 22%), transparent 70%);
  pointer-events: none;
}
.ef-x-typehero > .ef-wrap { position: relative; }
.ef-site .ef-x-typehero h1 { color: #fff !important; font-size: clamp(2.1rem, 4.6vw, 3.8rem); margin: .4rem 0 .8rem; max-width: 22ch; }
.ef-x-typehero p { color: rgb(255 255 255 / 80%); max-width: 56ch; margin: 0; }
.ef-x-typehero .ef-x-crumbs, .ef-x-typehero .ef-x-crumbs a { color: rgb(255 255 255 / 70%); }
.ef-x-typehero .ef-kicker { color: #bfe4ff; }
.ef-x-typehero__fig { margin-top: 2rem; display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; }
.ef-x-typehero__fig strong { font-family: var(--ef-display); font-size: clamp(2.6rem, 7vw, 5.2rem); letter-spacing: -.04em; line-height: 1; }
.ef-x-typehero__fig span { color: #b4b8c0; font-size: .95rem; }
.ef-x-typehero--light { background: var(--ef-paper); color: var(--ef-ink); padding-top: 3.5rem; padding-bottom: 1rem; }
.ef-x-typehero--light::before { display: none; }
.ef-site .ef-x-typehero--light h1 { color: var(--ef-ink) !important; }
.ef-x-typehero--light p { color: var(--ef-muted); }
.ef-x-typehero--light .ef-x-crumbs, .ef-x-typehero--light .ef-x-crumbs a { color: var(--ef-muted); }

/* ---------- Prueba social ---------- */
.ef-section--proof { padding-top: 0; padding-bottom: 0; }
.ef-x-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ef-white);
  border: 1px solid var(--ef-line);
  border-radius: 14px;
  transform: translateY(-2.2rem);
  box-shadow: 0 20px 50px -34px rgb(17 19 24 / 45%);
  position: relative;
  z-index: 2;
}
@media (min-width: 800px) { .ef-x-proof { grid-template-columns: repeat(4, 1fr); } }
.ef-x-proof div { padding: 1.1rem 1.25rem; border-right: 1px solid var(--ef-line); border-bottom: 1px solid var(--ef-line); }
.ef-x-proof strong { display: block; font-family: var(--ef-display); font-size: 1.35rem; letter-spacing: -.02em; }
.ef-x-proof span { font-size: .8rem; color: var(--ef-muted); }

/* ---------- Listas de comprobación ---------- */
.ef-x-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
@media (min-width: 760px) { .ef-x-checks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .ef-x-checks { grid-template-columns: 1fr 1fr 1fr; } }
.ef-x-checks--col { grid-template-columns: 1fr !important; }
.ef-x-checks li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  background: var(--ef-white);
  border: 1px solid var(--ef-line);
  border-radius: 12px;
  font-size: .95rem;
}
.ef-x-checks li .ef-ico { color: var(--ef-red); margin-top: .1rem; }

.ef-x-steps .ef-dept, .ef-x-points .ef-dept { min-height: 0; }
.ef-x-points { display: grid; gap: .75rem; }
@media (min-width: 760px) { .ef-x-points { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .ef-x-points { grid-template-columns: 1fr 1fr 1fr; } }
.ef-site .ef-dept h3 { color: var(--ef-ink) !important; }

/* ---------- Caso ---------- */
.ef-x-case {
  position: relative;
  display: block;
  min-height: 22rem;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  background: var(--ef-ink);
}
.ef-x-case img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ef-ease); }
a.ef-x-case:hover img { transform: scale(1.05); }
.ef-x-case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgb(17 19 24 / 88%) 100%); }
.ef-x-case--type::after { background: radial-gradient(60% 80% at 90% 0%, rgb(1 137 214 / 35%), transparent 70%); }
.ef-x-case__meta { position: absolute; z-index: 1; left: 1.5rem; right: 1.5rem; bottom: 1.5rem; max-width: 46rem; }
.ef-x-case__meta small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-bottom: .4rem; }
.ef-site .ef-x-case__meta h3 { color: #fff !important; font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .5rem; text-shadow: 0 2px 24px rgb(0 0 0 / 45%); }
.ef-x-case__meta p { margin: 0; color: rgb(255 255 255 / 84%); }
.ef-x-case__go { display: inline-flex; gap: .4rem; align-items: center; margin-top: .9rem; font-weight: 600; font-size: .85rem; }

/* ---------- Servicios (tarjetas con icono) ---------- */
.ef-x-svcgrid { display: grid; gap: .75rem; }
@media (min-width: 700px) { .ef-x-svcgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .ef-x-svcgrid { grid-template-columns: 1fr 1fr 1fr; } .ef-x-svcgrid--2 { grid-template-columns: 1fr 1fr; } }
.ef-x-svc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--ef-white);
  border: 1px solid var(--ef-line);
  border-radius: 14px;
  color: var(--ef-ink);
  transition: transform 280ms var(--ef-ease), border-color 280ms var(--ef-ease), box-shadow 280ms var(--ef-ease);
}
a.ef-x-svc:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--ef-ink) 26%, transparent); box-shadow: 0 18px 40px -28px rgb(17 19 24 / 45%); }
.ef-x-svc--static { grid-template-columns: auto 1fr; }
.ef-x-svc__ico {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: color-mix(in oklab, var(--ef-blue) 10%, transparent);
  color: var(--ef-blue);
}
.ef-x-svc__body h3 { font-size: 1.1rem; margin: .1rem 0 .3rem; color: var(--ef-ink) !important; }
.ef-x-svc__body p { margin: 0; font-size: .9rem; color: var(--ef-muted); }
.ef-x-svc__tags { display: flex; gap: .35rem; margin-top: .7rem; flex-wrap: wrap; }
.ef-x-svc__tags em {
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .2rem .5rem;
  border-radius: 999px;
  background: var(--ef-paper);
  color: var(--ef-muted);
}
.ef-x-svc__go { color: var(--ef-red); opacity: .55; transition: transform 280ms var(--ef-ease), opacity 280ms; padding-top: .2rem; }
a.ef-x-svc:hover .ef-x-svc__go { transform: translateX(3px); opacity: 1; }

.ef-x-more { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; font-size: .9rem; color: var(--ef-red) !important; }

/* Selector de camino en /servicios */
.ef-x-chooser-wrap { padding-top: 2.5rem; }
.ef-x-chooser { display: grid; gap: .6rem; }
@media (min-width: 700px) { .ef-x-chooser { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .ef-x-chooser { grid-template-columns: repeat(4, 1fr); } }
.ef-x-chooser a {
  display: flex;
  gap: .85rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: var(--ef-ink);
  color: #fff !important;
  transition: transform 220ms var(--ef-ease), background 220ms;
}
.ef-x-chooser a:hover { transform: translateY(-2px); background: var(--ef-ink-2); }
.ef-x-chooser .ef-ico { width: 1.6rem; height: 1.6rem; color: #bfe4ff; }
.ef-x-chooser span { font-size: .8rem; color: #b4b8c0; line-height: 1.35; }
.ef-x-chooser strong { display: block; color: #fff; font-size: .95rem; }
.ef-x-chooser a:last-child { background: var(--ef-red); }
.ef-x-chooser a:last-child .ef-ico { color: #fff; }
.ef-x-chooser a:last-child span { color: rgb(255 255 255 / 80%); }

/* ---------- FAQ ---------- */
.ef-x-faqwrap { display: grid; gap: 2rem; }
@media (min-width: 900px) { .ef-x-faqwrap { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; } }
.ef-x-faqwrap h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: .35rem 0 .8rem; }
.ef-x-faq details {
  border-bottom: 1px solid var(--ef-line);
  padding: 1.05rem 0;
}
.ef-x-faq details:first-child { border-top: 1px solid var(--ef-line); }
.ef-x-faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--ef-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -.01em;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.ef-x-faq summary::-webkit-details-marker { display: none; }
.ef-x-faq summary::after { content: "+"; color: var(--ef-red); font-size: 1.3rem; line-height: 1; transition: transform 250ms var(--ef-ease); }
.ef-x-faq details[open] summary::after { transform: rotate(45deg); }
.ef-x-faq details > div { color: var(--ef-muted); padding-top: .5rem; max-width: 62ch; }
.ef-x-faq details > div p { margin: 0 0 .6rem; }

/* ---------- Proyectos ---------- */
.ef-x-projhead { padding-bottom: 1.5rem; }
.ef-site .ef-x-h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin: .35rem 0 0; }
.ef-x-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ef-line); border: 1px solid var(--ef-line); border-radius: 14px; overflow: hidden; }
@media (min-width: 900px) { .ef-x-stats { grid-template-columns: repeat(4, 1fr); } }
.ef-x-stats li { background: var(--ef-white); padding: 1.2rem 1.25rem; }
.ef-x-stats strong { display: block; font-family: var(--ef-display); font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.03em; }
.ef-x-stats span { font-size: .8rem; color: var(--ef-muted); }

.ef-x-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.ef-site .ef-x-filters button {
  border: 1px solid var(--ef-line);
  background: var(--ef-white);
  color: var(--ef-ink);
  border-radius: 999px;
  padding: .5rem .9rem;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 160ms, color 160ms;
}
.ef-site .ef-x-filters button:hover, .ef-site .ef-x-filters button:focus { background: var(--ef-paper); color: var(--ef-ink); }
.ef-site .ef-x-filters button.is-on { background: var(--ef-ink); color: #fff; border-color: var(--ef-ink); }
.ef-x-filters button span { opacity: .6; margin-left: .2rem; }

.ef-x-projgrid { display: grid; gap: .75rem; }
@media (min-width: 700px) { .ef-x-projgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .ef-x-projgrid { grid-template-columns: 1fr 1fr 1fr; } }
@media (min-width: 900px) { .ef-x-projgrid--featured { grid-template-columns: 1.25fr 1fr; } }
.ef-x-proj {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 19rem;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  background: var(--ef-ink);
  isolation: isolate;
  transition: transform 300ms var(--ef-ease), box-shadow 300ms var(--ef-ease);
}
.ef-x-proj:hover { transform: translateY(-3px); box-shadow: 0 22px 46px -30px rgb(17 19 24 / 60%); }
.ef-x-proj--big { min-height: 26rem; }
.ef-x-proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ef-ease); }
.ef-x-proj:hover img { transform: scale(1.05); }
.ef-x-proj--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgb(17 19 24 / 88%) 100%); }
.ef-x-proj--type::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 100% 0%, rgb(1 137 214 / 30%), transparent 70%),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 4%) 0 1px, transparent 1px 48px);
}
.ef-x-proj[data-cat="frio"].ef-x-proj--type::before, .ef-x-proj[data-cat="control"].ef-x-proj--type::before { background: radial-gradient(70% 60% at 100% 0%, rgb(1 137 214 / 42%), transparent 70%), repeating-linear-gradient(0deg, rgb(255 255 255 / 4%) 0 1px, transparent 1px 48px); }
.ef-x-proj[data-cat="solar"].ef-x-proj--type::before, .ef-x-proj[data-cat="piscinas"].ef-x-proj--type::before { background: radial-gradient(70% 60% at 100% 0%, rgb(217 138 0 / 32%), transparent 70%), repeating-linear-gradient(90deg, rgb(255 255 255 / 4%) 0 1px, transparent 1px 48px); }
.ef-x-proj[data-cat="hotel"].ef-x-proj--type::before, .ef-x-proj[data-cat="viviendas"].ef-x-proj--type::before { background: radial-gradient(70% 60% at 100% 0%, rgb(198 29 59 / 32%), transparent 70%), repeating-linear-gradient(90deg, rgb(255 255 255 / 4%) 0 1px, transparent 1px 48px); }
.ef-x-proj__meta { padding: 1.3rem; }
.ef-x-proj__meta small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-bottom: .35rem; }
.ef-site .ef-x-proj__meta h3 { color: #fff !important; font-size: 1.3rem; margin: 0; }
.ef-x-proj--big .ef-x-proj__meta h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.ef-x-proj__meta p { margin: .45rem 0 0; color: rgb(255 255 255 / 78%); font-size: .9rem; max-width: 52ch; }
.ef-x-proj__fig { display: block; font-family: var(--ef-display); font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -.04em; line-height: 1; }
.ef-x-proj__figl { display: block; font-size: .8rem; color: #b4b8c0; margin: .25rem 0 1rem; }
.ef-x-proj.is-hidden { display: none; }

.ef-x-story { display: grid; gap: 1.75rem; }
.ef-x-story__item p { color: var(--ef-muted); margin: .5rem 0 0; }
.ef-x-story__item p:first-of-type { font-size: 1.05rem; color: var(--ef-ink-2); }

/* ---------- Promo portal ---------- */
.ef-x-portal {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 2rem 1.4rem;
  border-radius: 18px;
  background: linear-gradient(135deg, color-mix(in oklab, var(--ef-blue) 10%, var(--ef-white)), var(--ef-white));
  border: 1px solid var(--ef-line);
  overflow: hidden;
}
@media (min-width: 900px) { .ef-x-portal { grid-template-columns: 1fr 1fr; padding: 3rem; } }
.ef-x-portal h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: .35rem 0 .8rem; }
.ef-x-portal p { color: var(--ef-muted); margin: 0 0 1.3rem; max-width: 50ch; }
.ef-x-portal__ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.ef-x-mock {
  background: var(--ef-ink);
  color: #fff;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 30px 60px -30px rgb(17 19 24 / 60%);
  transform: rotate(-1.2deg);
  max-width: 26rem;
  margin-inline: auto;
}
.ef-x-mock__top { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: #c5c8ce; margin-bottom: .8rem; }
.ef-x-mock__top i { width: .55rem; height: .55rem; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 3px rgb(31 157 85 / 25%); }
.ef-x-mock__top span { margin-left: auto; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #7fd1a1; }
.ef-x-mock__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.ef-x-mock__kpis div { background: rgb(255 255 255 / 6%); border-radius: 10px; padding: .6rem .7rem; }
.ef-x-mock__kpis small { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #9aa0a8; }
.ef-x-mock__kpis b { font-family: var(--ef-display); font-size: 1.2rem; }
.ef-x-mock__kpis em { display: block; font-style: normal; font-size: .72rem; color: #7fd1a1; }
.ef-x-mock__bars { display: flex; align-items: flex-end; gap: 4px; height: 70px; margin: .9rem 0; }
.ef-x-mock__bars span { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #0189d6 0 62%, #1f9d55 62% 100%); }
.ef-x-mock__bars span:nth-child(1) { height: 55%; } .ef-x-mock__bars span:nth-child(2) { height: 62%; } .ef-x-mock__bars span:nth-child(3) { height: 48%; }
.ef-x-mock__bars span:nth-child(4) { height: 70%; } .ef-x-mock__bars span:nth-child(5) { height: 66%; } .ef-x-mock__bars span:nth-child(6) { height: 88%; background: linear-gradient(180deg, #c61d3b 0 62%, #1f9d55 62% 100%); }
.ef-x-mock__bars span:nth-child(7) { height: 74%; } .ef-x-mock__bars span:nth-child(8) { height: 58%; } .ef-x-mock__bars span:nth-child(9) { height: 63%; }
.ef-x-mock__bars span:nth-child(10) { height: 51%; } .ef-x-mock__bars span:nth-child(11) { height: 60%; } .ef-x-mock__bars span:nth-child(12) { height: 68%; }
.ef-x-mock__bars span:nth-child(13) { height: 72%; } .ef-x-mock__bars span:nth-child(14) { height: 64%; }
.ef-x-mock__row { display: flex; align-items: center; gap: .5rem; font-size: .8rem; padding: .5rem 0; border-top: 1px solid rgb(255 255 255 / 8%); }
.ef-x-mock__row span { flex: 1; color: #c5c8ce; }
.ef-x-mock__row b { font-family: var(--ef-display); }
.ef-x-mock__row em { font-style: normal; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: .15rem .45rem; border-radius: 999px; }
.ef-x-mock__row em.ok { background: rgb(31 157 85 / 18%); color: #7fd1a1; }
.ef-x-mock__row em.warn { background: rgb(217 138 0 / 20%); color: #ffc764; }

.ef-x-split-cta {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: var(--ef-white);
  border: 1px solid var(--ef-line);
}
@media (min-width: 860px) { .ef-x-split-cta { grid-template-columns: 1.3fr 1fr; padding: 2.25rem 2.5rem; } }
.ef-x-split-cta h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: .3rem 0 .5rem; }
.ef-x-split-cta p { margin: 0; color: var(--ef-muted); }
.ef-x-split-cta__btns { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-start; }
@media (min-width: 860px) { .ef-x-split-cta__btns { justify-content: flex-end; } }

/* ---------- Contacto ---------- */
.ef-x-contact { display: grid; gap: .75rem; margin-top: -1.5rem; position: relative; z-index: 2; }
@media (min-width: 800px) { .ef-x-contact { grid-template-columns: repeat(3, 1fr); margin-top: -3.5rem; } }
.ef-x-contact a {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem;
  border-radius: 14px;
  background: var(--ef-white);
  border: 1px solid var(--ef-line);
  box-shadow: 0 20px 50px -34px rgb(17 19 24 / 45%);
  transition: transform 250ms var(--ef-ease);
}
.ef-x-contact a:hover { transform: translateY(-3px); }
.ef-x-contact .ef-ico { width: 1.6rem; height: 1.6rem; color: var(--ef-red); }
.ef-x-contact small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ef-muted); font-weight: 600; }
.ef-x-contact strong { display: block; font-family: var(--ef-display); font-size: 1.25rem; letter-spacing: -.02em; margin: .2rem 0; word-break: break-word; }
.ef-x-contact em { font-style: normal; font-size: .85rem; color: var(--ef-muted); }
.ef-x-content > :first-child.ef-section { padding-top: 0; }
.ef-x-content p:empty { display: none; }

/* ---------- Formulario de solicitud ---------- */
.ef-x-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ef-x-form { position: relative; }
.ef-x-seg { border: 0; margin: 0 0 .2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.ef-x-seg legend { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #b4b8c0; margin-bottom: .4rem; padding: 0; }
.ef-x-seg label { position: relative; cursor: pointer; }
.ef-x-seg input { position: absolute; opacity: 0; pointer-events: none; }
.ef-x-seg span {
  display: block;
  text-align: center;
  padding: .7rem .5rem;
  border-radius: 8px;
  border: 1px solid rgb(255 255 255 / 18%);
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  transition: background 160ms, border-color 160ms;
}
.ef-x-seg input:checked + span { background: #fff; color: var(--ef-ink); border-color: #fff; }
.ef-x-seg input:focus-visible + span { outline: 2px solid var(--ef-blue); outline-offset: 2px; }
.ef-x-row { display: grid; gap: .7rem; }
@media (min-width: 560px) { .ef-x-row { grid-template-columns: 1fr 1fr; } }
.ef-x-row > div { display: grid; gap: .7rem; }
.ef-x-opt { text-transform: none; letter-spacing: 0; opacity: .7; }
.ef-form .ef-x-check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
  font-size: .82rem;
  color: #c5c8ce;
  margin-top: .2rem;
}
.ef-form .ef-x-check input { width: 1.1rem; min-height: 1.1rem; height: 1.1rem; margin-top: .15rem; flex: none; accent-color: var(--ef-red); }
.ef-form .ef-x-check a { color: #fff; text-decoration: underline; }
.ef-x-form__note { font-size: .78rem; color: #b4b8c0; margin: .2rem 0 0 !important; }
.ef-x-form__msg:empty { display: none; }
.ef-x-form__msg { padding: .75rem .9rem; border-radius: 8px; font-size: .9rem; background: rgb(198 29 59 / 18%); color: #ffd4dc; }
.ef-form .is-invalid { border-color: #ff8fa3 !important; box-shadow: 0 0 0 3px rgb(198 29 59 / 25%); }
.ef-form select option, .ef-form select optgroup { color: var(--ef-ink); }
.ef-x-form--light label, .ef-x-form--light .ef-x-seg legend { color: var(--ef-muted); }

.ef-x-done {
  display: grid;
  gap: .9rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 12px;
  animation: ef-x-in 420ms var(--ef-ease);
}
.ef-x-done__ok { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; background: #1f9d55; color: #fff; }
.ef-site .ef-x-done h3 { color: #fff !important; font-size: 1.5rem; margin: 0; }
.ef-x-done p { margin: 0 !important; color: #c5c8ce; }
.ef-x-done ol { margin: 0; padding-left: 1.1rem; color: #c5c8ce; font-size: .92rem; }
.ef-x-done ol li { margin: .25rem 0; }
.ef-x-done__btns { display: flex; flex-wrap: wrap; gap: .5rem; }

.ef-x-steps-mini { list-style: none; margin: 1.5rem 0 0; padding: 1.25rem 0 0; border-top: 1px solid rgb(255 255 255 / 12%); display: grid; gap: .6rem; font-size: .88rem; color: #c5c8ce; }
.ef-x-steps-mini li { display: flex; gap: .7rem; align-items: center; }
.ef-x-steps-mini b { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgb(255 255 255 / 10%); color: #fff; font-size: .78rem; flex: none; }

.ef-x-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  transform: translate(-50%, 20px);
  z-index: 80;
  background: var(--ef-ink);
  color: #fff;
  padding: .8rem 1.1rem;
  border-radius: 10px;
  font-size: .9rem;
  box-shadow: 0 16px 40px rgb(0 0 0 / 30%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms, transform 220ms var(--ef-ease);
  max-width: calc(100vw - 2rem);
}
.ef-x-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .ef-x-toast { bottom: 2rem; } }

/* ---------- Entrada suave al hacer scroll ---------- */
@keyframes ef-x-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ef-js .ef-x-reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms var(--ef-ease), transform 600ms var(--ef-ease); }
.ef-js .ef-x-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ef-x-svc, .ef-x-proj, .ef-x-proj img, .ef-x-case img, .ef-x-chooser a, .ef-x-contact a, .ef-x-done { transition: none; animation: none; }
  .ef-js .ef-x-reveal { opacity: 1; transform: none; transition: none; }
  .ef-x-mock { transform: none; }
}

/* ---------- Ajustes tras revisión visual ---------- */
/* El CTA de la cabecera: .ef-nav a (tema) le quitaba el fondo. */
.ef-site .ef-nav a.ef-cta { background: var(--ef-red); color: #fff !important; margin-left: .35rem; }
.ef-site .ef-nav a.ef-cta:hover, .ef-site .ef-nav a.ef-cta.is-current { background: var(--ef-red-dark); }
.ef-site button.ef-cta { font-weight: 600; }
.ef-x-brands { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important; }
.ef-duo > :only-child { grid-column: 1 / -1; }
.ef-footer .ef-footer__cols li { margin: 0 0 .55rem; }

/* ---------- v1.0.1 ---------- */
/* Tarjetas-enlace sobre fondo oscuro: el tema fuerza "a { color: inherit }". */
.ef-site a.ef-x-proj, .ef-site a.ef-x-case { color: #fff; }
.ef-site .ef-x-proj__meta small, .ef-site .ef-x-proj__fig, .ef-site .ef-x-case__meta small, .ef-site .ef-x-case__go { color: #fff; }
.ef-site .ef-x-proj__figl { color: #b4b8c0; }

/* Mega menú: anclado al botón y desplazado lo justo para no salirse de la pantalla (ef-core.js calcula --ef-shift). */
@media (min-width: 900px) {
  .ef-site .ef-header .ef-mega { transform: translateX(calc(-50% + var(--ef-shift, 0px))) translateY(6px); }
  .ef-site .ef-header .ef-nav__item:hover .ef-mega,
  .ef-site .ef-header .ef-nav__item.is-open .ef-mega,
  .ef-site .ef-header .ef-nav__item:focus-within .ef-mega { transform: translateX(calc(-50% + var(--ef-shift, 0px))) translateY(0); opacity: 1; pointer-events: auto; }
  .ef-site .ef-header .ef-mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
}

/* ---------- v1.1.0 · más servicios (chips) ---------- */
.ef-x-chipsbox {
  display: grid;
  gap: 1.5rem;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: var(--ef-white);
  border: 1px solid var(--ef-line);
}
@media (min-width: 900px) { .ef-x-chipsbox { grid-template-columns: .9fr 1.1fr; padding: 2.25rem 2.5rem; align-items: center; } }
.ef-x-chipsbox h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: .3rem 0 .5rem; color: var(--ef-ink) !important; }
.ef-x-chipsbox p { margin: 0; color: var(--ef-muted); }
.ef-x-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.ef-site .ef-x-chips a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--ef-line);
  background: var(--ef-paper);
  color: var(--ef-ink);
  font-size: .88rem;
  font-weight: 500;
  transition: background 160ms, border-color 160ms, transform 160ms var(--ef-ease);
}
.ef-site .ef-x-chips a:hover { background: var(--ef-white); border-color: color-mix(in oklab, var(--ef-ink) 30%, transparent); transform: translateY(-1px); }
.ef-x-chips a .ef-ico { color: var(--ef-blue); }
.ef-site .ef-x-chips a.ef-x-chips__all { background: var(--ef-ink); color: #fff; border-color: var(--ef-ink); }
.ef-x-chips a.ef-x-chips__all .ef-ico { color: #fff; }
.ef-x-fine { font-size: .75rem !important; color: var(--ef-muted) !important; margin-top: .9rem !important; }

/* ---------- v1.1.0 · banner de cookies ---------- */
.ef-x-consent {
  position: fixed;
  z-index: 9999;
  left: .75rem;
  right: .75rem;
  bottom: 4.6rem;
  max-width: 30rem;
  padding: 1.1rem 1.15rem 1rem;
  border-radius: 14px;
  background: #fcfcfb;
  color: #111318;
  border: 1px solid rgb(17 19 24 / 12%);
  box-shadow: 0 24px 60px -20px rgb(17 19 24 / 45%);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  font-size: .88rem;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 240ms cubic-bezier(.22,1,.36,1), transform 240ms cubic-bezier(.22,1,.36,1);
}
.ef-x-consent.is-on { opacity: 1; transform: none; }
@media (min-width: 900px) { .ef-x-consent { left: 1.25rem; right: auto; bottom: 1.25rem; } }
.ef-x-consent strong { font-family: "Outfit", sans-serif; font-size: 1rem; }
.ef-x-consent p { margin: .35rem 0 0; color: #5c616b; }
.ef-x-consent a { color: #016eac; text-decoration: underline; }
.ef-x-consent__prefs { margin-top: .75rem; display: grid; gap: .5rem; }
.ef-x-consent__row { display: flex; gap: .6rem; align-items: flex-start; padding: .6rem .7rem; border-radius: 10px; background: #f4f3f0; cursor: pointer; }
.ef-x-consent__row input { margin-top: .2rem; accent-color: #c61d3b; width: 1rem; height: 1rem; flex: none; }
.ef-x-consent__row b { display: block; color: #111318; }
.ef-x-consent__row span { color: #5c616b; font-size: .82rem; }
.ef-x-consent__btns { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .9rem; }
.ef-x-consent .ef-x-consent__btn {
  min-height: 2.6rem;
  padding: 0 .8rem;
  border-radius: 8px;
  border: 1px solid rgb(17 19 24 / 22%);
  background: #fcfcfb;
  color: #111318;
  font: 600 .85rem/1 "IBM Plex Sans", sans-serif;
  cursor: pointer;
}
.ef-x-consent .ef-x-consent__btn:hover { background: #f4f3f0; color: #111318; }
.ef-x-consent .ef-x-consent__btn--ok, .ef-x-consent .ef-x-consent__btn[data-ef-consent="reject"] { background: #111318; color: #fff; border-color: #111318; }
.ef-x-consent .ef-x-consent__btn--ok:hover, .ef-x-consent .ef-x-consent__btn[data-ef-consent="reject"]:hover { background: #2a2d33; color: #fff; }
.ef-x-consent .ef-x-consent__btn--save { grid-column: 1 / -1; order: 3; }
.ef-x-consent .ef-x-consent__btn--link { grid-column: 1 / -1; order: 3; border: 0; background: transparent; text-decoration: underline; color: #5c616b; min-height: 2rem; font-weight: 500; }
.ef-x-consent .ef-x-consent__btn--link:hover { background: transparent; color: #111318; }
.ef-x-consent [hidden] { display: none !important; }
body.ef-portal-page .ef-x-consent { bottom: 5.5rem; }
@media (min-width: 1024px) { body.ef-portal-page .ef-x-consent { bottom: 1.25rem; left: auto; right: 1.25rem; } }

/* ---------- v1.1.0 · páginas legales ---------- */
.ef-x-legal { max-width: 46rem; }
.ef-x-legal h2 { font-size: 1.4rem; margin: 2.2rem 0 .6rem; color: var(--ef-ink) !important; }
.ef-x-legal h2:first-child { margin-top: 0; }
.ef-x-legal h3 { font-size: 1.05rem; margin: 1.3rem 0 .4rem; color: var(--ef-ink) !important; }
.ef-x-legal p { color: var(--ef-ink-2); margin: 0 0 .8rem; }
.ef-x-legal a { color: var(--ef-blue) !important; text-decoration: underline; }
.ef-x-table { overflow-x: auto; margin: .5rem 0 1rem; border: 1px solid var(--ef-line); border-radius: 12px; background: var(--ef-white); }
.ef-x-table table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 34rem; }
.ef-x-table th, .ef-x-table td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--ef-line); vertical-align: top; }
.ef-x-table th { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ef-muted); background: var(--ef-paper); }
.ef-x-table tr:last-child td { border-bottom: 0; }
.ef-x-table code { font-size: .8rem; background: var(--ef-paper); padding: .1rem .3rem; border-radius: 4px; }
.ef-legal span { opacity: .7; }
@media (max-width: 640px) {
  .ef-x-table { overflow: visible; border: 0; background: transparent; }
  .ef-x-table table { min-width: 0; }
  .ef-x-table thead { display: none; }
  .ef-x-table tr { display: block; margin-bottom: .6rem; padding: .7rem .85rem; border: 1px solid var(--ef-line); border-radius: 12px; background: var(--ef-white); }
  .ef-x-table td { display: block; position: relative; padding: .3rem 0 .3rem 6rem; border: 0; }
  .ef-x-table td::before { position: absolute; left: 0; top: .35rem; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ef-muted); padding-top: .2rem; }
  .ef-x-table td:nth-child(1)::before { content: "Cookie"; }
  .ef-x-table td:nth-child(2)::before { content: "Tipo"; }
  .ef-x-table td:nth-child(3)::before { content: "Para qué"; }
  .ef-x-table td:nth-child(4)::before { content: "Duración"; }
}

/* ---------- v1.1.1 · páginas sin plantilla (Complianz, entradas) y 404 ---------- */
.ef-x-prose { max-width: 48rem; }
.ef-x-prose h1 { display: none; }
.ef-x-prose ul, .ef-x-prose ol { margin: 0 0 1rem 1.2rem; padding: 0; color: var(--ef-ink-2); }
.ef-x-prose li { margin: .25rem 0; }
.ef-x-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.ef-x-prose form { display: grid; gap: .5rem; max-width: 34rem; margin-top: 1rem; padding: 1.25rem; border: 1px solid var(--ef-line); border-radius: 14px; background: var(--ef-white); }
.ef-x-prose label { font-size: .85rem; font-weight: 600; color: var(--ef-ink); }
.ef-x-prose input[type=text], .ef-x-prose input[type=email], .ef-x-prose input[type=date], .ef-x-prose input[type=tel], .ef-x-prose textarea, .ef-x-prose select {
  width: 100%; min-height: 2.75rem; padding: .6rem .75rem; border: 1px solid var(--ef-line); border-radius: 8px; background: var(--ef-paper); font: inherit; color: var(--ef-ink);
}
.ef-x-prose textarea { min-height: 7rem; }
.ef-x-prose input[type=submit], .ef-x-prose button { justify-self: start; min-height: 2.75rem; padding: 0 1.2rem; border: 0; border-radius: 8px; background: var(--ef-red); color: #fff; font-weight: 600; cursor: pointer; }
.ef-x-page--404 .ef-x-typehero h1 { max-width: 18ch; }
.ef-x-typehero--light .ef-kicker, .ef-x-typehero--light .ef-kicker--red { color: var(--ef-red) !important; }
.ef-x-typehero--light .ef-kicker--blue { color: var(--ef-blue) !important; }

/* ---------- v1.1.3 · tesela "Ver todos los proyectos" del mosaico de la home ---------- */
.ef-site a.ef-x-shot-cta {
  display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem;
  padding: 1.4rem; background: var(--ef-ink); color: #fff;
  background-image: radial-gradient(120% 90% at 100% 0%, rgb(1 110 172 / 45%), transparent 60%);
}
.ef-x-shot-cta::after { display: none; }
.ef-x-shot-cta__n { font-family: var(--ef-display); font-size: clamp(3rem, 6vw, 4.6rem); line-height: .9; letter-spacing: -.04em; font-weight: 600; }
.ef-x-shot-cta__l { color: rgb(255 255 255 / 75%); max-width: 26ch; font-size: .95rem; }
.ef-x-shot-cta__go { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; font-weight: 600; font-size: .9rem; }
.ef-x-shot-cta:hover .ef-x-shot-cta__go { text-decoration: underline; }

/* ==========================================================================
   1.3.0 · Fotos reales, obras legibles, premios y velocidad
   ========================================================================== */

/* ---------- Cabecera con foto de archivo (pequeña): enmarcada, no estirada ---------- */
.ef-pagehero.ef-x-hero--archive { display: grid; grid-template-columns: 1fr; align-content: end; gap: 1.5rem; }
.ef-pagehero .ef-x-archive__bg { filter: blur(26px) saturate(1.15) brightness(.7); transform: scale(1.2); }
.ef-x-archive { position: relative; z-index: 1; margin: 0; width: min(100%, 520px); justify-self: center; }
.ef-pagehero .ef-x-archive img { position: static; width: 100%; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 60px -28px rgb(0 0 0 / 70%); }
.ef-x-archive figcaption { margin-top: .5rem; font-size: 12px; color: rgb(255 255 255 / 78%); }
.ef-x-hero--archive .ef-pagehero__copy { margin: 0; width: auto; }
@media (min-width: 900px) {
  .ef-pagehero.ef-x-hero--archive {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    align-items: center;
    column-gap: 3rem;
    padding-inline: max(2rem, calc((100vw - 1120px) / 2));
  }
  .ef-x-hero--archive .ef-pagehero__copy { grid-column: 1; grid-row: 1; align-self: end; }
  .ef-x-archive { grid-column: 2; grid-row: 1; }
}

/* ---------- Galería de fotos de obra + ampliación ---------- */
.ef-x-gallery { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .ef-x-gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ef-x-gallery { grid-template-columns: repeat(3, 1fr); } }
.ef-x-gallery__item { margin: 0; background: var(--ef-white); border: 1px solid var(--ef-line); border-radius: 14px; overflow: hidden; }
.ef-x-gallery__item a { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ef-ink); cursor: zoom-in; }
.ef-x-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ef-ease); }
.ef-x-gallery__item a:hover img { transform: scale(1.04); }
.ef-x-gallery__item figcaption { padding: .7rem .9rem .8rem; font-size: .88rem; color: var(--ef-ink-2); line-height: 1.4; }
.ef-x-lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 92vh; overflow: visible; }
.ef-x-lightbox::backdrop { background: rgb(10 11 14 / 88%); }
.ef-x-lightbox img { display: block; max-width: min(96vw, 1400px); max-height: 82vh; width: auto; height: auto; border-radius: 10px; margin: 0 auto; }
.ef-x-lightbox p { color: #e6e8eb; font: 14px/1.4 var(--ef-sans, system-ui); text-align: center; margin: .7rem auto 0; max-width: 60ch; }
.ef-x-lightbox button { position: absolute; top: -2.6rem; right: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: #fff; color: #111318; font-size: 1.3rem; line-height: 1; cursor: pointer; }

/* ---------- Tarjetas de obra (claras y legibles) ---------- */
.ef-x-workgrid { display: grid; gap: .9rem; }
@media (min-width: 700px) { .ef-x-workgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .ef-x-workgrid { grid-template-columns: repeat(3, 1fr); } }
.ef-x-work {
  display: flex;
  flex-direction: column;
  background: var(--ef-white);
  border: 1px solid var(--ef-line);
  border-radius: 14px;
  overflow: hidden;
  color: var(--ef-ink);
  scroll-margin-top: 7rem;
  transition: transform 280ms var(--ef-ease), box-shadow 280ms var(--ef-ease), border-color 280ms var(--ef-ease);
}
.ef-x-work--link:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--ef-ink) 28%, transparent); box-shadow: 0 22px 44px -30px rgb(17 19 24 / 55%); }
.ef-x-work:target { border-color: var(--ef-blue); box-shadow: 0 0 0 3px color-mix(in oklab, var(--ef-blue) 35%, transparent); }
.ef-x-work.is-hidden { display: none; }
.ef-x-work__media { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 8.5rem; padding: 1.1rem 1.25rem; background: var(--ef-ink); color: #fff; overflow: hidden; isolation: isolate; }
.ef-x-work--photo .ef-x-work__media { aspect-ratio: 16 / 10; min-height: 0; padding: 0; }
.ef-x-work__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ef-ease); }
.ef-x-work--link:hover .ef-x-work__media img { transform: scale(1.04); }
.ef-x-work--type .ef-x-work__media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 90% at 100% 0%, rgb(1 137 214 / 38%), transparent 70%), repeating-linear-gradient(90deg, rgb(255 255 255 / 4%) 0 1px, transparent 1px 44px); }
.ef-x-work[data-cat="solar"] .ef-x-work__media::before, .ef-x-work[data-cat="piscinas"] .ef-x-work__media::before { background: radial-gradient(80% 90% at 100% 0%, rgb(217 138 0 / 36%), transparent 70%), repeating-linear-gradient(90deg, rgb(255 255 255 / 4%) 0 1px, transparent 1px 44px); }
.ef-x-work[data-cat="hotel"] .ef-x-work__media::before, .ef-x-work[data-cat="viviendas"] .ef-x-work__media::before, .ef-x-work[data-cat="oficinas"] .ef-x-work__media::before { background: radial-gradient(80% 90% at 100% 0%, rgb(198 29 59 / 36%), transparent 70%), repeating-linear-gradient(90deg, rgb(255 255 255 / 4%) 0 1px, transparent 1px 44px); }
.ef-x-work__media strong { font-family: var(--ef-display); font-size: clamp(2rem, 3.6vw, 2.8rem); letter-spacing: -.04em; line-height: 1; }
.ef-x-work__media span { margin-top: .3rem; font-size: .82rem; color: #c9ccd2; }
.ef-x-work__body { display: flex; flex-direction: column; gap: .35rem; flex: 1; padding: 1.1rem 1.25rem 1.25rem; }
.ef-x-work__body small { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ef-muted); }
.ef-site .ef-x-work__body h3 { margin: 0; font-size: 1.22rem; color: var(--ef-ink) !important; }
.ef-x-work__body p { margin: 0; font-size: .93rem; color: var(--ef-muted); }
.ef-x-work__award { display: inline-flex; align-items: center; gap: .4rem; margin-top: .25rem; font-size: .8rem; font-weight: 600; color: var(--ef-red); }
.ef-x-work__go { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .6rem; font-size: .88rem; font-weight: 600; color: var(--ef-blue); }
.ef-x-work__more { margin-top: auto; padding-top: .7rem; border-top: 1px solid var(--ef-line); }
.ef-x-work__more summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; font-size: .88rem; font-weight: 600; color: var(--ef-ink); }
.ef-x-work__more summary::-webkit-details-marker { display: none; }
.ef-x-work__more summary::after { content: "+"; font-size: 1.2rem; line-height: 1; color: var(--ef-blue); }
.ef-x-work__more[open] summary::after { content: "–"; }
.ef-x-work__more > div { padding-top: .5rem; }
.ef-x-work__more p { margin: 0 0 .5rem; font-size: .9rem; color: var(--ef-ink-2); }
.ef-x-work__more ul { margin: .2rem 0 0; padding-left: 1.05rem; }
.ef-x-work__more li { font-size: .86rem; color: var(--ef-muted); margin: .2rem 0; }
.ef-x-work__more li b { color: var(--ef-ink-2); font-weight: 600; }

/* ---------- Caso destacado ---------- */
.ef-x-features { display: grid; gap: 1rem; }
.ef-x-feature { display: grid; background: var(--ef-ink); color: #fff; border-radius: 18px; overflow: hidden; scroll-margin-top: 7rem; }
@media (min-width: 900px) { .ef-x-feature { grid-template-columns: 1.1fr 1fr; } }
.ef-x-feature__media { position: relative; display: block; min-height: 16rem; background: #1b1e24; }
.ef-x-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ef-x-feature__body { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem 1.4rem; }
@media (min-width: 900px) { .ef-x-feature__body { padding: 2.5rem; } }
.ef-site .ef-x-feature h2, .ef-site .ef-x-feature h2 a { margin: 0; color: #fff !important; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.ef-x-feature p { margin: 0; color: rgb(255 255 255 / 80%); }
.ef-x-feature .ef-kicker--red { color: #ffb3c0; }
.ef-x-feature__figs { list-style: none; margin: 0; padding: 1rem 0 0; display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); border-top: 1px solid rgb(255 255 255 / 12%); }
.ef-x-feature__figs strong { display: block; font-family: var(--ef-display); font-size: 1.7rem; letter-spacing: -.03em; line-height: 1.1; }
.ef-x-feature__figs span { display: block; margin-top: .2rem; font-size: .8rem; line-height: 1.35; color: #b4b8c0; }
.ef-x-feature .ef-cta { align-self: flex-start; }

/* ---------- Premios ---------- */
.ef-x-awards { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.ef-x-awards li { display: flex; align-items: flex-start; gap: .75rem; padding: .85rem 1rem; background: var(--ef-white); border: 1px solid var(--ef-line); border-radius: 12px; }
.ef-x-awards .ef-ico { margin-top: .1rem; color: var(--ef-blue); }
.ef-x-awards b { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ef-muted); margin-bottom: .15rem; }
.ef-x-awards span { font-size: .96rem; line-height: 1.35; color: var(--ef-ink); }
.ef-x-awards li.is-win { background: var(--ef-ink); border-color: var(--ef-ink); }
.ef-x-awards li.is-win span { color: #fff; font-weight: 500; }
.ef-x-awards li.is-win b, .ef-x-awards li.is-win .ef-ico { color: #ffb3c0; }
.ef-x-awards--compact li { background: rgb(255 255 255 / 6%); border-color: rgb(255 255 255 / 12%); padding: .65rem .85rem; }
.ef-x-awards--compact span { color: #fff; font-size: .9rem; }
.ef-x-awards--compact b, .ef-x-awards--compact .ef-ico { color: #b4b8c0; }
.ef-x-awards--compact li.is-win { background: var(--ef-red); border-color: var(--ef-red); }
.ef-x-awards--compact li.is-win b, .ef-x-awards--compact li.is-win .ef-ico { color: #ffe3e8; }
.ef-x-awards__src { margin: .7rem 0 0; font-size: .8rem; color: var(--ef-muted); }
.ef-x-awards__src a { text-decoration: underline; text-underline-offset: 2px; }
.ef-x-proofband { padding-top: 2.5rem; padding-bottom: 1.5rem; }
.ef-x-proofband__awards { margin-bottom: 1rem; }
.ef-x-proofband__awards .ef-x-awards { margin-top: .3rem; }
@media (min-width: 900px) { .ef-x-proofband .ef-x-awards { grid-template-columns: 1.3fr 1fr 1fr; } }
.ef-x-stats--result strong { color: var(--ef-ink); }
.ef-x-stats--result span { display: block; line-height: 1.35; margin-top: .2rem; }

/* ---------- Reparto (barras al 100 %) ---------- */
.ef-x-mix { padding: 1.25rem; background: var(--ef-white); border: 1px solid var(--ef-line); border-radius: 14px; }
.ef-site .ef-x-mix h3 { margin: 0 0 .75rem; font-size: 1.15rem; color: var(--ef-ink) !important; }
.ef-x-mix__legend { list-style: none; margin: 0 0 .4rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .85rem; color: var(--ef-ink-2); }
.ef-x-mix__legend li { display: inline-flex; align-items: center; gap: .4rem; }
.ef-x-mix__legend i { display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; }
.ef-x-mix__row { display: grid; gap: .35rem; margin-top: .9rem; }
@media (min-width: 600px) { .ef-x-mix__row { grid-template-columns: 10.5rem 1fr; align-items: start; } }
.ef-x-mix__label { font-size: .88rem; color: var(--ef-muted); padding-top: .45rem; }
.ef-x-mix__bar { display: flex; gap: 2px; height: 1.9rem; }
.ef-x-mix__seg { min-width: 0; }
.ef-x-mix__seg:first-child { border-radius: 4px 0 0 4px; }
.ef-x-mix__seg:last-child { border-radius: 0 4px 4px 0; }
.ef-x-mix__seg:only-child { border-radius: 4px; }
.ef-x-mix__vals { display: flex; gap: 2px; margin-top: .3rem; font-size: .82rem; font-weight: 600; color: var(--ef-ink); }
.ef-x-mix__vals span { min-width: 0; white-space: nowrap; }
.ef-x-mix__c0 { background: #0189d6; }
.ef-x-mix__c1 { background: #2e9d6f; }
.ef-x-mix__c2 { background: #c61d3b; }
.ef-x-mix__c3 { background: #5c616b; }

/* ---------- Aviso para el equipo en obras sin ficha ---------- */
.ef-x-adminbar { background: #fff4d6; color: #5a4300; font-size: .9rem; padding: .7rem 1.5rem; text-align: center; }
.ef-x-adminbar a { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .ef-x-work, .ef-x-work__media img, .ef-x-gallery__item img { transition: none; }
}
.ef-x-mix .ef-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; }

/* 1.3.1 · Elementor pinta ".elementor img { height: auto }". Si su CSS va
   incrustado (lo pide WP Fastest Cache), se carga después del tema y deja las
   fotos de fondo a media altura. Con más especificidad, el orden da igual. */
.ef-site .ef-hero__pane img,
.ef-site .ef-shot img,
.ef-site .ef-pagehero > img,
.ef-site .ef-x-case img,
.ef-site .ef-x-proj img,
.ef-site .ef-x-work__media img,
.ef-site .ef-x-feature__media img,
.ef-site .ef-x-gallery__item img { height: 100%; }
.ef-site .ef-pagehero .ef-x-archive img { height: auto; }

/* ==========================================================================
   1.4.0 · Inicio: cabecera con foto anotada, líneas de trabajo y pasos
   ========================================================================== */

/* ---------- Presentación (debajo de la cabecera Hogar / Empresa) ---------- */
.ef-x-hh { position: relative; overflow: hidden; background: var(--ef-paper); padding: 4rem 1.25rem 3.5rem; }
.ef-x-hh::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in oklab, var(--ef-ink) 7%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in oklab, var(--ef-ink) 7%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(60% 70% at 88% 30%, #000, transparent 72%);
  mask-image: radial-gradient(60% 70% at 88% 30%, #000, transparent 72%);
}
.ef-x-hh__grid { position: relative; width: min(1240px, 100%); margin: 0 auto; display: grid; gap: 2.25rem; }
@media (min-width: 1024px) {
  .ef-x-hh { padding: 6rem 2rem 4.5rem; }
  .ef-x-hh__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 3.25rem; align-items: center; }
}
.ef-x-hh__context { display: flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; font-size: .9rem; color: var(--ef-muted); }
.ef-x-hh__context::before { content: ""; width: 1.4rem; height: 2px; background: var(--ef-red); flex: none; }
.ef-site .ef-x-hh h1,
.ef-site .ef-x-hh h2 {
  margin: 0 0 1.25rem;
  max-width: 17ch;
  font-family: var(--ef-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 4.4vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--ef-ink) !important;
  text-wrap: balance;
}
.ef-x-hh__lead { margin: 0 0 1.75rem; max-width: 46ch; font-size: clamp(1.03rem, 1.3vw, 1.15rem); line-height: 1.55; color: var(--ef-ink-2); }
.ef-x-hh__ctas { display: flex; flex-wrap: wrap; gap: .6rem; }
.ef-x-hh__ctas .ef-cta { min-height: 3.1rem; padding: 0 1.35rem; font-size: .95rem; }
@media (max-width: 479px) { .ef-x-hh__ctas .ef-cta { flex: 1 1 100%; } }
.ef-x-hh__note { margin: .75rem 0 0; font-size: .85rem; color: var(--ef-muted); }
.ef-x-hh__paths { display: grid; grid-template-columns: 1fr; gap: .55rem; margin-top: 1.9rem; }
@media (min-width: 480px) { .ef-x-hh__paths { grid-template-columns: 1fr 1fr; } }
.ef-x-hh__paths a { position: relative; display: block; padding: .85rem 2.4rem .85rem 1rem; background: var(--ef-white); border: 1px solid var(--ef-line); border-radius: 12px; transition: border-color 180ms var(--ef-ease); }
.ef-x-hh__paths b { display: block; font-family: var(--ef-display); font-weight: 600; font-size: 1.05rem; color: var(--ef-ink); }
.ef-x-hh__paths span { display: block; margin-top: .15rem; font-size: .82rem; color: var(--ef-muted); }
.ef-x-hh__paths .ef-ico { position: absolute; right: .9rem; top: 50%; transform: translateY(-50%); color: var(--ef-red); transition: transform 180ms var(--ef-ease); }
.ef-x-hh__paths a:hover { border-color: color-mix(in oklab, var(--ef-ink) 45%, transparent); }
.ef-x-hh__paths a:hover .ef-ico { transform: translate(3px, -50%); }
.ef-x-hh__creds { position: relative; list-style: none; width: min(1240px, 100%); margin: 2.5rem auto 0; padding: 1.3rem 0 0; border-top: 1px solid var(--ef-line); display: grid; gap: .6rem 1.5rem; }
@media (min-width: 560px) { .ef-x-hh__creds { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ef-x-hh__creds { grid-template-columns: .8fr 1fr 1.15fr 1.6fr; margin-top: 3.25rem; } }
.ef-x-hh__creds li { display: flex; align-items: flex-start; gap: .5rem; font-size: .86rem; line-height: 1.35; color: var(--ef-ink-2); }
.ef-x-hh__creds .ef-ico { margin-top: .08rem; color: var(--ef-blue); }

/* La foto anotada */
.ef-x-hh__plate { margin: 0; }
.ef-x-hh__photo { position: relative; aspect-ratio: 1083 / 656; overflow: hidden; border-radius: 18px; background: var(--ef-ink); box-shadow: 0 40px 80px -42px rgb(17 19 24 / 60%); }
.ef-site .ef-x-hh__photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.ef-x-hh__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(17 19 24 / 30%) 0%, transparent 32%); pointer-events: none; }
.ef-x-hh__pin { position: absolute; z-index: 2; left: var(--x); top: var(--y); }
.ef-x-hh__pin::before { content: ""; position: absolute; left: 0; bottom: 6px; width: 1px; height: 3.2rem; background: #fff; transform-origin: bottom; }
.ef-x-hh__pin i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 32%), 0 2px 10px rgb(0 0 0 / 35%); }
.ef-x-hh__pin em {
  position: absolute;
  right: -1px;
  bottom: calc(3.2rem + 6px);
  width: max-content;
  max-width: 11.5rem;
  padding: .5rem .7rem;
  border-radius: 8px;
  background: rgb(17 19 24 / 84%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-style: normal;
  font-size: .76rem;
  line-height: 1.3;
}
@media (min-width: 700px) {
  .ef-x-hh__pin em { right: auto; left: -1px; max-width: 15rem; font-size: .82rem; }
}
.ef-x-hh__plate { position: relative; }
.ef-x-hh__chips { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .6rem; }
.ef-x-hh__chip { display: grid; gap: .15rem; align-content: start; padding: .6rem .75rem; border-radius: 12px; background: var(--ef-white); border: 1px solid var(--ef-line); color: var(--ef-ink-2); font-size: .76rem; line-height: 1.3; }
.ef-x-hh__chip b { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--ef-display); font-weight: 600; font-size: 1.05rem; color: var(--ef-ink); white-space: nowrap; }
@media (min-width: 700px) {
  .ef-x-hh__chips { position: absolute; z-index: 2; top: .8rem; left: .8rem; right: .8rem; display: flex; justify-content: space-between; align-items: flex-start; margin: 0; pointer-events: none; }
  .ef-x-hh__chip { max-width: 12.5rem; border: 0; background: rgb(255 255 255 / 93%); box-shadow: 0 10px 24px -14px rgb(0 0 0 / 55%); font-size: .78rem; }
  .ef-x-hh__chip b { font-size: 1.15rem; }
}
.ef-x-hh__live { flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 3px rgb(31 157 85 / 25%); }
.ef-x-hh__plate figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1rem; margin-top: .9rem; font-size: .88rem; line-height: 1.45; color: var(--ef-ink-2); }
.ef-x-hh__plate figcaption b { color: var(--ef-ink); }
.ef-x-hh__plate figcaption a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--ef-red); white-space: nowrap; }

/* Un solo momento de movimiento: la foto se asienta y aparecen las anotaciones. */
@media (prefers-reduced-motion: no-preference) {
  .ef-site .ef-x-hh__photo img { animation: efhh-settle 1.4s var(--ef-ease) both; }
  .ef-x-hh__pin i { animation: efhh-pop .35s .5s var(--ef-ease) both; }
  .ef-x-hh__pin::before { animation: efhh-line .45s .7s var(--ef-ease) both; }
  .ef-x-hh__pin em { animation: efhh-in .45s 1.05s var(--ef-ease) both; }
  .ef-x-hh__chip--tl { animation: efhh-in .45s 1.3s var(--ef-ease) both; }
  .ef-x-hh__chip--tr { animation: efhh-in .45s 1.45s var(--ef-ease) both; }
  /* Con JS, espera a que la sección entre en pantalla (está debajo de la cabecera). */
  .ef-js .ef-x-hh:not(.is-in) .ef-x-hh__photo img,
  .ef-js .ef-x-hh:not(.is-in) .ef-x-hh__pin i,
  .ef-js .ef-x-hh:not(.is-in) .ef-x-hh__pin::before,
  .ef-js .ef-x-hh:not(.is-in) .ef-x-hh__pin em,
  .ef-js .ef-x-hh:not(.is-in) .ef-x-hh__chip { animation-play-state: paused; }
}
@keyframes efhh-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes efhh-pop { from { transform: scale(0); } to { transform: none; } }
@keyframes efhh-line { from { transform: scaleY(0); } to { transform: none; } }
@keyframes efhh-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Qué hacemos ---------- */
.ef-x-hl { padding: 4.5rem 1.25rem; background: var(--ef-white); border-top: 1px solid var(--ef-line); }
@media (min-width: 800px) { .ef-x-hl { padding: 6rem 2rem; } }
.ef-x-hl__head { display: grid; gap: 1rem; margin-bottom: 2.25rem; }
@media (min-width: 900px) { .ef-x-hl__head { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 3rem; } }
.ef-site .ef-x-hl h2 { margin: 0; max-width: 18ch; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.05; letter-spacing: -.03em; color: var(--ef-ink) !important; }
.ef-x-hl__head p { margin: 0; max-width: 44ch; font-size: 1.02rem; color: var(--ef-muted); }
.ef-x-hl__row { display: grid; gap: 1.25rem; padding: 2rem 0; border-top: 1px solid var(--ef-line); }
.ef-x-hl__row:last-child { padding-bottom: 0; }
@media (min-width: 860px) { .ef-x-hl__row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; } }
.ef-x-hl__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; background: var(--ef-ink); }
.ef-site .ef-x-hl__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; border-radius: 0; }
.ef-site .ef-x-hl h3 { margin: 0 0 .6rem; font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.02em; color: var(--ef-ink) !important; }
.ef-x-hl__body p { margin: 0 0 1.2rem; max-width: 58ch; color: var(--ef-muted); }
.ef-x-hl__body ul { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 1.75rem; }
@media (min-width: 560px) { .ef-x-hl__body ul { grid-template-columns: 1fr 1fr; } }
.ef-x-hl__body li a { display: flex; align-items: center; gap: .6rem; padding: .62rem 0; border-bottom: 1px solid var(--ef-line); font-weight: 500; color: var(--ef-ink); transition: color 160ms var(--ef-ease); }
.ef-x-hl__body li a .ef-ico { color: var(--ef-blue); }
.ef-x-hl__body li a:hover { color: var(--ef-red); }

/* ---------- Cómo trabajamos ---------- */
.ef-x-hs { padding: 4.5rem 1.25rem; background: var(--ef-ink); color: #fff; }
@media (min-width: 800px) { .ef-x-hs { padding: 5.5rem 2rem; } }
.ef-x-hs__head { display: grid; gap: 1.5rem; margin-bottom: 2.75rem; }
@media (min-width: 900px) { .ef-x-hs__head { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; } }
.ef-site .ef-x-hs h2 { margin: 0; max-width: 20ch; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.08; color: #fff !important; }
.ef-x-hs__cta { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
@media (min-width: 900px) { .ef-x-hs__cta { align-items: flex-end; } }
.ef-x-hs__cta span { font-size: .85rem; color: #b4b8c0; }
.ef-x-hs__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .ef-x-hs__steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ef-x-hs__steps { grid-template-columns: repeat(4, 1fr); } }
.ef-x-hs__steps li { position: relative; padding-top: 1.1rem; border-top: 1px solid rgb(255 255 255 / 16%); }
.ef-x-hs__steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 2.5rem; height: 2px; background: var(--ef-red); }
.ef-x-hs__n { display: block; margin-bottom: .7rem; font-family: var(--ef-display); font-weight: 600; font-size: 2.6rem; line-height: 1; color: rgb(255 255 255 / 30%); }
.ef-site .ef-x-hs h3 { margin: 0 0 .35rem; font-size: 1.2rem; color: #fff !important; }
.ef-x-hs__steps p { margin: 0; font-size: .93rem; color: #b4b8c0; }
.ef-x-hs + .ef-section--tight { padding-top: 4.5rem; }
@media (min-width: 800px) { .ef-x-hs + .ef-section--tight { padding-top: 6rem; } }
