/* ==========================================================================
   New Era — secciones (patrones de bloques)
   Medidas tomadas del sitio de referencia a 1536 px de ancho.
   ========================================================================== */

:root {
  --ne-gutter: max(12px, calc((100% - 1296px) / 2));
  --ne-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E");
  --ne-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E");
  --ne-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --ne-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 1.8l3.1 6.6 7.2.9-5.3 5 1.4 7.1L12 17.9l-6.4 3.5 1.4-7.1-5.3-5 7.2-.9z'/%3E%3C/svg%3E");
  --ne-quote: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 36'%3E%3Cpath fill='%23000' d='M0 36V22C0 10 6 2 18 0l2 5c-7 2-10 6-10 12h8v19zm26 0V22c0-12 6-20 18-22l2 5c-7 2-10 6-10 12h8v19z'/%3E%3C/svg%3E");
}

/* Las secciones a ancho completo van pegadas entre sí */
.entry-content > .alignfull[class*="ne-"] { margin-block: 0; }
.entry-content > .alignfull[class*="ne-"] + * { margin-block-start: 0; }

[class*="ne-"] .wp-block-image { margin: 0; }
[class*="ne-"] .wp-block-image img { display: block; }

/* Imagen de fondo de una sección */
.ne-bg { position: absolute !important; inset: 0; z-index: 0; margin: 0 !important; }
.ne-bg img { width: 100%; height: 100% !important; object-fit: cover; }

.ne-eyebrow { margin: 0; font-size: 18px; line-height: 34px; color: var(--ne-blue); }
.ne-section-title { margin: 0; font-family: var(--ne-font); font-size: 40px; font-weight: 600; line-height: 48px; color: var(--ne-teal); }
.ne-section-subtitle { margin: 24px 0 0; font-size: 18px; line-height: 34px; color: var(--ne-teal); }

/* ---------- Estilos de botón ---------- */

.wp-block-button[class*="is-style-ne-"] .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 24px;
  border: .8px solid var(--ne-teal);
  border-radius: 80px;
  font-family: var(--ne-font);
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.wp-block-button.is-style-ne-light .wp-block-button__link { background: var(--ne-white); color: var(--ne-teal); }
.wp-block-button.is-style-ne-light .wp-block-button__link::after,
.wp-block-button.is-style-ne-textlink .wp-block-button__link::before,
.wp-block-button.is-style-ne-round .wp-block-button__link::after {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--ne-arrow) center / contain no-repeat;
  mask: var(--ne-arrow) center / contain no-repeat;
  transition: transform .2s ease;
}
.wp-block-button.is-style-ne-light .wp-block-button__link:hover { background: var(--ne-teal); color: var(--ne-white); }
.wp-block-button.is-style-ne-light .wp-block-button__link:hover::after { transform: translateX(3px); }

.wp-block-button.is-style-ne-dark .wp-block-button__link { background: var(--ne-teal); color: var(--ne-white); }
.wp-block-button.is-style-ne-dark .wp-block-button__link:hover { background: #0a2f39; }
.ne-btn-card .wp-block-button__link::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--ne-card) center / contain no-repeat;
  mask: var(--ne-card) center / contain no-repeat;
}

.wp-block-button.is-style-ne-blue .wp-block-button__link { background: var(--ne-blue); border-color: var(--ne-blue); color: var(--ne-white); }
.wp-block-button.is-style-ne-blue .wp-block-button__link:hover { background: var(--ne-blue-dark); border-color: var(--ne-blue-dark); }

.wp-block-button.is-style-ne-round .wp-block-button__link {
  width: 64px;
  min-height: 64px;
  height: 64px;
  padding: 0;
  border-color: var(--ne-blue);
  border-radius: 50%;
  background: var(--ne-blue);
  color: var(--ne-white);
  font-size: 0;
  line-height: 0;
  gap: 0;
}
.wp-block-button.is-style-ne-round .wp-block-button__link::after { width: 24px; height: 24px; transform: rotate(-45deg); }
.wp-block-button.is-style-ne-round .wp-block-button__link:hover { background: var(--ne-blue-dark); }
.wp-block-button.is-style-ne-round .wp-block-button__link:hover::after { transform: rotate(0); }

