/* Home page styles */

/* =========================================================
   UNIFILA | HOME - DISEÑO DE REFERENCIA
   Las imágenes definitivas se colocarán después.
   ========================================================= */
.home-page {
  --uf-yellow: #f2b900;
  --uf-yellow-dark: #dca600;
  --uf-black: #1d2226;
  --uf-dark: #20262a;
  --uf-text: #202326;
  --uf-muted: #707579;
  --uf-border: #e4e4e1;
  color: var(--uf-text);
  background: #fff;
  overflow: hidden;

  --uf-yellow: #f4b400;
  --uf-yellow-dark: #d9a600;
  --uf-navy: #0f172a;
  --uf-blue: #1e3a8a;
  --uf-slate: #94a3b8;
  --uf-light: #e2e8f0;
  --uf-black: #0f172a;
  --uf-dark: #0f172a;
  --uf-text: #334155;
  --uf-muted: #64748b;
  --uf-border: #e2e8f0;
  color: var(--uf-text);
  background: #ffffff;
}

.home-page *,
.home-page *::before,
.home-page *::after {
  box-sizing: border-box;
}
.home-page a {
  text-decoration: none;
}
.home-container {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}

/* placeholders */
.is-placeholder {
  background: linear-gradient(135deg, #efefed, #dededb);
}
.is-placeholder span {
  color: #999b9b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* HERO */
.home-hero {
  background: #f1f1ef;

  position: relative;
  min-height: 356px;
  background: #fff;
  overflow: hidden;
}
.home-hero__grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 43% 57%;
  min-height: 356px;

  position: relative;
  width: 100%;
  max-width: none;
  min-height: 356px;
  display: block;
}
.home-hero__copy {
  padding: 43px 25px 34px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  position: relative;
  z-index: 2;
  width: min(46.2%, 53rem);
  min-height: 356px;
  padding: 43px 34px 34px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home-eyebrow {
  margin-bottom: 13px;
  color: #b18c18;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.8px;
}
.home-hero h1 {
  margin: 0 0 16px;
  color: #16191b;
  font-size: clamp(43px, 4.5vw, 60px);
  line-height: 0.98;
  letter-spacing: -1.7px;
  font-weight: 800;
}
.home-hero__copy > p {
  max-width: 455px;
  margin: 0 0 22px;
  color: #55595c;
  font-size: 14px;
  line-height: 1.5;
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 37px;
  padding: 8px 16px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: 0.2s ease;
}
.home-btn--primary {
  background: var(--uf-yellow);
  border: 1px solid var(--uf-yellow);
  color: #17191b;
}
.home-btn--primary:hover {
  background: var(--uf-yellow-dark);
  border-color: var(--uf-yellow-dark);
  color: #17191b;
}
.home-btn--outline {
  background: transparent;
  border: 1px solid #d0a61d;
  color: #25282a;
}
.home-btn--outline:hover {
  background: #fff;
  color: #17191b;
}
.home-hero__experience {
  display: flex;
  align-items: center;
  gap: 9px;
}
.home-hero__experience > i {
  color: var(--uf-yellow);
  font-size: 21px;
}
.home-hero__experience strong,
.home-hero__experience small {
  display: block;
}
.home-hero__experience strong {
  font-size: 9px;
  line-height: 1.2;
}
.home-hero__experience small {
  margin-top: 3px;
  color: #85898b;
  font-size: 8px;
}
.home-hero__visual {
  position: relative;
  min-height: 356px;
  display: grid;
  place-items: center;
  overflow: hidden;

  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 356px;
  background-color: #e9e9e7;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.home-hero__visual > span {
  font-size: 10px;
}
.home-hero__message {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #fff;
  line-height: 1.15;
  text-align: left;
}
.home-hero__message strong {
  font-size: 9px;
}
.home-hero__caption {
  position: absolute;
  right: 28px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  color: #fff;
  font-size: 7px;
  line-height: 1.25;
}

/* BENEFICIOS */
.home-benefits {
  background: #fff;
  border-bottom: 1px solid #e5e5e2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.035);
}
.home-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.benefit-item {
  min-height: 65px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border-right: 1px solid #e7e7e4;
}
.benefit-item:last-child {
  border-right: 0;
}
.benefit-item > i {
  flex: 0 0 29px;
  width: 29px;
  color: #17191b;
  font-size: 25px;
  text-align: center;
}
.benefit-item strong,
.benefit-item small {
  display: block;
}
.benefit-item strong {
  color: #25282a;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
}
.benefit-item small {
  margin-top: 3px;
  color: #777b7e;
  font-size: 7.5px;
  line-height: 1.25;
}

/* SECCIONES */
.home-section {
  padding: 25px 0 23px;
  background: #fff;
}
.home-section-heading {
  margin-bottom: 18px;
  text-align: center;
}
.home-section-heading h2 {
  margin: 0;
  color: #202326;
  font-size: clamp(23px, 2.5vw, 29px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  font-weight: 800;
}
.heading-line {
  display: block;
  width: 40px;
  height: 3px;
  margin: 9px auto 0;
  background: var(--uf-yellow);
}
.home-section-heading p {
  margin: 7px auto 0;
  color: #74787b;
  font-size: 10px;
  line-height: 1.4;
}

/* CATEGORÍAS */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.category-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6e6e3;
  background: #fff;
  color: #242729;
  transition: 0.2s ease;
}
.category-card:hover {
  color: #242729;
  transform: translateY(-2px);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.07);
}
.category-card__image {
  height: 124px;
  display: grid;
  place-items: center;
}
.category-card__body {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  padding: 6px 8px;
}
.category-card__body strong {
  font-size: 8px;
  line-height: 1.2;
  font-weight: 800;
}
.category-card__body i {
  flex: 0 0 auto;
  color: #b48a00;
  font-size: 10px;
}

/* DESTACADOS */
.home-featured {
  padding: 28px 0 31px;
  background: var(--uf-dark);
}
.featured-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.featured-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(23px, 2.5vw, 29px);
  line-height: 1.1;
  font-weight: 800;
}
.heading-line--left {
  margin-left: 0;
}
.featured-heading p {
  margin: 6px 0 0;
  color: #aeb3b6;
  font-size: 9px;
}
.featured-catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border: 1px solid rgba(245, 185, 0, 0.8);
  border-radius: 20px;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
}
.featured-catalog-link:hover {
  background: var(--uf-yellow);
  color: #17191b;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.featured-card {
  display: grid;
  grid-template-columns: 39% 61%;
  min-height: 185px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: #2b3034;
}
.featured-card__visual {
  display: grid;
  min-width: 0;
  place-items: center;
}
.featured-card__visual span {
  color: #999;
  font-size: 8px;
}
.featured-card__content {
  padding: 14px 11px 11px;
  min-width: 0;
}
.featured-card__content h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.featured-card__content p {
  margin: 0 0 8px;
  color: #aeb3b6;
  font-size: 7.5px;
  line-height: 1.35;
}
.featured-card__content ul {
  margin: 0 0 9px;
  padding: 0;
  list-style: none;
}
.featured-card__content li {
  margin: 4px 0;
  color: #e1e4e5;
  font-size: 7px;
  line-height: 1.2;
}
.featured-card__content li i {
  margin-right: 4px;
  color: #f2c44a;
}
.featured-card .home-btn {
  min-height: 26px;
  padding: 6px 9px;
  border-radius: 13px;
  font-size: 7px;
}