.wp-block-button.is-style-ne-textlink .wp-block-button__link {
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--ne-teal);
  font-size: 16px;
  line-height: 24px;
}
.wp-block-button.is-style-ne-textlink .wp-block-button__link::before { width: 24px; height: 24px; color: var(--ne-blue); }
.wp-block-button.is-style-ne-textlink .wp-block-button__link:hover { color: var(--ne-blue); }
.wp-block-button.is-style-ne-textlink .wp-block-button__link:hover::before { transform: translateX(3px); }

/* ---------- Controles de carrusel (los crea sections.js) ---------- */

.ne-arrow-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--ne-line);
  border-radius: 50%;
  background: var(--ne-white);
  color: var(--ne-teal);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}
.ne-arrow-btn::before {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--ne-arrow) center / contain no-repeat;
  mask: var(--ne-arrow) center / contain no-repeat;
}
.ne-arrow-btn--prev::before { transform: scaleX(-1); }
.ne-arrow-btn:hover { background: var(--ne-blue); border-color: var(--ne-blue); color: var(--ne-white); }
.ne-arrow-btn:disabled { opacity: .35; cursor: default; background: var(--ne-white); color: var(--ne-teal); border-color: var(--ne-line); }

/* ==========================================================================
   1 · Carrusel principal
   ========================================================================== */

.ne-hero {
  position: relative;
  min-height: 672px;
  overflow: hidden;
  background: var(--ne-navy);
  color: var(--ne-white);
}
.ne-hero__slide { position: absolute; inset: 0; margin: 0 !important; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.ne-hero__slide:first-child { opacity: 1; visibility: visible; }
.ne-hero.is-ready .ne-hero__slide { opacity: 0; visibility: hidden; }
.ne-hero.is-ready .ne-hero__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.ne-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(15, 23, 42, .62) 0%, rgba(15, 23, 42, .28) 55%, rgba(15, 23, 42, .1) 100%);
  pointer-events: none;
}

.ne-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto !important;
  padding: 176px 12px 120px;
}
.ne-hero__title {
  max-width: 475px;
  margin: 0;
  font-family: var(--ne-font-ui);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  padding-bottom: 14px; /* el original reserva el alto completo de la segunda línea */
  color: var(--ne-white);
}
/* Degradado en el texto resaltado (sin la forma abreviada "background", que anula el recorte) */
.ne-hero__title mark {
  background-color: transparent !important;
  background-image: linear-gradient(90deg, #1f91b0 40%, #0d3d4a) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  padding: 0;
}
.ne-hero__text { max-width: 475px; margin: 31px 0 0 !important; font-size: 18px; line-height: 34px; color: var(--ne-white); }
.ne-hero__actions { gap: 23px; margin-top: 24px !important; }

.ne-hero__nav {
  position: absolute;
  left: var(--ne-gutter);
  bottom: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ne-hero__arrows { display: flex; gap: 12px; }
.ne-hero__arrows .ne-arrow-btn { width: 52px; height: 52px; border-color: rgba(255, 255, 255, .7); background: transparent; color: var(--ne-white); }
.ne-hero__arrows .ne-arrow-btn:hover { background: var(--ne-white); color: var(--ne-teal); border-color: var(--ne-white); }
.ne-hero__dots { display: flex; gap: 8px; padding-left: 4px; }
.ne-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(217, 217, 217, .5);
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}
.ne-dot.is-active { background: var(--ne-sky); }
.ne-dot:hover { transform: scale(1.15); }

/* ==========================================================================
   2 · Frase destacada
   ========================================================================== */

.ne-lead { padding: 96px 12px; }
.ne-lead__text mark { background: none !important; color: var(--ne-blue) !important; }
.ne-lead__text {
  max-width: 1076px;
  margin: 0 auto;
  font-family: var(--ne-font);
  font-size: 40px;
  font-weight: 400;
  line-height: 48px;
  color: var(--ne-teal);
}

/* ==========================================================================
   3 · Servicios (riel que se desliza de una en una, como el original)
   La tarjeta en la primera posición queda activa; las que ya pasaron siguen
   visibles a la izquierda; el hover también activa una tarjeta.
   ========================================================================== */

.ne-services { position: relative; padding: 96px 0 46px; overflow: hidden; }
.ne-services__track {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin: 0 0 0 calc(var(--ne-gutter) + 225px) !important;
  transition: transform .6s var(--ne-ease);
  will-change: transform;
  touch-action: pan-y;
}
.ne-scard { flex: 0 0 350px; margin: 0 !important; }

.ne-scard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  max-height: 0;
  margin: 0 !important;
  overflow: hidden;
  opacity: 0;
  transition: max-height .45s var(--ne-ease), margin .45s var(--ne-ease), opacity .3s ease;
}
/* Solo la tarjeta en la primera posición está activa (el hover no activa otras, como en el original).
   Al hacer clic en otra tarjeta, el riel la lleva a la primera posición. */
.ne-scard.is-current .ne-scard__head { max-height: 120px; margin-bottom: 56px !important; opacity: 1; }
.ne-scard:not(.is-current) { cursor: pointer; }
.ne-scard__title { max-width: 225px; margin: 0 !important; font-family: var(--ne-font); font-size: 32px; font-weight: 400; line-height: 35px; color: var(--ne-teal); }
.ne-scard__btn { flex: 0 0 auto; margin: 3px 0 0 !important; }

/* Botón "+" del original */
.ne-scard .wp-block-button.is-style-ne-round .wp-block-button__link::after {
  -webkit-mask-image: var(--ne-plus);
  mask-image: var(--ne-plus);
  transform: none;
  width: 30px;
  height: 30px;
  transition: transform .3s ease;
}
.ne-scard .wp-block-button.is-style-ne-round .wp-block-button__link:hover::after { transform: rotate(90deg); }

.ne-scard__img { margin: 0 !important; overflow: hidden; border-radius: 16px; }
.ne-scard__img img { width: 100%; height: 460px !important; object-fit: cover; border-radius: 16px; transition: transform .6s var(--ne-ease); }

.ne-scard__meta { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 0 !important; }
.ne-scard__num, .ne-scard__name { margin: 0 !important; font-size: 18px; line-height: 34px; color: var(--ne-teal); }
.ne-scard__num { font-weight: 700; }

.ne-services__nav {
  position: absolute;
  left: calc(var(--ne-gutter) + 71px);
  bottom: 96px;
  z-index: 2;
  display: flex;
  gap: 16px;
}
.ne-services__nav .ne-arrow-btn { border-color: var(--ne-teal); }

/* ==========================================================================
   4 · Franja de proyecto
   ========================================================================== */