/* INDUSTRIAS */
.home-industries {
  padding-top: 28px;
}
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.industry-card {
  color: #111827 !important;
  text-decoration: none !important;

  min-width: 0;
  color: #25282a;
}
.industry-card:hover {
  color: #25282a;
}
.industry-card__image {
  height: 125px;
  overflow: hidden;
  background: #f1f5f9;

  height: 101px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.industry-card__image span {
  font-size: 8px;
}
.industry-card h3 {
  margin: 7px 0 3px;
  color: #111827;
  font-size: 10px;
  line-height: 1.15;
  font-weight: 800;

  margin: 7px 0 2px;
  color: #25282a;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
}
.industry-card p {
  margin: 0;
  color: #64748b;
  font-size: 8px;
  line-height: 1.3;

  margin: 0;
  color: #777b7e;
  font-size: 7.5px;
  line-height: 1.3;
}

/* CONFIANZA */
.home-trust {
  padding: 28px 0 25px;
  background: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  gap: 20px;
}
.trust-grid h2 {
  margin: 0;
  color: #202326;
  font-size: clamp(25px, 2.8vw, 34px);
  line-height: 1.03;
  letter-spacing: -0.7px;
  font-weight: 800;
}
.trust-grid p {
  margin: 0 0 7px;
  color: #666b6e;
  font-size: 10px;
  line-height: 1.5;
}
.trust-grid strong {
  font-size: 10px;
}
.clients-logos {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--uf-border);
}
.client-logo {
  height: 30px;
  display: grid;
  place-items: center;
  color: #777;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  filter: grayscale(1);
}

/* CTA */
.home-cta {
  padding: 16px 0;
  background: var(--uf-yellow);
}
.home-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.home-cta h2 {
  margin: 0;
  color: #1e2224;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.1;
  font-weight: 800;
}
.home-cta p {
  margin: 4px 0 0;
  color: #56480a;
  font-size: 8px;
}
.home-cta__actions {
  display: flex;
  gap: 8px;
}
.home-btn--dark {
  background: #171b1d;
  border: 1px solid #171b1d;
  color: #fff;
}
.home-btn--dark:hover {
  background: #0f172a;
  color: #fff;
}
.home-btn--outline-dark {
  border: 1px solid #242629;
  color: #242629;
}
.home-btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #17191b;
}

@media (max-width: 767.98px) {
  .home-container {
    width: min(1180px, calc(100% - 20px));
  }
  .home-hero__grid {
    grid-template-columns: 43% 57%;
  }
  .home-hero__copy {
    padding: 30px 16px;
  }
  .home-hero h1 {
    font-size: clamp(27px, 6vw, 40px);
  }
  .home-hero__visual {
    min-height: 300px;
  }
  .home-benefits__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .benefit-item {
    padding: 8px 10px;
    gap: 7px;
  }
  .benefit-item > i {
    flex-basis: 23px;
    width: 23px;
    font-size: 19px;
  }
  .benefit-item strong {
    font-size: 7px;
  }
  .benefit-item small {
    font-size: 6px;
  }
  .category-card__image {
    height: 100px;
  }
  .featured-card {
    grid-template-columns: 37% 63%;
  }
  .featured-card__content {
    padding: 10px 8px;
  }
  .featured-card__content h3 {
    font-size: 10px;
  }
  .featured-card__content p {
    font-size: 6px;
  }
  .featured-card__content li {
    font-size: 6px;
  }
  .industries-grid {
    gap: 7px;
  }
  .industry-card__image {
    height: 80px;
  }
  .trust-grid {
    grid-template-columns: 42% 58%;
  }
  .trust-grid h2 {
    font-size: 23px;
  }
  .trust-grid p,
  .trust-grid strong {
    font-size: 7px;
  }
  .clients-logos {
    gap: 5px;
  }
  .client-logo {
    font-size: 6px;
  }
  .home-cta h2 {
    font-size: 16px;
  }
  .home-cta__actions .home-btn {
    padding: 7px 9px;
    font-size: 7px;
  }
}