.ne-project { padding: 48px 12px; }
.ne-project__bar {
  position: relative;
  max-width: 1320px;
  min-height: 183px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 5px;
  background: var(--ne-teal);
}
.ne-project__bar::after { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(13, 61, 74, .35); pointer-events: none; }
.ne-project__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 183px;
  margin: 0 !important;
  padding: 24px 53px;
}
.ne-project__title { margin: 0; font-family: var(--ne-font); font-size: 32px; font-weight: 600; line-height: 35px; color: var(--ne-white); }
.ne-project__desc { margin: 24px 0 0 !important; font-size: 18px; line-height: 34px; color: #d9d9d9; }
.ne-project__actions { flex: 0 0 auto; margin: 0 !important; }

/* ==========================================================================
   5 · Proceso (carrusel con contador)
   ========================================================================== */

.ne-process { position: relative; padding: 96px 12px; }
.ne-process__viewport { position: relative; max-width: 1296px; margin: 0 auto; overflow: hidden; border-radius: 16px; }
.ne-process__track { display: flex; margin: 0 !important; transition: transform .6s var(--ne-ease); }
.ne-pslide { position: relative; flex: 0 0 100%; min-height: 475px; margin: 0 !important; overflow: hidden; border-radius: 16px; }
.ne-pslide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .7) 38%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}
.ne-pslide__content { position: relative; z-index: 2; margin: 0 !important; padding: 50px; }
.ne-pslide__title { margin: 16px 0 0 !important; font-family: var(--ne-font); font-size: 48px; font-weight: 400; line-height: 62px; color: var(--ne-teal); }
.ne-pslide__text { max-width: 383px; margin: 120px 0 0 !important; font-size: 18px; line-height: 34px; color: var(--ne-teal); }
.ne-pslide__content .wp-block-buttons { margin-top: 16px !important; }

.ne-process__controls {
  position: absolute;
  right: 48px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 20px;
}
.ne-process__controls .ne-icon-btn {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  color: #002b49;
  cursor: pointer;
}
.ne-process__controls .ne-icon-btn::before {
  content: "";
  width: 24px;
  height: 24px;
  background: currentColor;
  -webkit-mask: var(--ne-arrow) center / contain no-repeat;
  mask: var(--ne-arrow) center / contain no-repeat;
}
.ne-process__controls .ne-icon-btn--prev::before { transform: scaleX(-1); }
.ne-process__controls .ne-icon-btn:hover { color: var(--ne-blue); }
.ne-process__count {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #90d1f0;
  color: #002b49;
  font-size: 17.6px;
  font-weight: 700;
}

/* ==========================================================================
   6 · Collage de fotos
   ========================================================================== */

.ne-collage { padding: 96px 12px 24px; background: #f8f8f8; }
.ne-collage__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  max-width: 1296px;
  margin: 0 auto !important;
}
.ne-collage__col { display: flex; flex-direction: column; gap: 20px; margin: 0 !important; }
.ne-collage__col > * { margin: 0 !important; }
.ne-collage__col:nth-child(odd) { margin-top: 46px !important; }
.ne-collage__col img { width: 100%; height: auto !important; object-fit: cover; border-radius: 12px; }
.ne-collage__col:nth-child(1) img, .ne-collage__col:nth-child(7) img { aspect-ratio: 168 / 211; }
.ne-collage__col:nth-child(2) img, .ne-collage__col:nth-child(6) img { aspect-ratio: 168 / 165; }
.ne-collage__col:nth-child(3) img, .ne-collage__col:nth-child(5) img { aspect-ratio: 168 / 442; }
.ne-collage__col:nth-child(4) img { aspect-ratio: 168 / 534; }

/* ==========================================================================
   7 · Testimonios
   ========================================================================== */