@media (max-width: 479.98px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
  }
  .home-hero__visual {
    min-height: 240px;
  }
  .home-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefit-item:nth-child(2) {
    border-right: 0;
  }
  .benefit-item:nth-child(-n + 2) {
    border-bottom: 1px solid #e7e7e4;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-heading,
  .home-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .featured-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .clients-logos {
    grid-template-columns: repeat(3, 1fr);
  }
  .home-cta__actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* =========================================================
   AJUSTES FINALES — HERO A SANGRE / IMAGEN A TODO EL ANCHO
   ========================================================= */

/* La imagen del hero ocupa TODO el ancho y alto del hero. */

.home-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* El contenido queda encima de la fotografía, como en la referencia. */

/* Suaviza la transición del panel blanco hacia la fotografía. */
.home-hero__copy::after {
  content: '';
  position: absolute;
  top: 0;
  right: -90px;
  width: 90px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0));
}
.home-page .home-benefits {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: none;
}
.home-page .home-benefits__grid {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
}
.home-page .benefit-item {
  min-height: 65px;
  background: transparent;
  border-radius: 0;
  border-right: 0;
  border-left: 0;
  box-shadow: none;
  padding: 10px 24px;
}
.home-page .benefit-item > i {
  color: #17191b;
}
.home-page .category-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}
.home-page .category-card:hover {
  box-shadow: none;
  transform: none;
}
.home-page .category-card__image {
  background: #f0f0ee;
  border: 0;
  border-radius: 0;
}
.home-page .category-card__body {
  padding: 7px 8px 6px;
  background: #fff;
}
.home-page .industry-card__image {
  border: 0;
  border-radius: 0;
  background: #f0f0ee;
}
.home-page .featured-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}
.home-page .featured-card__visual {
  border: 0;
}
.home-page .home-container {
  width: min(1180px, calc(100% - 28px));
}
@media (max-width: 767.98px) {
  .home-hero,
  .home-hero__grid,
  .home-hero__visual {
    min-height: 320px;
  }
  .home-hero__copy {
    width: 52%;
    min-height: 320px;
    padding-left: 16px;
    padding-right: 18px;
  }
  .home-page .home-benefits__grid {
    width: calc(100% - 20px);
  }
  .home-page .benefit-item {
    border-right: 0;
    border-radius: 0;
  }
}
@media (max-width: 479.98px) {
  .home-hero,
  .home-hero__grid,
  .home-hero__visual {
    min-height: 420px;
  }
  .home-hero__copy {
    width: 100%;
    min-height: 420px;
    background: rgba(255, 255, 255, 0.92);
  }
  .home-hero__copy::after {
    display: none;
  }
}

/* =========================================================
   TIPOGRAFÍA — ESCALA VISUAL DE REFERENCIA
   ========================================================= */
@media (min-width: 768px) {
  .home-hero h1 {
    font-size: clamp(52px, 4.4vw, 70px) !important;
    line-height: 0.96;
    letter-spacing: -2.2px;
  }

  .home-eyebrow {
    font-size: 14px !important;
    letter-spacing: 1px;
    margin-bottom: 16px;
  }

  .home-hero__copy > p {
    font-size: 16px !important;
    line-height: 1.45;
    max-width: 500px;
  }

  .home-btn {
    min-height: 42px;
    padding: 10px 19px;
    font-size: 13px !important;
  }

  .home-hero__experience > i {
    font-size: 24px;
  }

  .home-hero__experience strong {
    font-size: 11px !important;
  }

  .home-hero__experience small {
    font-size: 9px !important;
  }
}

/* =========================================================
   HOME | PALETA 06 CORPORATIVA
   Sin diagonales · tipografía grande · composición limpia
   ========================================================= */

.home-page .home-hero__copy {
  background: #0f172a;
}
.home-page .home-hero__copy::after {
  display: none !important;
}
.home-page .home-hero h1 {
  color: #ffffff;
  font-size: clamp(48px, 5vw, 70px);
}
.home-page .home-eyebrow {
  color: #f4b400;
}
.home-page .home-hero__copy > p {
  color: #e2e8f0;
  font-size: 16px;
}
.home-page .home-btn--primary {
  background: #f4b400;
  border-color: #f4b400;
  color: #0f172a;
}
.home-page .home-btn--primary:hover {
  background: #d9a600;
  border-color: #d9a600;
}
.home-page .home-section-heading h2,
.home-page .trust-grid h2 {
  color: #0f172a;
}
.home-page .home-section-heading p,
.home-page .trust-grid p {
  color: #64748b;
}
.home-page .heading-line {
  background: #f4b400;
}
.home-page .category-card__image,
.home-page .industry-card__image {
  background: #f8fafc;
}
.home-page .category-card__body strong,
.home-page .industry-card h3 {
  color: #0f172a;
  font-size: 13px;
}
.home-page .category-card__body i {
  color: #f4b400;
}
.home-page .home-featured {
  background: #0f172a;
}
.home-page .featured-heading h2 {
  color: #ffffff;
}
.home-page .featured-heading p {
  color: #cbd5e1;
}

.home-page .featured-card__content h3 {
  color: #0f172a;
}
.home-page .featured-card__content p,
.home-page .featured-card__content li {
  color: #64748b;
}
.home-page .featured-card__content li i {
  color: #f4b400;
}
.home-page .featured-catalog-link {
  border-color: #f4b400;
  color: #ffffff;
}
.home-page .home-cta {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}
.home-page .home-cta h2 {
  color: #0f172a;
}
.home-page .home-cta p {
  color: #64748b;
}

/* Extracted from index.blade.php; kept outside Blade for maintainability. */

/* =========================================================
   UNIFILA HOME — REDISEÑO DESDE INDUSTRIAS HACIA ABAJO
   ========================================================= */
.uf-industries {
  border-top: 1px solid #e5e9ef;
  border-bottom: 1px solid #dfe5ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  background: #fff;
  padding: 92px 0 100px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e5e9ef;
  border-bottom: 1px solid #dfe5ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.uf-industries:before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: #f4f7fa;
  right: -180px;
  top: 90px;
  z-index: 0;
}
.uf-industries .container,
.uf-story .container,
.uf-clients .container,
.uf-capabilities .container,
.uf-delivery .container {
  position: relative;
  z-index: 1;
}
.uf-section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}
.uf-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #eab500;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 13px;
}
.uf-kicker span {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #eab500;
}
.uf-kicker--left {
  justify-content: flex-start;
}
.uf-kicker--light {
  color: #f3c000;
}
.uf-kicker--light span {
  background: #f3c000;
}
.uf-section-heading h2,
.uf-story__content h2,
.uf-capabilities__top h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.08;
  color: #0d172b;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -1.2px;
}
.uf-section-heading h2 strong,
.uf-story__content h2 strong,
.uf-capabilities__top h2 strong {
  color: #e7b400;
}
.uf-section-heading p {
  max-width: 650px;
  margin: auto;
  color: #697386;
  font-size: 15px;
  line-height: 1.7;
}
.uf-industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.uf-industry-card {
  box-shadow: 0 8px 28px rgba(13, 23, 43, 0.065);
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 245px;
  border: 1px solid #e6eaf0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 35px rgba(13, 23, 43, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 8px 28px rgba(13, 23, 43, 0.065);
}
.uf-industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(13, 23, 43, 0.11);
  border-color: #e7b400;
}
.uf-industry-card--featured {
  grid-column: 1/-1;
  grid-template-columns: 45% 55%;
  min-height: 300px;
  background: #0d172b;
  border-color: #0d172b;
  color: #fff;
}
.uf-industry-card__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f8fafc, #edf2f6);
  overflow: hidden;
}
.uf-industry-card--featured .uf-industry-card__visual {
  background: radial-gradient(circle at 60% 45%, #263a58 0, #162640 45%, #0d172b 100%);
}
.uf-industry-card__visual:after {
  content: '';
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(234, 181, 0, 0.18);
  border-radius: 50%;
}
.uf-industry-card__orb {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  box-shadow: 0 15px 35px rgba(13, 23, 43, 0.12);
  position: relative;
  z-index: 1;
}
.uf-industry-card--featured .uf-industry-card__orb {
  background: #eab500;
  color: #0d172b;
  width: 135px;
  height: 135px;
  box-shadow: 0 18px 45px rgba(234, 181, 0, 0.22);
}
.uf-industry-card__orb i {
  font-size: 43px;
  color: #0d172b;
}
.uf-industry-card__number {
  position: absolute;
  left: 17px;
  top: 15px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #000;
  display: none;
}
.uf-industry-card--featured .uf-industry-card__number {
  color: #000;
}
.uf-industry-card__tag {
  position: absolute;
  bottom: 15px;
  left: 17px;
  background: #eab500;
  color: #0d172b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 7px 9px;
  border-radius: 4px;
}
.uf-industry-card__content {
  padding: 31px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.uf-industry-card--featured .uf-industry-card__content {
  padding: 40px 48px;
}
.uf-industry-card__eyebrow {
  font-size: 14px;
  letter-spacing: 1.7px;
  font-weight: 800;
  color: #e0ad00;
}
.uf-industry-card h3 {
  font-size: 22px;
  line-height: 1.2;
  color: #0d172b;
  margin: 9px 0 9px;
  font-weight: 800;
}
.uf-industry-card--featured h3 {
  font-size: 32px;
  color: #fff;
  margin-top: 11px;
}
.uf-industry-card p {
  font-size: 14px;
  line-height: 1.65;
  color: #748092;
  margin: 0;
  max-width: 420px;
}
.uf-industry-card--featured p {
  color: #c5cfdd;
  font-size: 15px;
}
.uf-industry-card__link {
  margin-top: 21px;
  font-size: 11px;
  font-weight: 800;
  color: #0d172b;
}
.uf-industry-card--featured .uf-industry-card__link {
  color: #fff;
}
.uf-industry-card__link i {
  margin-left: 7px;
  color: #eab500;
}

.uf-story {
  position: relative;
  border-bottom: 1px solid #dfe5ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  background: #f5f7f9;
  padding: 105px 0;
  position: relative;
  border-bottom: 1px solid #dfe5ec;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.uf-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.uf-story__media {
  position: relative;
  padding: 0 28px 28px 0;
}
.uf-story__media:after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 82%;
  border: 2px solid #eab500;
  border-radius: 14px;
  z-index: 0;
}
.uf-story__media img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 14px;
  position: relative;
  z-index: 1;
  box-shadow: 0 25px 55px rgba(13, 23, 43, 0.13);
}
.uf-story__badge {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 38px;
  background: #eab500;
  color: #0d172b;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 15px 35px rgba(13, 23, 43, 0.16);
}
.uf-story__badge strong {
  font-size: 32px;
  line-height: 1;
}
.uf-story__badge span {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  margin-top: 5px;
  max-width: 70px;
}
.uf-story__content h2 {
  font-size: clamp(32px, 3.2vw, 45px);
}
.uf-story__lead {
  font-size: 16px;
  line-height: 1.8;
  color: #596578;
  max-width: 590px;
}
.uf-story__benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 24px;
  margin: 28px 0 31px;
}
.uf-story__benefits div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #263247;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}
.uf-story__benefits i {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #fff2bf;
  color: #d19f00;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 13px;
}
.uf-primary-btn,
.uf-dark-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  border-radius: 5px;
  padding: 14px 19px;
  transition: 0.2s;
}
.uf-primary-btn {
  background: #eab500;
  color: #0d172b;
}
.uf-primary-btn:hover {
  background: #d8a600;
  color: #0d172b;
  transform: translateY(-2px);
}

.uf-clients {
  position: relative;
  border-top: 1px solid #d7c79e;
  border-bottom: 1px solid #d2c097;
  padding: 24px 0 0 !important;
  overflow: hidden;
  background: #e8d9b4;
  padding: 34px 0 40px;
  position: relative;
  border-top: 1px solid #d7c79e;
  border-bottom: 1px solid #d2c097;
}
.uf-clients__heading {
  display: block !important;
  margin: 0 auto 14px !important;
  padding: 0 0px !important;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.uf-clients__heading span {
  display: block;
  margin: 0 0 4px;
  color: #0d172b;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1.8px;
  color: #0d172b;
}
.uf-clients__heading p {
  margin: 0 !important;
  color: #5d574b;
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
  font-size: 16px;
  color: #5d574b;
}
.uf-clients__slider {
  padding: 0 32px;
}
.uf-client-logo {
  width: 100%;
  height: 68px !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 9px 15px !important;
  background: #fff !important;
  border: 1px solid rgba(13, 23, 43, 0.07);
  border-radius: 9px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(76, 61, 25, 0.07);
  height: 72px;
  background: rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
}
.uf-client-logo img {
  max-height: 38px;
  max-width: 125px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.72;
  transition: 0.2s;
}
.uf-client-logo:hover img {
  filter: none;
  opacity: 1;
}
.uf-clients .swiper-button-next,
.uf-clients .swiper-button-prev {
  color: #0d172b;
  transform: scale(0.55);
}

.uf-capabilities {
  background: #0d172b;
  padding: 100px 0;
  color: #fff;
}
.uf-capabilities__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 45px;
}
.uf-capabilities__top h2 {
  color: #000;
  margin: 0;
}
.uf-capabilities__top p {
  max-width: 390px;
  color: #aeb9c9;
  line-height: 1.75;
  font-size: 14px;
  margin: 0 0 4px;
}
.uf-capabilities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #2a3850;
  border: 1px solid #2a3850;
}
.uf-capabilities__grid article {
  position: relative;
  background: #0d172b;
  padding: 30px 27px 32px;
  min-height: 285px;
  transition: 0.2s;
}
.uf-capabilities__grid article:hover {
  background: #14243d;
}
.uf-capabilities__grid article > span {
  position: absolute;
  right: 23px;
  top: 22px;
  color: #66758a;
  font-size: 10px;
  font-weight: 800;
}
.uf-capabilities__grid article > i {
  font-size: 30px;
  color: #eab500;
}
.uf-capabilities__grid h3 {
  font-size: 18px;
  margin: 27px 0 11px;
  color: #fff;
  line-height: 1.25;
}
.uf-capabilities__grid p {
  font-size: 12px;
  color: #9eacbf;
  line-height: 1.65;
  margin: 0 0 24px;
}
.uf-capabilities__grid a {
  font-size: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}