.ne-testimonials { position: relative; padding: 48px 12px 48px; overflow: hidden; background: #f8f8f8; }
.ne-testimonials > .ne-section-title, .ne-testimonials > .ne-section-subtitle { text-align: center; }
.ne-testimonials > * { max-width: 1296px; margin-left: auto !important; margin-right: auto !important; }
.ne-testimonials > .ne-testimonials__track, .ne-testimonials > .ne-testimonials__viewport { max-width: none; margin-left: max(0px, calc(50% - 648px)) !important; margin-right: 0 !important; }
.ne-testimonials__viewport { margin-top: 28px !important; padding: 20px 0 40px; }
.is-loop > * { transition: opacity .4s ease; }
.is-loop.is-pristine > .is-before { opacity: 0; }
.ne-testimonials__track.is-loop { margin: 0 !important; overflow: visible; scroll-snap-type: none; transition: transform .6s var(--ne-ease); }
.ne-testimonials__track {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin: 48px 0 0 !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.ne-testimonials__track::-webkit-scrollbar { display: none; }
.ne-tcard {
  display: flex;
  flex-direction: column;
  flex: 0 0 408px;
  margin: 0 !important;
  padding: 47px 58px 48px;
  border-radius: 5px;
  background: var(--ne-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
  scroll-snap-align: start;
}
.ne-tcard::before {
  content: "";
  display: block;
  width: 192px;
  height: 33px;
  margin-bottom: 27px;
  background: #efe931;
  -webkit-mask: var(--ne-star) left center / 32px 33px space no-repeat;
  mask: var(--ne-star) left center / 32px 33px space no-repeat;
}
.ne-tcard__quote { margin: 0 !important; font-size: 18px; font-style: italic; font-weight: 300; line-height: 34px; color: var(--ne-teal); }
.ne-tcard__author { display: flex; align-items: flex-start; gap: 24px; margin: 24px 0 0 !important; }
.ne-tcard__avatar { flex: 0 0 60px; margin: 0 !important; }
.ne-tcard__avatar img { width: 60px; height: 60px !important; border-radius: 50%; object-fit: cover; }
.ne-tcard__name { margin: 0 !important; font-family: var(--ne-font); font-size: 24px; font-weight: 500; line-height: 26.4px; color: var(--ne-teal); }
.ne-testimonials__nav { display: flex; gap: 16px; max-width: 1296px; margin: 6px auto 0 !important; }
.ne-testimonials__nav .ne-arrow-btn { width: 52px; height: 52px; border-color: var(--ne-teal); }

/* ==========================================================================
   8 · Logos de aliados
   ========================================================================== */

.ne-allies { padding: 144px 12px 96px; }
.ne-allies__title { margin: 0 0 40px !important; font-size: 18px; font-weight: 500; color: #64748b; }
.ne-allies__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 32px 48px;
  max-width: 1460px;
  margin: 0 auto !important;
}
.ne-allies__logos > * { margin: 0 !important; }
.ne-allies__logos img { width: auto; max-width: 180px; max-height: 100px; object-fit: contain; }

/* ==========================================================================
   Tablet y móvil
   ========================================================================== */

@media (max-width: 1199px) {
  .ne-services__track { margin-left: var(--ne-gutter) !important; }
  .ne-services__nav { position: static; margin: 32px 0 0 var(--ne-gutter) !important; }
  .ne-collage__grid { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; }
  .ne-collage__col { flex: 0 0 150px; }
}

@media (max-width: 991px) {
  .ne-hero { min-height: 620px; }
  .ne-hero__content { padding: 140px 16px 150px; }
  .ne-hero__title { max-width: 100%; font-size: 44px; }
  .ne-lead { padding: 64px 16px; }
  .ne-lead__text { font-size: 30px; line-height: 38px; }
  .ne-project__content { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
  .ne-pslide__title { font-size: 36px; line-height: 44px; }
  .ne-pslide__text { margin-top: 40px !important; }
}

@media (max-width: 767px) {
  /* Carrusel principal (medidas del original a 375 px) */
  .ne-hero { min-height: 620px; }
  .ne-hero__content { padding: 97px 12px 120px; }
  .ne-hero__title { max-width: 312px; font-size: 48px; line-height: 52.8px; }
  .ne-hero__text { max-width: 312px; margin-top: 24px !important; font-size: 16px; line-height: 24px; }
  .ne-hero__actions { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 16px !important; }
  .ne-hero__nav { left: 12px; bottom: 20px; }
  .ne-hero__arrows .ne-arrow-btn { width: 64px; height: 64px; }
  .ne-hero__dots { display: none; }

  .ne-lead { padding: 48px 12px; }
  .ne-lead__text { font-size: 32px; line-height: 35.2px; }

  .ne-services { padding: 96px 0 46px; }
  .ne-services__track { gap: 20px; margin-left: 12px !important; }
  .ne-scard { flex-basis: 350px; }
  .ne-scard .ne-scard__head { max-height: 80px; margin-bottom: 24px !important; opacity: 1; }
  .ne-scard__title { font-size: 24px; line-height: 26.4px; }
  .ne-scard__img img { height: 460px !important; }
  .ne-services__nav { margin-left: 28px !important; }

  .ne-project { padding: 48px 0; }
  .ne-project__bar { border-radius: 0; }
  .ne-project__content { padding: 45px 53px; }
  .ne-project__title { font-size: 24px; line-height: 26.4px; }
  .ne-project__desc { font-size: 16px; line-height: 24px; }

  .ne-process { padding: 96px 12px; }
  .ne-pslide { min-height: 550px; }
  .ne-pslide::after { background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .8) 55%, rgba(255, 255, 255, .25) 100%); }
  .ne-pslide__content { padding: 40px 25px; }
  .ne-pslide .ne-eyebrow { font-size: 16px; line-height: 24px; }
  .ne-pslide__title { margin-top: 16px !important; font-size: 40px; line-height: 44px; }
  .ne-pslide__text { margin-top: 0 !important; font-size: 16px; line-height: 24px; }
  .ne-process .ne-process__controls { position: static; justify-content: center; margin-top: 24px; transform: none; }
  .ne-process .ne-process__count { width: 65px; height: 65px; font-size: 16px; }

  /* Collage: cada columna pasa a ser una fila (2, 3, 1, 1, 1, 3, 2) */
  .ne-collage { padding: 96px 12px 24px; }
  .ne-collage__grid { display: flex; flex-direction: column; gap: 20px; overflow: visible; }
  .ne-collage__col { display: flex; flex: none; flex-direction: row; gap: 20px; }
  .ne-collage__col > * { flex: 1 1 0; min-width: 0; margin: 0 !important; }
  .ne-collage__col img { width: 100%; height: 140px !important; aspect-ratio: auto !important; object-fit: cover; }
  .ne-collage__col:nth-child(3) img, .ne-collage__col:nth-child(4) img, .ne-collage__col:nth-child(5) img { height: 300px !important; }

  .ne-testimonials { padding: 48px 12px; }
  .ne-section-title { font-size: 32px; line-height: 35.2px; }
  .ne-section-subtitle { font-size: 16px; line-height: 24px; }
  .ne-testimonials > .ne-testimonials__viewport { margin-left: 0 !important; }
  .ne-tcard__name { font-size: 20px; line-height: 22px; }

  .ne-allies { padding: 96px 12px 48px; }
  .ne-allies__logos { flex-wrap: nowrap; justify-content: flex-start; gap: 65px; overflow-x: auto; scrollbar-width: none; }
  .ne-allies__logos::-webkit-scrollbar { display: none; }
  .ne-allies__logos > * { flex: 0 0 auto; }
}

/* ==========================================================================
   Dentro del editor: todo visible y apilado para editar con comodidad
   ========================================================================== */

.editor-styles-wrapper .ne-hero { min-height: 0; overflow: visible; }
.editor-styles-wrapper .ne-hero__slide { position: relative; inset: auto; min-height: 672px; opacity: 1; visibility: visible; margin-bottom: 12px !important; }
.editor-styles-wrapper .ne-scard__head { max-height: none; margin-bottom: 24px !important; opacity: 1; }
.editor-styles-wrapper .ne-services__track { transform: none !important; }
.editor-styles-wrapper .ne-services__track,
.editor-styles-wrapper .ne-testimonials__track { flex-wrap: wrap; overflow: visible; margin-left: var(--ne-gutter) !important; }
.editor-styles-wrapper .ne-process__track { flex-direction: column; gap: 12px; }
.editor-styles-wrapper .ne-pslide { flex-basis: auto; }