.uf-capabilities__grid a i {
  color: #eab500;
  margin-left: 5px;
}

.uf-delivery {
  background: #f5f7f9;
  padding: 58px 0 70px;
  position: relative;
  border-bottom: 1px solid #dce2e9;
  background: #f5f7f9;
  padding: 58px 0 70px;
  position: relative;
  border-bottom: 1px solid #dce2e9;
}
.uf-delivery__box {
  background: #e8d9b4;
  border-radius: 18px;
  min-height: 250px;
  height: 250px;
  display: grid;
  grid-template-columns: 1fr 290px;
  align-items: center;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  min-height: 352px;
  height: 352px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  overflow: hidden;
  position: relative;
}
.uf-delivery__content {
  padding: 30px 40px 30px 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 42px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.uf-delivery__eyebrow {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #786b51;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #6e5600;
}
.uf-delivery h2 {
  font-size: clamp(27px, 2.8vw, 40px);
  line-height: 1.08;
  color: #4d5667;
  margin: 0 0 8px;
  letter-spacing: -0.8px;
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.02;
  color: #0d172b;
  margin: 10px 0 15px;
  letter-spacing: -1px;
}
.uf-delivery h2 strong {
  color: #d99f00;
  font-weight: 900;
  font-weight: 900;
}
.uf-delivery p {
  color: #6a6a61;
  line-height: 1.5;
  font-size: 13px;
  max-width: 610px;
  margin: 0;
  color: #4f4526;
  line-height: 1.65;
  font-size: 14px;
  max-width: 470px;
  margin-bottom: 22px;
}
.uf-dark-btn {
  background: #0d172b;
  color: #fff;
}
.uf-dark-btn:hover {
  background: #172942;
  color: #fff;
  transform: translateY(-2px);
}
.uf-delivery__image {
  position: relative;
  width: 190px;
  height: 190px;
  justify-self: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f4ea;
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(13, 23, 43, 0.12);
  z-index: 1;
  position: relative;
  height: 352px;
  width: 352px;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6efe7;
}
.uf-delivery__image:after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(234, 181, 0, 0.1), transparent 55%);
  pointer-events: none;
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(234, 181, 0, 0.28), transparent 32%);
  pointer-events: none;
}
.uf-delivery__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
@media (min-width: 992px) {
  .uf-delivery__image img {
    object-position: 58% center;
  }
}
.uf-delivery__circle {
  position: absolute;
  right: 30px;
  bottom: 20px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #0d172b;
  color: #eab500;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 25px rgba(13, 23, 43, 0.22);
  z-index: 2;
}
@media (max-width: 991px) {
  .uf-industry-card--featured {
    grid-template-columns: 1fr;
  }
  .uf-industry-card--featured .uf-industry-card__visual {
    min-height: 230px;
  }
  .uf-story__grid {
    gap: 40px;
  }
  .uf-capabilities__grid {
    grid-template-columns: 1fr 1fr;
  }
  .uf-capabilities__top {
    align-items: flex-start;
    flex-direction: column;
  }
  .uf-delivery__box {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 352px;
  }
  .uf-delivery__image {
    height: 270px;
    min-height: 270px;
  }
}
@media (max-width: 767px) {
  .uf-industries,
  .uf-story,
  .uf-capabilities,
  .uf-delivery {
    padding: 65px 0;
  }
  .uf-section-heading {
    margin-bottom: 32px;
  }
  .uf-industry-grid {
    grid-template-columns: 1fr;
  }
  .uf-industry-card,
  .uf-industry-card--featured {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .uf-industry-card__visual,
  .uf-industry-card--featured .uf-industry-card__visual {
    min-height: 190px;
  }
  .uf-industry-card__content,
  .uf-industry-card--featured .uf-industry-card__content {
    padding: 25px;
  }
  .uf-industry-card--featured h3 {
    font-size: 27px;
  }
  .uf-story__grid {
    grid-template-columns: 1fr;
  }
  .uf-story__media img {
    height: 330px;
  }
  .uf-story__benefits {
    grid-template-columns: 1fr;
  }
  .uf-clients__heading {
    display: block;
  }
  .uf-clients__heading p {
    margin-top: 7px;
  }
  .uf-capabilities__grid {
    grid-template-columns: 1fr;
  }
  .uf-capabilities__grid article {
    min-height: auto;
  }
  .uf-delivery__content {
    padding: 38px 28px;
  }
  .uf-delivery__image {
    height: 220px;
    min-height: 220px;
  }
  .uf-delivery__circle {
    width: 58px;
    height: 58px;
    right: 18px;
    bottom: 18px;
  }
  .uf-story__badge {
    width: 95px;
    height: 95px;
    top: 20px;
  }
  .uf-story__badge strong {
    font-size: 25px;
  }
}

/* =========================================================
   UNIFILA — JERARQUÍA VISUAL DEL HOME
   Separación clara entre bloques sin recargar el diseño.
   ========================================================= */

.solution-finder {
  padding: 42px 0 34px !important;
  background: #f7f9fc !important;
  position: relative;
  border-top: 1px solid #dfe5ec;
  border-bottom: 1px solid #dce3eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);

  position: relative;
  border-top: 1px solid #dfe5ec;
  border-bottom: 1px solid #dce3eb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.solution-finder:before {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  background: #eab500;
  margin: 0 auto 28px;
  border-radius: 3px;

  content: '';
  display: block;
  width: 54px;
  height: 3px;
  background: #eab500;
  margin: 0 auto 28px;
  border-radius: 3px;
}
.featured-products-unifila {
  padding: 42px 0 46px !important;
  background: #0f172a !important;
  overflow: hidden;
  position: relative;
  border-top: 3px solid #eab500;
  border-bottom: 3px solid #0d172b;
  box-shadow: 0 8px 24px rgba(13, 23, 43, 0.08);

  position: relative;
  border-top: 3px solid #eab500;
  border-bottom: 3px solid #0d172b;
  box-shadow: 0 8px 24px rgba(13, 23, 43, 0.08);

  padding-bottom: 30px !important;
}
.featured-products-unifila:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: rgba(234, 181, 0, 0.28);
  pointer-events: none;

  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: rgba(234, 181, 0, 0.28);
  pointer-events: none;
}

.uf-process {
  background: #f5f7f9;
  padding: 90px 0;
  position: relative;
  border-top: 1px solid #dfe5ec;
  border-bottom: 1px solid #dfe5ec;

  position: relative;
  border-top: 1px solid #dfe5ec;
  border-bottom: 1px solid #dfe5ec;
}

.uf-contact-page {
  background: #f5f7fa;
  padding: 78px 0 95px;
  position: relative;
  border-top: 1px solid #dce2e9;

  position: relative;
  border-top: 1px solid #dce2e9;
}

.solution-finder-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e1e7ef;
  border-radius: 9px;
  text-decoration: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.065);

  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.065);
}
.featured-product-card {
  grid-template-columns: 42% 58%;
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  overflow: hidden;
  background: #17212b !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
@media (min-width: 992px) {
  .uf-industries {
    padding-top: 86px;
    padding-bottom: 94px;
  }
  .solution-finder {
    padding-top: 48px !important;
    padding-bottom: 42px !important;
  }
  .featured-products-unifila {
    padding-top: 34px;
    padding-bottom: 36px;
  }
  .uf-story {
    padding-top: 92px;
    padding-bottom: 92px;
  }
  .uf-clients {
    padding-top: 38px;
    padding-bottom: 44px;
  }
  .uf-process {
    padding-top: 82px;
    padding-bottom: 86px;
  }
  .uf-delivery {
    padding-top: 54px;
    padding-bottom: 62px;
  }
  .uf-contact-page {
    padding-top: 72px;
  }
}
@media (max-width: 767px) {
  .uf-industries {
    padding-top: 58px;
    padding-bottom: 64px;
  }
  .solution-finder {
    padding-top: 40px !important;
    padding-bottom: 36px !important;
  }
  .solution-finder:before {
    margin-bottom: 22px;
  }
  .featured-products-unifila {
    padding-top: 28px;
    padding-bottom: 32px;
  }
  .uf-story {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .uf-process {
    padding-top: 62px;
    padding-bottom: 66px;
  }
  .uf-delivery {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .uf-contact-page {
    padding-top: 60px;
  }
}

/* Home-specific featured products carousel */

/* =========================================================
   HOME — PRODUCTOS MÁS SOLICITADOS EN CAROUSEL
   Ecomax / Maxima / Universal / Ejecutivo / Tensor Luxor / Cenicero Titan
   ========================================================= */

.featured-products-unifila .featuredProductsSwiper {
  position: relative;
  overflow: hidden;
  padding: 2px 2px 42px;
  height: 22rem;

  overflow: visible !important;

  position: relative;
  overflow: hidden;
  padding: 4px 2px 10px;

  position: relative !important;
  overflow: hidden !important;
  padding: 0 2px !important;

  overflow: hidden !important;
}

.featured-products-unifila .featuredProductsSwiper .swiper-wrapper {
  align-items: stretch;

  align-items: stretch;

  align-items: stretch !important;
}

.featured-products-unifila .featuredProductsSwiper .swiper-slide {
  height: auto !important;
  display: flex !important;
  align-items: stretch !important;
}

.featured-products-unifila .featured-product-card {
  width: 100%;
  height: 100%;
  min-height: 0 !important;

  width: 100% !important;
  height: 365px !important;
  min-height: 365px !important;
  display: flex !important;
  flex-direction: column !important;

  min-height: 0 !important;
}

.featured-products-unifila .featured-product-card__image {
  position: relative;
  height: 205px !important;
  min-height: 205px !important;
  background: #f8fafc !important;

  flex: 0 0 155px !important;
  height: 155px !important;
  min-height: 155px !important;
  padding: 14px 24px !important;

  height: 155px !important;
  min-height: 155px !important;
  padding: 12px 24px !important;
}

.featured-products-unifila .featured-product-card__badge {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 5px 12px rgba(15, 23, 42, 0.16);
}

.featured-products-unifila .featured-product-card__category {
  display: block;
  margin-bottom: 7px;
  color: #f4b400;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.2px;
}

.featured-products-unifila .featured-product-card__content h3 {
  margin-bottom: 8px !important;
  font-size: 19px !important;

  margin-bottom: 5px !important;
  font-size: 18px !important;
}

.featured-products-unifila .featured-product-card__content h3::after {
  width: 28px;
  margin-top: 8px;
}

.featured-products-unifila .featured-product-card__content p {
  min-height: 0 !important;
  margin: 8px 0 12px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.featured-products-unifila .featured-product-card__content > a {
  margin-top: auto !important;
  padding: 8px 10px !important;
  font-size: 12px !important;
}

/* Navegación: permanece dentro de la franja oscura */
.featured-products-swiper__controls {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 5;

  width: max-content;
  min-height: 44px;
  margin: 18px auto 0;
  padding: 5px 7px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  border: 1px solid rgba(244, 180, 0, 0.28);
  border-radius: 999px;
  background: #17212b;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);

  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  min-height: 54px;
  margin: 20px auto 0;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #dce3eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(13, 23, 43, 0.08);
  z-index: 10;
}

.featured-products-swiper__prev,
.featured-products-swiper__next {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 180, 0, 0.75);
  border-radius: 50%;
  background: transparent;
  color: #f4b400;
  cursor: pointer;
  transition: 0.2s ease;

  appearance: none;
  -webkit-appearance: none;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px;
  flex: 0 0 42px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #0d172b !important;
  border-radius: 50%;
  background: #0d172b !important;
  color: #fff !important;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
  transition: 0.2s ease;
}

.featured-products-swiper__prev:hover,
.featured-products-swiper__next:hover {
  background: #f4b400;
  color: #0f172a;
  transform: translateY(-1px);

  background: #eab500 !important;
  border-color: #eab500 !important;
  color: #0d172b !important;
  transform: translateY(-1px);
}

.featured-products-swiper__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  min-width: 54px;
  justify-content: center;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;

  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: 55px;
  gap: 4px;
  color: #8a95a5;
  font-size: 12px;
  font-weight: 700;
}

.featured-products-swiper__counter strong {
  color: #fff;
  font-size: 13px;
  font-weight: 900;

  color: #0d172b;
  font-size: 15px;
  font-weight: 900;
}

@media (max-width: 767px) {
  .featured-products-swiper__controls {
    gap: 8px;
    min-height: 42px;
    margin-top: 14px;
  }

  .featured-products-swiper__prev,
  .featured-products-swiper__next {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
  .uf-contact-page {
    padding: 55px 0 65px;

    padding-top: 60px;
  }
  .uf-delivery {
    padding: 55px 0 65px;

    padding-top: 48px;
    padding-bottom: 56px;
  }
  .uf-delivery__image {
    height: 220px;
    min-height: 220px;
  }
  .uf-industries {
    padding-top: 58px;
    padding-bottom: 64px;
  }
  .solution-finder {
    padding-top: 40px !important;
    padding-bottom: 36px !important;
  }
  .solution-finder:before {
    margin-bottom: 22px;
  }
  .featured-products-unifila {
    padding-top: 28px;
    padding-bottom: 32px;
  }
  .uf-story {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .uf-process {
    padding-top: 62px;
    padding-bottom: 66px;
  }
  .uf-clients {
    padding: 22px 0 0 !important;
  }
  .uf-clients__heading {
    margin-bottom: 12px !important;
    padding: 0 15px !important;
  }
  .uf-client-logo {
    height: 62px !important;
    min-height: 62px !important;
    padding: 8px 12px !important;
  }
}

/* =========================================================
   PRODUCTOS DESTACADOS — CONTROLES VISIBLES Y EDITABLES
   ========================================================= */

.featured-products-swiper__prev:disabled,
.featured-products-swiper__next:disabled {
  opacity: 0.45 !important;
  cursor: default;
}

.featured-products-swiper__prev i,
.featured-products-swiper__next i {
  font-size: 18px;
  line-height: 1;
}

.featured-products-swiper__pagination {
  position: static !important;
  width: auto !important;
  min-width: 90px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.featured-products-swiper__pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 !important;
  background: #cbd3dd;
  opacity: 1;
  transition: 0.2s ease;
  cursor: pointer;
}

.featured-products-swiper__pagination .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 10px;
  background: #eab500;
}

@media (max-width: 767px) {
  .featured-products-swiper__controls {
    margin-top: 16px;
    min-height: 52px;
    gap: 9px;
  }

  .featured-products-swiper__prev,
  .featured-products-swiper__next {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    flex-basis: 40px;
  }

  .featured-products-swiper__pagination {
    min-width: 70px;
  }
}

/* =========================================================
   HOME — CAROUSEL DE PRODUCTOS — AJUSTE FINAL
   Tarjetas compactas + controles visibles debajo
   ========================================================= */

.featured-products-unifila .featured-product-card__content {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 16px 18px 17px !important;
  display: flex !important;
  flex-direction: column !important;

  padding: 14px 16px 15px !important;
}

.featured-products-swiper__controls--bottom {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  min-height: 44px !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  z-index: 20 !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  width: 100% !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  position: static !important;
  z-index: 5 !important;
}

.featured-products-swiper__controls--bottom .featured-products-swiper__prev,
.featured-products-swiper__controls--bottom .featured-products-swiper__next {
  position: relative !important;
  inset: auto !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  flex: 0 0 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #f4b400 !important;
  border-radius: 50% !important;
  background: #0f172a !important;
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  cursor: pointer !important;

  position: static !important;
  inset: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(244, 180, 0, 0.65) !important;
  border-radius: 50% !important;
  background: #17243a !important;
  color: #ffffff !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: 0.2s ease !important;
}

.featured-products-swiper__controls--bottom .featured-products-swiper__prev:hover,
.featured-products-swiper__controls--bottom .featured-products-swiper__next:hover {
  background: #f4b400 !important;
  color: #0f172a !important;

  background: #f4b400 !important;
  border-color: #f4b400 !important;
  color: #0d172b !important;
  transform: translateY(-1px) !important;
}

.featured-products-swiper__controls--bottom .featured-products-swiper__counter {
  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  min-width: 58px !important;
  gap: 4px !important;
  color: #94a3b8 !important;
  font-size: 11px !important;

  display: inline-flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  gap: 5px !important;
  min-width: 60px !important;
  color: #8e9aac !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.featured-products-swiper__controls--bottom .featured-products-swiper__counter strong {
  color: #f4b400 !important;
  font-size: 16px !important;
  font-weight: 900 !important;

  color: #f4b400 !important;
  font-size: 17px !important;
  font-weight: 900 !important;
}

.featured-products-swiper__controls--bottom .featured-products-swiper__separator {
  color: #64748b !important;

  color: #66758a !important;
}

@media (max-width: 1199px) {
  .featured-products-unifila .featured-product-card {
    height: 355px !important;
    min-height: 355px !important;
  }
}

@media (max-width: 767px) {
  .featured-products-unifila .featured-product-card {
    height: 350px !important;
    min-height: 350px !important;
  }

  .featured-products-unifila .featured-product-card__image {
    flex-basis: 150px !important;
    height: 150px !important;
    min-height: 150px !important;
  }

  .featured-products-swiper__controls--bottom {
    margin-top: 14px !important;
  }
}

/* =========================================================
   HOME — CAROUSEL DE PRODUCTOS
   Navegación inferior limpia y alineada con las tarjetas.
   ========================================================= */
.featured-products-unifila__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end !important;
  margin-bottom: 22px !important;

  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 34px !important;
  margin-bottom: 24px !important;
}

.featured-products-unifila__header-copy {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

.featured-products-unifila__header-copy .uf-products-kicker {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: transparent !important;
  color: #f4b400 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.featured-products-unifila__header-copy h2 {
  margin: 0 0 7px !important;
  color: #ffffff !important;
  font-size: clamp(27px, 3vw, 38px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.8px !important;
  font-weight: 800 !important;
}

.featured-products-unifila__header-copy p {
  margin: 0 !important;
  color: #aeb9c9 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

.featured-products-unifila__header-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex: 0 0 auto !important;
}

.featured-products-unifila__button {
  transition: 0.2s ease;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(244, 180, 0, 0.75) !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.featured-products-unifila__button:hover {
  background: #f4b400 !important;
  color: #0f172a !important;

  background: #f4b400 !important;
  color: #0d172b !important;
}

/* Controles: ahora siempre debajo del carousel */

.featured-products-swiper__controls--bottom .featured-products-swiper__prev i,
.featured-products-swiper__controls--bottom .featured-products-swiper__next i {
  font-size: 16px !important;
  line-height: 1 !important;
}

/* Evita que controles antiguos o globales aparezcan en otra posición */
.featured-products-swiper__controls--header {
  display: none !important;
}

@media (max-width: 991px) {
  .featured-products-unifila__header {
    align-items: flex-start !important;
  }
  .uf-delivery__box {
    height: auto;
    min-height: 352px;
  }
  .uf-delivery__image {
    height: 270px;
    min-height: 270px;
    object-position: center center;
  }
}

@media (max-width: 600px) {
  .featured-products-unifila__header {
    align-items: flex-start;
    gap: 10px;

    align-items: flex-start !important;
    gap: 15px;

    display: block !important;
    margin-bottom: 20px !important;
  }

  .featured-products-unifila__header-copy .uf-products-kicker {
    font-size: 9px !important;
  }

  .featured-products-unifila__header-copy h2 {
    font-size: 25px !important;
  }

  .featured-products-unifila__header-actions {
    margin-top: 14px !important;
  }

  .featured-products-unifila__button {
    white-space: nowrap;
    font-size: 8px !important;

    min-height: 38px !important;
    font-size: 10px !important;
  }

  .featured-products-swiper__controls--bottom {
    margin-top: 16px !important;
  }

  .featured-products-swiper__controls--bottom .featured-products-swiper__prev,
  .featured-products-swiper__controls--bottom .featured-products-swiper__next {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }
  .solution-finder {
    padding: 30px 0 25px !important;
  }
  .featured-products-unifila {
    padding: 30px 0 34px !important;
  }
  .featured-product-card {
    display: flex !important;
  }
}

/* =========================================================
   PRODUCTOS DESTACADOS — AJUSTE FINAL
   Controles dentro de la franja oscura + cards compactas
   ========================================================= */

@media (min-width: 992px) {
  .featured-products-unifila .featuredProductsSwiper {
    padding-bottom: 0 !important;
  }
  .uf-industries {
    padding-top: 86px;
    padding-bottom: 94px;
  }
  .solution-finder {
    padding-top: 48px !important;
    padding-bottom: 42px !important;
  }
  .featured-products-unifila {
    padding-top: 34px;
    padding-bottom: 36px;
  }
  .uf-story {
    padding-top: 92px;
    padding-bottom: 92px;
  }
  .uf-clients {
    padding-top: 38px;
    padding-bottom: 44px;

    padding-top: 24px !important;
    padding-bottom: 0 !important;
  }
  .uf-process {
    padding-top: 82px;
    padding-bottom: 86px;
  }
  .uf-delivery {
    padding-top: 54px;
    padding-bottom: 62px;
  }
  .uf-contact-page {
    padding-top: 72px;
  }
}

@media (max-width: 767px) {
  .featured-products-unifila .featuredProductsSwiper {
    padding-bottom: 0 !important;
  }
}
@media (max-width: 1050px) {
  .solution-finder {
    padding: 35px 0 30px !important;
  }
}
@media (max-width: 900px) {
  .featured-products-unifila {
    padding: 35px 0 38px !important;
  }
  .featured-product-card {
    display: grid !important;
    grid-template-columns: 38% 62% !important;
  }
}

/* =========================================================
   INDUSTRIAS — IMÁGENES REALES EN LUGAR DE ICONOS
   ========================================================= */
.uf-industry-card__visual {
  position: relative;
  overflow: hidden;
  min-width: 0;
  min-height: 245px;
  background: #e9eef3;
}

.uf-industry-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.uf-industry-card:hover .uf-industry-card__visual img {
  transform: scale(1.035);
}

/* Ocultamos el círculo/icono anterior: la fotografía es ahora el elemento visual principal. */
.uf-industry-card__visual .uf-industry-card__orb {
  display: none;
}

/* Degradado sutil para que número y etiqueta siempre tengan buena lectura. */
.uf-industry-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(13, 23, 43, 0.22) 0%,
    rgba(13, 23, 43, 0) 34%,
    rgba(13, 23, 43, 0.08) 70%,
    rgba(13, 23, 43, 0.28) 100%
  );
}

.uf-industry-card__number,
.uf-industry-card__tag {
  z-index: 2;
}

/* La tarjeta destacada utiliza la fotografía como protagonista. */
.uf-industry-card--featured .uf-industry-card__visual {
  min-height: 300px;
  background: #0d172b;
}

.uf-industry-card--featured .uf-industry-card__visual img {
  min-height: 300px;
}

@media (max-width: 991px) {
  .uf-industry-card--featured .uf-industry-card__visual,
  .uf-industry-card--featured .uf-industry-card__visual img {
    min-height: 300px;
  }
}

@media (max-width: 767px) {
  .uf-industry-card__visual,
  .uf-industry-card__visual img,
  .uf-industry-card--featured .uf-industry-card__visual,
  .uf-industry-card--featured .uf-industry-card__visual img {
    min-height: 220px;
  }
}
