html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  ::-webkit-scrollbar {display: none;}
}

.ml-home {
  --ml-radius: 1.25rem;
  font-family: "Noto Sans", Arial, sans-serif;
  color: var(--ml-grey-800);
  background: var(--ml-grey-200);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* Entry animations may start outside the viewport; keep them from widening the page. */
  max-width: 100%;
  overflow-x: clip;
}
.ml-home main {
  background: #fff;
}
.ml-home * {
  box-sizing: border-box;
}
.ml-home a {
  color: inherit;
  text-decoration: none;
}
.ml-home button,
.ml-home input {
  font: inherit;
}
.ml-home img,
.ml-home video {
  display: block;
  max-width: 100%;
}
.ml-home h1,
.ml-home h2,
.ml-home h3,
.ml-home h4,
.ml-home p {
  margin: 0;
}
.ml-shell {
  width: min(100% - 3rem, 1400px);
  margin-inline: auto;
}
.ml-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ml-logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}
.ml-logo span {
  font-size: 0.45em;
  vertical-align: top;
}
.ml-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 12rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.ml-button:hover {
  transform: translateY(-2px);
}
.ml-button--light {
  color: #fff;
}
.ml-button--light:hover {
  color: var(--ml-dark-blue-700);
  background: #fff;
}
.ml-text-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  border-bottom: 1px solid;
  padding-bottom: 0.3rem;
}
.ml-text-link--light {
  color: #fff;
}
.ml-placeholder {
  background: #d9e1df url("assets/images/editorial-placeholder.svg")
    center/cover no-repeat;
}
.ml-hero {
  position: relative;
  min-height: 100svh;
  color: #fff;
  background: #162634;
  isolation: isolate;
  overflow: hidden;
}
.ml-hero__video,
.ml-hero__fallback,
.ml-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ml-hero__video {
  object-fit: cover;
  z-index: -3;
}
.ml-hero__fallback {
  z-index: -2;
  background: #193046;
}
.ml-home.is-video-loading .ml-hero__content {
  opacity: 0;
}
.ml-hero__content {
  transition: opacity 0.35s ease;
}
.ml-hero__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 15, 31, 0.72), rgba(0, 15, 31, 0.08) 65%),
    linear-gradient(0deg, rgba(0, 10, 20, 0.5), transparent 55%);
  opacity: var(--ml-hero-overlay, 0.88);
}
.ml-hero__nav {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem clamp(1.25rem, 4vw, 4.5rem);
}
.ml-hero__content {
  position: absolute;
  left: clamp(1.25rem, 7vw, 7rem);
  bottom: clamp(5rem, 14vh, 9rem);
  max-width: 65rem;
}
.ml-hero h1 {
  margin: 0.8rem 0 2rem;
  font-size: clamp(2.5rem, 5.4vw, 6rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.ml-hero__note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.4rem 0.65rem;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}
.ml-tabs-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid color-mix(in srgb, var(--ml-grey-800) 14%, transparent);
  backdrop-filter: blur(16px);
}
.ml-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100%, 42rem);
  margin: auto;
  padding: 0.25rem;
  border-radius: 10px;
  background: #f5f5f5;
}
.ml-tab {
  position: relative;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0.75rem 1rem;
  color: #53606a;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.ml-tab[aria-selected="true"] {
  color: #fff;
  background: #00bdff;
  box-shadow: 0 8px 22px rgba(0, 189, 255, 0.2);
}
.ml-tab:focus-visible,
.ml-home a:focus-visible,
.ml-faq__trigger:focus-visible {
  outline: 3px solid var(--ml-light-blue-500);
  outline-offset: 3px;
}
.ml-tab-stage {
  background: var(--ml-panel-theme, #e6f8ff);
  transition: background-color 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ml-panel[hidden] {
  display: none;
}
.ml-categories-zone {
  position: relative;
  z-index: 1;
  background: #fff;
}
.ml-panel__intro {
  padding: clamp(4rem, 8vw, 8rem) 0 2.25rem;
}
.ml-panel__intro h2,
.ml-section-heading h2 {
  width: 100%;
  max-width: 13ch;
  margin-top: 0.5rem;
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.055em;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}
.ml-panel__note {
  max-width: 36rem;
  margin-top: 1.25rem;
  color: #5e6870;
  font-size: 0.9rem;
}
.ml-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-bottom: clamp(5rem, 9vw, 9rem);
}
.ml-category-card {
  position: relative;
  display: flex;
  min-width: 0;
  aspect-ratio: 1.1;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  transition: background-color 0.3s ease;
}
.ml-category-card:hover {
  background: #e6f8ff;
}
.ml-category-card__media {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex: 1;
  place-items: center;
  overflow: hidden;
}
.ml-category-card img {
  display: block;
  width: 82%;
  height: 82%;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.ml-category-card:hover img {
  transform: scale(1.08);
}
.ml-category-card h3 {
  padding: 0.75rem 0.25rem 0.15rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.ml-category-card__badge {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ml-light-blue-400) 40%, transparent);
  color: var(--ml-grey-900);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}
@media (max-width: 1600px) {
  .ml-category-card__badge {
    font-size: 12px;
  }
}
.ml-featured-list {
  position: relative;
  background: linear-gradient(
    180deg,
    #fff 0,
    #e6f8ff clamp(16rem, 28vw, 28rem),
    rgba(230, 248, 255, 0) clamp(38rem, 55vw, 55rem)
  );
}
.ml-featured {
  --line-bg: #fff;
  --line-color: #071521;
  padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 5vw, 8rem);
  color: var(--line-color);
}
.ml-featured__story {
  position: relative;
  display: grid;
  gap: 4rem;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 30rem;
  border-radius: 1rem;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
}
.ml-featured__story::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--line-bg);
  opacity: 0;
  pointer-events: none;
}
.ml-featured.is-story-integrated .ml-featured__story::before {
  opacity: 0;
}
.ml-featured[data-visual-theme="silver-dark"] .ml-featured__story {
  background: transparent;
}
.ml-featured[data-visual-theme="silver-dark"] .ml-featured__story::before {
  background:
    radial-gradient(circle at 18% 10%, rgba(214, 220, 226, 0.08), transparent 30%),
    linear-gradient(180deg, #16283a 0%, #0c1218 42%, #07090c 100%);
}
.ml-featured[data-layout="image-right"] .ml-featured__media {
  order: 2;
}
.ml-featured[data-layout="image-full"] .ml-featured__story {
  position: relative;
  display: block;
}
.ml-featured[data-layout="image-full"] .ml-featured__media {
  position: absolute;
  inset: 0;
}
.ml-featured[data-layout="image-full"] .ml-featured__media:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 70%);
}
.ml-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ml-featured[data-image-fit="contain"] .ml-featured__media img {
  box-sizing: border-box;
  padding: 0 clamp(1.5rem, 4vw, 4rem);;
  object-fit: contain;
  object-position: center;
}
.ml-featured[data-image-fit="contain-right"] .ml-featured__media img {
  box-sizing: border-box;
  padding-top: 2rem;
  /*padding: 0 clamp(1.5rem, 4vw, 4rem) 0 0*/
  object-fit: contain;
  object-position: left center;
}
.ml-featured[data-image-fit="contain-centered"] .ml-featured__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}
.ml-featured[data-image-fit="contain-centered"] .ml-featured__media img {
  width: min(100%, 38rem);
  height: clamp(16rem, 28vw, 25rem);
  object-fit: contain;
  object-position: center;
}
.ml-featured__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}
.ml-featured__copy h3 {
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.055em;
}
.ml-featured__copy p {
  margin: 1.25rem 0 2rem;
  opacity: 0.8;
}
.ml-featured[data-description-lines="4"] .ml-featured__copy p {
  display: -webkit-box;
  max-width: 42ch;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.ml-featured__actions {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}
.ml-home .ml-featured__actions .ml-featured__resource-link {
  width: max-content !important;
  max-width: 100% !important;
  min-width: max-content !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: keep-all !important;
}
.ml-featured[data-layout="image-full"] .ml-featured__copy {
  min-height: min(68vw, 47rem);
  max-width: 48rem;
}
.ml-products-block {
  padding-top: 0.5rem;
}
.ml-products-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
}
.ml-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  touch-action: auto;
}
@media (min-width: 1601px) {
  .ml-product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.ml-product-state {
  grid-column: 1/-1;
  padding: 3rem 1rem;
  border: 1px solid currentColor;
  border-radius: 1rem;
  text-align: center;
  opacity: 0.7;
}
.ml-product-loading-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ml-product-skeleton {
  --skeleton-surface: rgba(127, 137, 148, 0.14);
  --skeleton-shine: rgba(255, 255, 255, 0.28);
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.8rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, currentColor 6%, transparent);
}
.ml-product-skeleton__media,
.ml-product-skeleton__line,
.ml-product-skeleton__attrs span {
  position: relative;
  overflow: hidden;
  background: var(--skeleton-surface);
}
.ml-product-skeleton__media {
  width: 100%;
  min-height: 160px;
  aspect-ratio: 1 / 1.2;
  border-radius: 0.75rem;
}
.ml-product-skeleton__line {
  height: 1.15rem;
  border-radius: 0.35rem;
}
.ml-product-skeleton__line--title {
  width: 78%;
}
.ml-product-skeleton__attrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: auto;
}
.ml-product-skeleton__attrs span {
  height: 1.8rem;
  border-radius: 0.35rem;
}
.ml-product-skeleton__media::after,
.ml-product-skeleton__line::after,
.ml-product-skeleton__attrs span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, var(--skeleton-shine) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: ml-product-skeleton-shimmer 1.45s ease-in-out infinite;
  animation-delay: calc(var(--skeleton-order, 0) * 90ms);
}
@keyframes ml-product-skeleton-shimmer {
  to { transform: translateX(100%); }
}
@media (max-width: 1600px) {
  .ml-product-grid > .ml-product-skeleton:nth-of-type(5) {
    display: none;
  }
}
.ml-product-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.8rem 0.8rem 0.45rem;
  border-radius: 1rem;
  border: 1px solid #f1f1f1;
  background: #fff;
  color: var(--ml-grey-800);
  box-shadow: 2px 3px 20px 2px rgba(0, 17, 33, 0.04);
  text-decoration: none;
  transition: transform 0.2s;
}
.ml-product-card:hover {
  transform: translateY(-3px);
}
.ml-product-card--disabled:hover {
  transform: none;
}
.ml-product-card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.2;
  min-height: 160px;
  margin-bottom: 0.4rem;
  border-radius: 0.75rem;
  background: #f5f5f5;
  overflow: hidden;
  transition: background-color 0.25s ease;
}
.ml-product-card:hover .ml-product-card__media {
  background: #e6f8ff;
}
.ml-product-card__media img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  transition: transform 0.25s;
}
.ml-product-smart-badge,
.ml-product-temp-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.ml-product-variant-badge {
  position: absolute;
  z-index: 2;
  top: 0.7rem;
  right: 0.7rem;
  color: #00688c;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.ml-product-smart-badge {
  top: 0.6rem;
  right: 0.6rem;
  left: auto;
  padding: 0.45rem 0.7rem;
  color: #fff;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, #00bdff, #0090c7);
  box-shadow: 0 3px 10px rgba(0, 144, 199, 0.35);
}

/* Product cards share the canonical presentation used by /productos. */
.ml-home .ml-product-card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  gap: 0.55rem;
  position: relative;
  min-width: 0;
  padding: 0.8rem 0.8rem 0.45rem;
  overflow: visible;
  border: 1px solid #f1f1f1;
  border-radius: 1rem;
  background: #fff;
  color: #1c1c1a;
  box-shadow: 2px 3px 20px 2px rgba(0, 17, 33, 0.04);
  transition: transform 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.ml-home .ml-product-card:hover,
.ml-home .ml-product-card:focus-visible {
  border-color: #f1f1f1;
  background: #fff;
  box-shadow: 2px 3px 20px 2px rgba(0, 17, 33, 0.04);
}
.ml-home .ml-product-card:hover { transform: translateY(-3px); }
.ml-home .ml-product-card--disabled:hover { transform: none; }
.ml-home .ml-product-card .media {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1.1;
  margin: 0;
  overflow: hidden;
  border: 1px solid #f5f4f4;
  border-radius: 0.75rem;
  background: #f6f6f6;
  transition: background-color 0.25s ease;
}
.ml-home .ml-product-card:hover .media { background: #e6f8ff; }
.ml-home .ml-product-card .media-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.ml-home .ml-product-card .media img {
  position: relative;
  width: 62%;
  height: 62%;
  max-width: none;
  max-height: none;
  margin: 0;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.15s ease;
}
.ml-home .ml-product-card:hover .media img { transform: scale(1.08); }
.ml-home .ml-product-card .media-badges-left {
  position: absolute;
  z-index: 2;
  top: 0.6rem;
  right: 0.6rem;
  left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.ml-home .ml-product-card .smart-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #00bdff, #0090c7);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 144, 199, 0.35);
  font-size: 0.60rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.ml-home .ml-product-card .smart-badge svg { flex: none; }
.ml-home .ml-product-card .card-overlays {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.ml-home .ml-product-card .card-overlays:empty { display: none; }
.ml-home .ml-product-card .badge,
.ml-home .ml-product-card .temp-dots { pointer-events: auto; }
.ml-home .ml-product-card .badge {
  position: absolute;
  z-index: 3;
  top: 0.6rem;
  left: 0.6rem;
  display: inline-flex;
  align-items: center;
  max-width: 58%;
  margin: 0;
  padding: 0.45rem 0.7rem;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #ddca97;
  color: var(--ml-dark-blue-700);
  box-shadow: 0 3px 10px rgba(201, 179, 118, 0.35);
  font-size: 0.60rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ml-home .ml-product-card .temp-dots {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 16px);
  margin: 0;
  padding: 5px 8px;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(20, 24, 33, 0.06);
}
.ml-home .ml-product-card .temp-dots-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.ml-home .ml-product-card .temp-dots-label {
  color: #5d5c5c;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.ml-home .ml-product-card .temp-dots .luz-dot {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ml-home .ml-product-card .temp-dots-icon {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  color: #5d5c5c;
  line-height: 0;
}
.ml-home .ml-product-card .temp-dots.is-collapsed {
  gap: 6px;
  padding: 5px 8px;
  transition: gap 0.28s ease, padding 0.28s ease;
}
.ml-home .ml-product-card .temp-dots.is-collapsed .temp-dots-label {
  max-width: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateX(6px);
  transition: max-width 0.28s ease, opacity 0.2s ease, transform 0.28s ease;
}
.ml-home .ml-product-card .temp-dots.is-collapsed .temp-dots-row { gap: 0; }
@media (hover: hover) and (pointer: fine) {
  .ml-home .ml-product-card:hover .temp-dots.is-collapsed,
  .ml-home .ml-product-card:focus-within .temp-dots.is-collapsed {
    gap: 14px;
    padding: 5px 10px 5px 12px;
  }
  .ml-home .ml-product-card:hover .temp-dots.is-collapsed .temp-dots-label,
  .ml-home .ml-product-card:focus-within .temp-dots.is-collapsed .temp-dots-label {
    max-width: 72px;
    opacity: 1;
    transform: translateX(0);
  }
  .ml-home .ml-product-card:hover .temp-dots.is-collapsed .temp-dots-row,
  .ml-home .ml-product-card:focus-within .temp-dots.is-collapsed .temp-dots-row { gap: 6px; }
}
.ml-home .ml-product-card .card-content {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  gap: 0;
}
.ml-home .ml-product-card .ml-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  margin: 10px 5px 6px;
  padding: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.ml-home .ml-product-card .card-title {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0 0 10px;
  overflow: hidden;
  color: #16294f;
  font-family: "Noto Sans", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ml-home .ml-product-card .specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: start;
  column-gap: 28px;
  row-gap: 0.5rem;
  margin: 0;
}
.ml-home .ml-product-card .spec { min-width: 0; }
.ml-home .ml-product-card .spec-label {
  display: block;
  margin: 0 0 2px;
  overflow: hidden;
  color: #94989c;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ml-home .ml-product-card .spec .val {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow: hidden;
  color: #474747;
  font-size: 0.8rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .ml-home .ml-product-card .ml-card-body { margin: 8px 3px 6px; }
  .ml-home .ml-product-card .card-title { font-size: 1rem; }
  .ml-home .ml-product-card .spec-label { font-size: 14px; }
  .ml-home .ml-product-card .spec .val { font-size: 15px; }
  .ml-home .ml-product-card .badge { top: 0.6rem; left: 0.6rem; }
}
@media (max-width: 560px) {
  .ml-home .ml-product-card { padding: 0.6rem 0.6rem 0.35rem; border-radius: 0.75rem; }
  .ml-home .ml-product-card .ml-card-body { margin: 6px 2px 4px; }
  .ml-home .ml-product-card .card-title { margin-bottom: 6px; font-size: 16px; }
  .ml-home .ml-product-card .spec-label { font-size: 14px; }
  .ml-home .ml-product-card .spec .val { font-size: 15px; }
  .ml-home .ml-product-card .badge { max-width: 52%; padding: 0.4rem 0.6rem; font-size: 0.60rem; }
  .ml-home .ml-product-card .temp-dots { right: 5px; bottom: 5px; max-width: 46%; padding: 4px 6px; }
  .ml-home .ml-product-card .temp-dots .luz-dot { width: 8px; height: 8px; }
  .ml-home .ml-product-card .temp-dots-label { font-size: 14px; }
}
.ml-product-card__media:has(.ml-product-variant-badge)
  .ml-product-smart-badge {
  top: 0.6rem;
}
.ml-product-temp-badge {
  right: 0.6rem;
  bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.55rem 0.42rem 0.7rem;
  color: #26313b;
  background: #fff;
  font-size: 0.68rem;
  font-weight: 500;
}
.ml-product-badge-dot {
  width: 0.58rem;
  height: 0.58rem;
  flex: 0 0 auto;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(20, 24, 33, 0.12);
}
.ml-product-badge-dot.is-split {
  box-shadow: 0 0 0 1px rgba(20, 24, 33, 0.12);
}
.ml-product-card:hover .ml-product-card__media img {
  transform: scale(1.08);
}
.ml-product-card__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}
.ml-product-card__nav--prev {
  left: 0.4rem;
}
.ml-product-card__nav--next {
  right: 0.4rem;
}
.ml-product-card__title {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ml-grey-800);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ml-product-card__attrs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.45rem;
}
.ml-product-attr {
  min-width: 0;
}
.ml-product-attr__label,
.ml-product-card__note {
  display: block;
  color: #94989c;
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ml-product-attr__value {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--ml-grey-600);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ml-product-dot {
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  border-radius: 50%;
}
.ml-foa {
  position: relative;
  display: flex;
  height: clamp(35rem, 38vw, 36rem);
  margin-block: clamp(2.5rem, 5vw, 5rem) clamp(5rem, 10vw, 10rem);
  overflow: hidden;
  border-radius: 1rem;
  background: #0a0a0a;
  color: #fff;
  isolation: isolate;
}
.ml-home .ml-foa,
.ml-home .ml-newsletter-banner {
  --ml-expand-progress: 0;
  --ml-expand-start: min(100% - 3rem, 1400px);
  width: calc(var(--ml-expand-start) + (100% - var(--ml-expand-start)) * var(--ml-expand-progress));
  max-width: none;
  margin-inline: auto;
  border-radius: calc(1rem * (1 - var(--ml-expand-progress)));
}
@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-foa,
  .ml-home .ml-newsletter-banner {
    --ml-expand-progress: 1;
  }
}
.ml-foa__slideshow {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background:
    #0a0a0a
    url("https://cdn.prod.website-files.com/66298c6904f627b9b69307c7/68a64702f7eea49be33a3a2d_cdba2024_e37_01.jpeg")
    center / cover no-repeat;
}
.ml-foa__slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: ml-foa-crossfade 21s ease-in-out infinite;
}
.ml-foa__slideshow img:first-child {
  animation-delay: -2s;
}
.ml-foa__slideshow img:nth-child(2) {
  animation-delay: 5s;
}
.ml-foa__slideshow img:nth-child(3) {
  animation-delay: 12s;
}
@keyframes ml-foa-crossfade {
  0% {
    opacity: 0;
  }
  10%,
  38% {
    opacity: 1;
  }
  48%,
  100% {
    opacity: 0;
  }
}
.ml-foa__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.76) 36%, rgba(10, 10, 10, 0.38) 64%, rgba(10, 10, 10, 0.14) 100%);
}
.ml-foa__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: var(--ml-expand-start, min(100% - 3rem, 1400px));
  margin-inline: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: left;
}
.ml-home .ml-foa__content > .ml-foa__button {
  width: auto !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  flex: 0 0 48px !important;
  align-self: flex-start !important;
  padding-block: 0 !important;
}
.ml-home .ml-foa #ml-foa-title {
  max-width: 18ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 3.7vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.ml-home .ml-foa #ml-foa-title strong {
  font-weight: 600;
}
.ml-home .ml-foa__copy {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}
.ml-home .ml-foa__subtitle {
  --ml-type-body-m-size: 1rem;
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--ml-type-body-m-size);
  line-height: 1.55;
  text-wrap: pretty;
}
.ml-news,
.ml-faq {
  padding-bottom: clamp(6rem, 11vw, 11rem);
}
.ml-section-heading {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 3rem;
}

/* TÃ­tulos principales compartidos: deben conservar la misma escala y
   permanecer dentro del ancho disponible en todas las resoluciones. */
.ml-home #ml-featured-products-title,
.ml-home #ml-news-title,
.ml-home #ml-faq-title {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.9375rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: pretty;
}
.ml-home .ml-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.ml-news-card {
  display: block;
  min-width: 0;
  width: 100%;
}
a.ml-news-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.ml-news-card:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 0.4rem;
  border-radius: 1.25rem;
}
.ml-news-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.25;
  border-radius: 1.25rem;
  background: #eef0f1;
}
.ml-news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.45s ease,
    transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.ml-news-card__image--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.ml-news-card__image--zoomed {
  transform: scale(1.25);
}
@media (hover: hover) and (pointer: fine) {
  .ml-news-card:hover .ml-news-card__image--default {
    opacity: 0;
    transform: scale(1.025);
  }
  .ml-news-card:hover .ml-news-card__image--zoomed {
    transform: scale(1.28);
  }
  .ml-news-card:hover .ml-news-card__image--hover {
    opacity: 1;
    transform: scale(1.025);
  }
}
.ml-news-card__meta {
  margin-top: 1.2rem;
  color: #69737a;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ml-news-card h3 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0.45rem 0;
  font-size: 1.25rem;
  transition: color 0.2s ease;
}
.ml-news-card__arrow {
  flex: 0 0 auto;
  color: var(--ml-dark-blue-600);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 0.8;
  opacity: 0;
  transform: translateX(-0.3rem);
  transition: opacity 0.25s ease, transform 0.3s ease;
}
.ml-news-card p {
  color: var(--ml-dark-blue-400);
  font-size: 0.85rem;
}
@media (hover: hover) and (pointer: fine) {
  a.ml-news-card:hover .ml-news-card__arrow {
    opacity: 1;
    transform: translateX(0);
  }
}
a.ml-news-card:focus-visible .ml-news-card__arrow {
  opacity: 1;
  transform: translateX(0);
}
.ml-faq__list {
  border-top: 1px solid color-mix(in srgb, var(--ml-grey-800) 14%, transparent);
}
.ml-faq__item {
  border-bottom: 1px solid color-mix(in srgb, var(--ml-grey-800) 14%, transparent);
}
.ml-faq__trigger {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font-size: clamp(1rem, 2vw, 1.35rem);
}
.ml-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s;
}
.ml-faq__answer > div {
  overflow: hidden;
}
.ml-faq__answer p {
  max-width: 48rem;
  padding: 0 0 1.5rem;
  color: var(--ml-dark-blue-400);
}
.ml-faq__trigger[aria-expanded="true"] + .ml-faq__answer {
  grid-template-rows: 1fr;
}
.ml-faq__icon {
  transition: transform 0.3s;
}
.ml-faq__trigger[aria-expanded="true"] .ml-faq__icon {
  transform: rotate(45deg);
}
.ml-contact {
  display: flex;
  min-height: 38rem;
  padding: 5rem 1.5rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ml-dark-blue-700);
  color: #fff;
}
.ml-contact h2 {
  max-width: 12ch;
  margin: 0.5rem 0 1rem;
  font-size: clamp(3rem, 7vw, 7.5rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.06em;
}
.ml-contact > p:not(.ml-eyebrow) {
  margin-bottom: 2rem;
  opacity: 0.75;
}
.ml-footer {
  padding: clamp(3rem, 7vw, 7rem);
  background: #06101a;
  color: #fff;
}
.ml-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.ml-footer__top p,
.ml-newsletter small {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}
.ml-newsletter {
  width: min(100%, 24rem);
}
.ml-newsletter label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.ml-newsletter > div {
  display: flex;
  margin-top: 0.75rem;
  border-bottom: 1px solid #fff;
}
.ml-newsletter input {
  width: 100%;
  padding: 0.75rem 0;
  border: 0;
  background: transparent;
  color: #fff;
}
.ml-newsletter button {
  border: 0;
  background: none;
  color: #fff;
}
.ml-footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 0;
}
.ml-footer__links h3 {
  margin-bottom: 1rem;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.ml-footer__links a {
  display: block;
  margin: 0.45rem 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}
.ml-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
}
@media (max-width: 980px) {
  .ml-categories {
    grid-template-columns: repeat(2, 1fr);
  }
  .ml-featured__story {
    min-height: 38rem;
  }
  .ml-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ml-home .ml-news__grid {
    grid-template-columns: 1fr 1fr;
  }
  .ml-news-card:last-child {
    display: none;
  }
}
@media (max-width: 640px) {
  .ml-foa {
    height: min(42rem, 78svh);
  }
  .ml-foa__overlay {
    background:
      linear-gradient(90deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.8) 42%, rgba(10, 10, 10, 0.42) 72%, rgba(10, 10, 10, 0.18) 100%);
  }
  .ml-foa__content {
    align-items: flex-start;
    justify-content: center;
    padding: 2.5rem 0;
    text-align: left;
  }
  .ml-foa #ml-foa-title {
    max-width: 16ch;
  }
  .ml-hero {
    min-height: 100svh;
  }
  .ml-hero__note {
    display: none;
  }
  .ml-tabs-wrap {
    padding: 0.45rem;
  }
  .ml-tab {
    padding: 0.7rem 0.25rem;
    font-size: 0.66rem;
  }
  .ml-panel__intro {
    padding-top: 3.75rem;
  }
  .ml-categories,
  .ml-product-grid {
    display: flex;
    width: calc(100% + 1rem);
    padding-right: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .ml-categories::-webkit-scrollbar,
  .ml-product-grid::-webkit-scrollbar {
    display: none;
  }
  .ml-category-card {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }
  .ml-featured__story {
    display: flex !important;
    min-height: 0;
    flex-direction: column;
    gap: 0rem;
  }
  .ml-featured__media {
    position: relative !important;
    order: 0 !important;
    aspect-ratio: 1.15;
  }
  .ml-featured[data-layout="image-full"] .ml-featured__media:after {
    display: none;
  }
  .ml-featured__copy {
    min-height: auto;
    color: var(--line-color);
    padding: 0 1rem;
  }
  .ml-product-card {
    flex: 0 0 50vw;
    scroll-snap-align: start;
  }
  .ml-home .ml-news__grid {
    display: flex;
    width: calc(100% + 1rem);
    gap: 1rem;
    padding-right: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ml-home .ml-news__grid::-webkit-scrollbar {
    display: none;
  }
  .ml-home .ml-news-card {
    flex: 0 0 82vw;
    scroll-snap-align: start;
  }
  .ml-home .ml-news__controls {
    width: 100%;
  }
  .ml-news-card:last-child {
    display: block;
  }
  .ml-footer__top,
  .ml-footer__bottom {
    flex-direction: column;
  }
  .ml-footer__links {
    grid-template-columns: 1fr 1fr;
  }
}




.ml-home #ml-project-lines-concept-title {
  max-width: 17ch !important;
  background-image: linear-gradient(90deg, var(--ml-dark-blue-200) 0%, #ffffff 100%) !important;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .ml-home * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .ml-hero__video {
    display: none;
  }
}
.ml-home .ml-tabs-wrap {
  top: 82px;
  padding: 12px 1rem;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  pointer-events: none;
}
.ml-home .ml-tabs {
  width: min(calc(100% - 2rem), 360px);
  padding: 4px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 21, 43, 0.1);
  pointer-events: auto;
}
.ml-home .ml-tab {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.ml-home .ml-tab[aria-selected="true"] {
  color: #fff;
  background: #00ace8;
  font-weight: 700;
  box-shadow:
    0 12px 32px color-mix(in srgb, var(--ml-light-blue-700) 10%, transparent),
    0 3px 10px color-mix(in srgb, var(--ml-dark-blue-500) 6%, transparent);
}
.ml-home .ml-category-card {
  background: #f5f5f5;
}
.ml-home .ml-category-card:hover {
  background: #e6f8ff;
}
.ml-home .ml-eyebrow {
  letter-spacing: 0;
  text-transform: none;
}
.ml-home .ml-button--primary {
  min-width: 0;
  max-width: 100%;
  gap: 0;
  padding: 16px 32px;
  border: 0;
  border-radius: 8px;
  background: #0086b5;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.ml-home .ml-button--primary:hover {
  background: #006f98;
  color: #fff;
}
.ml-home h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
}
.ml-home h2 {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
}
.ml-home h3 {
  font-size: clamp(1.65rem, 3.8vw, 3.5rem);
}
.ml-home h4 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05rem;
}
.ml-home h5 {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}
.ml-home .ml-panel__intro h2 {
  margin-top: 0;
}
.ml-home .ml-panel__subtitle {
  max-width: 48rem;
  margin-top: 1rem;
  color: #53606a;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.5;
}
.ml-home .ml-category-card h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
}
.ml-home .ml-featured__copy h3 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 300;
}
.ml-home .ml-featured__copy p {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.55;
}
.ml-home .ml-product-card__title {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  line-height: 1.35;
}
.ml-home .ml-product-attr__label,
.ml-home .ml-product-card__note {
  font-size: 0.68rem;
}
.ml-home .ml-product-attr__value {
  font-size: 0.78rem;
}
.ml-home .ml-news-card h3 {
  margin-top: 1.2rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}
.ml-home .ml-category-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.ml-home .ml-category-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f5f5f5;
  color: #071521;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.2s;
}
.ml-home .ml-category-arrow:hover {
  background: #00ace8;
  color: #fff;
  transform: translateY(-2px);
}
.ml-home .ml-categories--scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.ml-home .ml-categories--scroll::-webkit-scrollbar {
  display: none;
}
.ml-home .ml-categories--scroll .ml-category-card {
  flex: 0 0 calc((100% - 3.75rem) / 4);
  scroll-snap-align: start;
}
@media (max-width: 980px) {
  .ml-home .ml-categories--scroll .ml-category-card {
    flex-basis: calc((100% - 1.25rem) / 2);
  }
}
@media (max-width: 640px) {
  .ml-home .ml-category-controls {
    margin-bottom: 0.75rem;
  }
  .ml-home .ml-category-arrow {
    width: 40px;
    height: 40px;
  }
  .ml-home .ml-categories--scroll .ml-category-card {
    flex-basis: 78vw;
  }
}
.ml-home .ml-category-card {
  padding-bottom: 24px;
}
.ml-home .ml-category-card h3 {
  padding-top: 24px;
  padding-bottom: 0.75rem;
}
.ml-home .ml-hero__letter {
  display: inline-block;
  color: #fff;
  opacity: 0.22;
}
.ml-home .ml-hero h1.is-illuminating .ml-hero__letter {
  animation: ml-letter-illuminate 1.2s cubic-bezier(0.22, 0.7, 0.25, 1)
    var(--letter-delay) 1 forwards;
}
@keyframes ml-letter-illuminate {
  0% {
    opacity: 0.22;
  }
  100% {
    opacity: 1;
  }
}
.ml-home .ml-hero__copy {
  transform: scale(0.97);
  transform-origin: left bottom;
}
.ml-home .ml-hero__copy:has(#ml-hero-title.is-illuminating) {
  animation: ml-hero-copy-zoom 7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes ml-hero-copy-zoom {
  from {
    transform: scale(0.97);
  }
  to {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-hero__letter {
    color: #fff;
    opacity: 1;
  }
  .ml-home .ml-hero__copy {
    transform: none;
    animation: none;
  }
}
.ml-home .ml-featured__copy h3 strong {
  font-weight: var(--title-emphasis-weight, 600);
}
.ml-home .ml-featured__copy p strong {
  font-weight: 700;
}
.ml-home .ml-button--secondary {
  min-width: 0;
  max-width: 100%;
  padding: 15px 31px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.ml-home .ml-button--secondary:hover {
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: inherit;
}
.ml-home .ml-category-carousel {
  position: relative;
  padding-bottom: clamp(5rem, 9vw, 9rem);
}
.ml-home .ml-category-carousel .ml-categories {
  width: 100%;
  padding-bottom: 0;
}
.ml-home .ml-category-arrow {
  position: absolute;
  z-index: 3;
  top: calc(50% - clamp(2.5rem, 4.5vw, 4.5rem));
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #0086b5;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 21, 43, 0.2);
  cursor: pointer;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.88);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    background-color 0.2s ease;
}
.ml-home .ml-category-arrow span {
  display: block;
  transform: translateY(-1px);
}
.ml-home .ml-category-arrow--prev {
  left: 12px;
}
.ml-home .ml-category-arrow--next {
  right: 12px;
}
.ml-home .ml-category-carousel:hover .ml-category-arrow,
.ml-home .ml-category-carousel:focus-within .ml-category-arrow {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}
.ml-home .ml-category-arrow:hover {
  background: #006f98;
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}
@media (max-width: 640px) {
  .ml-home .ml-category-carousel {
    width: min(100% - 2rem, 90rem);
  }
  .ml-home .ml-category-carousel .ml-category-arrow {
    display: none;
  }
}
.ml-home .ml-hero__video {
  z-index: -2;
}
.ml-home .ml-hero__fallback {
  z-index: -3;
}
.ml-home .ml-category-arrow {
  background: #e1e4e6;
  color: #253441;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--ml-light-blue-700) 4%, transparent);
}
.ml-home .ml-category-arrow:hover {
  background: #cfd4d8;
  color: #071521;
}
.ml-home .ml-featured-list {
  background: linear-gradient(
    180deg,
    #fff 0,
    rgba(255, 255, 255, 0) clamp(18rem, 30vw, 30rem)
  );
}
.w-embed:has(> #macroled-home) {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}
.ml-home#macroled-home {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}
.ml-home#macroled-home main {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  overflow: visible;
}

/* Home lineal + Productos destacados */
.ml-home .ml-hero__content {
  max-width: 46rem;
}
.ml-home .ml-hero h1 {
  margin-bottom: 1rem;
}
.ml-home .ml-hero__subtitle {
  max-width: 41rem;
  margin-bottom: 2rem;
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.5;
}

.ml-home .ml-hero__phrase {
  white-space: nowrap;
}
.ml-featured-products {
  padding: clamp(5rem, 9vw, 9rem) 0 clamp(3rem, 7vw, 7.5rem);
  background: #FFF;
  overflow: hidden;
}
.ml-featured-products__head {
  display: flex;
  align-items: flex-end;
  flex-direction: row;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: 0.5rem;
}
.ml-featured-products__heading-copy {
  display: grid;
  min-width: 0;
  max-width: 48rem;
  gap: 1.25rem;
}
.ml-featured-products__head h2 {
  margin: 0;
}

.ml-home .ml-featured-products__subtitle {
  max-width: 36rem;
  margin: 0;
  color: #4b5560;
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.ml-home .ml-button--tertiary.ml-featured-products__view-all {
  flex: 0 0 auto;
  margin-bottom: 0.125rem;
  color: var(--ml-light-blue-700);
  white-space: nowrap;
}
.ml-featured-products__tabs {
  display: flex;
  gap: 0.35rem;
  width: max-content;
  padding: 0.25rem;
  border-radius: 999px;
  background: #ededed;
}
.ml-featured-products__tab {
  padding: 0.65rem 1.1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5b6472;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color 0.25s,
    color 0.25s,
    box-shadow 0.25s;
}
.ml-featured-products__tab:not(.is-active):hover {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ml-light-blue-500);
}
.ml-featured-products__tab.is-active {
  background: rgba(255, 232, 112, 0.78);
  color: var(--ml-grey-900);
  font-weight: 600;
  box-shadow: none;
}
.ml-featured-products__tab:focus-visible,
.ml-featured-products__nav:focus-visible {
  outline: 3px solid var(--ml-light-blue-500);
  outline-offset: 3px;
}
.ml-featured-products__viewport {
  --featured-track-edge: max(3.75rem, calc((100% - 90rem) / 2));
  position: relative;
  width: 100%;
}
.ml-featured-products__track {
  display: flex;
  width: min(100% - 7.5rem, 90rem);
  gap: 1rem;
  margin-inline: auto;
  padding: 3rem 0 2rem;
  overflow-x: auto;
  scroll-behavior: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.25rem;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: auto;
}
.ml-featured-products__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}
.ml-featured-products__track.is-dragging .ml-product-card {
  pointer-events: none;
}
.ml-product-grid.is-dragging {
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}
.ml-product-grid.is-dragging .ml-product-card {
  pointer-events: none;
  transition: none !important;
}
.ml-featured-products__track::-webkit-scrollbar {
  display: none;
}
.ml-featured-products__track .ml-product-card {
  flex: 0 0 calc((100% - 4rem) / 5);
  background: rgba(255, 255, 255, 1);
  box-shadow: 2px 3px 20px 2px rgba(0, 17, 33, 0.04);
  scroll-snap-align: start;
}
.ml-featured-products__track .ml-product-skeleton {
  flex: 0 0 calc((100% - 4rem) / 5);
  box-sizing: border-box;
}
.ml-featured-products__track .ml-product-card__media,
.ml-featured-products__track .ml-product-card .media {
  background: #f5f5f5;
  transition: background-color 0.25s ease;
}
.ml-featured-products__track .ml-product-card:hover .ml-product-card__media,
.ml-featured-products__track .ml-product-card:hover .media {
  background: #e6f8ff;
}
.ml-featured-products__track
  .ml-product-card:hover
  .ml-product-card__media
  img,
.ml-featured-products__track .ml-product-card:hover .media img {
  transform: scale(1.08);
}
.ml-featured-products__controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-top: 0.75rem;
}
.ml-featured-products__controls[hidden] {
  display: none;
}
.ml-featured-products__progress {
  position: relative;
  flex: 0 0 clamp(6rem, 10vw, 9rem);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 13, 25, 0.12);
}
.ml-featured-products__progress span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: #0086b5;
  opacity: 0;
  transition:
    transform 0.2s ease,
    width 0.2s ease,
    opacity 0.2s ease;
}
.ml-featured-products__progress.has-progress span {
  opacity: 0.72;
}
.ml-featured-products__arrows {
  position: absolute;
  inset: 3rem 0 2rem;
  z-index: 3;
  pointer-events: none;
}
.ml-featured-products__arrows[hidden] {
  display: none;
}
.ml-featured-products__nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.625rem;
  height: 2.625rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 4px 14px rgba(0, 21, 43, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ml-light-blue-500);
  cursor: pointer;
  pointer-events: auto;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s,
    opacity 0.2s,
    transform 0.2s;
}
.ml-featured-products__nav svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ml-featured-products__nav[data-featured-prev] {
  left: var(--featured-track-edge);
  transform: translate(-50%, -50%);
}
.ml-featured-products__nav[data-featured-next] {
  right: var(--featured-track-edge);
  transform: translate(50%, -50%);
}
.ml-featured-products__nav:hover {
  background: #fff;
  color: #007ba8;
  box-shadow:
    inset 0 1px 0 #fff,
    0 7px 20px rgba(0, 87, 119, 0.16);
}
.ml-featured-products__nav[data-featured-prev]:hover {
  transform: translate(-55%, -50%);
}
.ml-featured-products__nav[data-featured-next]:hover {
  transform: translate(55%, -50%);
}
.ml-featured-products__nav:active {
  background: #f2fbfe;
  color: #006b92;
  scale: 0.94;
}
.ml-featured-products__nav:disabled {
  opacity: 0;
  cursor: default;
  pointer-events: none;
}
.ml-featured-products__state {
  width: 100%;
  padding: 3rem 1.25rem;
  color: #5b6472;
  text-align: center;
}
.ml-explore,
.ml-home-section {
  background: #fff;
}

.ml-home .ml-explore,
.ml-home .ml-explore .ml-home-section {
  background: #e9ecef;
}
@media (max-width: 1600px) {
  .ml-featured-products__track .ml-product-card,
  .ml-featured-products__track .ml-product-skeleton {
    flex-basis: calc((100% - 3rem) / 4);
  }
  .ml-featured-products__track > .ml-product-skeleton:nth-of-type(5) {
    display: none;
  }
}
@media (max-width: 900px) {
  .ml-featured-products__head,
  .ml-home .ml-news__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .ml-featured-products__tabs {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ml-featured-products__track {
    padding: 1rem 0 2rem;
  }
  .ml-featured-products__track .ml-product-card,
  .ml-featured-products__track .ml-product-skeleton {
    flex-basis: calc((100% - 1rem) / 2);
  }
}
@media (max-width: 640px) {
  .ml-home .ml-hero__subtitle {
    font-size: 1.125rem;
  }
  .ml-featured-products {
    padding: 4rem 0 2rem;
  }
  .ml-featured-products__head {
    align-items: flex-start;
    margin-right: auto;
    margin-bottom: 1rem;
    margin-left: auto;
  }
  .ml-featured-products__tabs {
    width: auto;
    max-width: 100%;
  }
  .ml-featured-products__track {
    width: calc(100% - 1rem);
    margin-right: 0;
    margin-left: 1rem;
    padding-bottom: 1rem;
  }
  .ml-featured-products__viewport {
    --featured-track-edge: 1rem;
  }
  .ml-featured-products__track .ml-product-card,
  .ml-featured-products__track .ml-product-skeleton {
    max-width: 100%;
    flex-basis: 60vw;
    box-sizing: border-box;
  }
  .ml-featured-products__controls {
    width: calc(100% - 2rem);
    min-height: 0;
    flex-direction: column;
    gap: 0.875rem;
    margin-top: 1rem;
  }
  .ml-featured-products__arrows {
    position: relative;
    inset: auto;
    display: flex;
    order: 1;
    justify-content: space-between;
    width: 100%;
    pointer-events: auto;
  }
  .ml-featured-products__progress {
    order: 2;
    width: min(9rem, 45%);
    flex: 0 0 auto;
  }
  .ml-featured-products__nav,
  .ml-featured-products__nav[data-featured-prev],
  .ml-featured-products__nav[data-featured-next],
  .ml-featured-products__nav[data-featured-prev]:hover,
  .ml-featured-products__nav[data-featured-next]:hover {
    position: static;
    transform: none;
  }
  .ml-featured-products__nav {
    width: 2.375rem;
    height: 2.375rem;
  }
  .ml-featured-products__nav:disabled {
    opacity: 0.3;
  }
  .ml-product-grid {
    width: calc(100% + 1rem);
    padding-right: 0;
    scroll-padding-inline: 0;
  }
  .ml-product-grid .ml-product-card,
  .ml-product-grid .ml-product-skeleton {
    max-width: 100%;
    flex-basis: 60vw;
    box-sizing: border-box;
  }
  .ml-product-grid__controls {
    width: 100%;
    padding-inline: 0;
  }
  .ml-featured[data-content-mode="typesense"] .ml-featured-products__progress {
    background: rgba(255, 255, 255, 0.24);
  }
  .ml-featured[data-content-mode="typesense"] .ml-featured-products__progress span {
    background: #68d6ff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-product-skeleton__media::after,
  .ml-product-skeleton__line::after,
  .ml-product-skeleton__attrs span::after {
    animation: none;
  }
}

/* LÃ­neas destacadas para proyectos */
.ml-project-lines {
  padding: 5rem 0;
  background: #020d19;
  color: #fff;
}
.ml-project-lines__inner {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.ml-project-lines__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.ml-project-lines__header h4 {
  max-width: 34rem;
  line-height: 1.2;
}
.ml-project-lines__explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 0.625rem;
  background: #fff;
  color: #000d19;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  transition:
    background-color 0.25s,
    transform 0.25s;
}
.ml-project-lines__explore:hover {
  background: #e6f8ff;
  transform: translateY(-2px);
}
.ml-project-lines__cards {
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(0, 1fr);
  gap: 1.5rem;
  height: 31.9375rem;
  transition: grid-template-columns 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.ml-project-lines__cards:has(.ml-project-line-card:nth-child(2).is-expanded) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 3.1fr);
}
.ml-project-line-card {
  min-width: 0;
  height: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  background: var(--project-line-color);
  isolation: isolate;
}
.ml-project-line-card__trigger {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.ml-project-line-card__media,
.ml-project-line-card__shade {
  position: absolute;
  inset: 0;
}
.ml-project-line-card__media {
  z-index: -3;
  background: var(--project-line-color);
}
.ml-project-line-card__ambient,
.ml-project-line-card__product {
  position: absolute;
  width: 100%;
  height: 100%;
  transition:
    opacity 0.5s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.ml-project-line-card__ambient {
  object-fit: cover;
  opacity: 1;
  transform: scale(1);
}
.ml-project-line-card__product {
  padding: clamp(2.5rem, 5vw, 5rem);
  object-fit: contain;
  opacity: 0;
  transform: scale(0.88);
}
.ml-project-line-card__shade {
  z-index: -2;
  background: linear-gradient(
    0deg,
    rgba(0, 9, 18, 0.82),
    rgba(0, 9, 18, 0.05) 68%
  );
  transition:
    background-color 0.5s,
    opacity 0.5s;
}
.ml-project-line-card__content {
  position: relative;
  display: flex;
  width: min(100%, 22.3125rem);
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
}
.ml-project-line-card__title {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04rem;
  white-space: nowrap;
}
.ml-project-line-card__details {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition:
    grid-template-rows 0.45s ease,
    opacity 0.3s ease;
}
.ml-project-line-card__subtitle {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}
.ml-project-line-card__cta {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-block: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.ml-project-line-card.is-collapsed {
  opacity: 0.72;
  transition: opacity 0.45s;
}
.ml-project-line-card.is-collapsed:hover {
  opacity: 0.88;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__ambient {
  opacity: 0;
  transform: scale(1.08);
}
.ml-project-line-card.is-collapsed .ml-project-line-card__product {
  opacity: 1;
  transform: scale(1);
}
.ml-project-line-card.is-collapsed .ml-project-line-card__shade {
  background: #000;
  opacity: 0.4;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__details {
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
}
.ml-project-line-card__trigger:focus-visible,
.ml-project-lines__explore:focus-visible,
.ml-project-line-card__cta:focus-visible {
  outline: 3px solid var(--ml-light-blue-500);
  outline-offset: -5px;
}
@media (max-width: 900px) {
  .ml-project-lines {
    padding-block: 4rem;
  }
  .ml-project-lines__inner {
    gap: 2.5rem;
  }
  .ml-project-lines__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }
  .ml-project-lines__cards,
  .ml-project-lines__cards:has(.ml-project-line-card:nth-child(2).is-expanded) {
    display: flex;
    height: auto;
    flex-direction: column;
  }
  .ml-project-line-card {
    height: 11rem;
    transition:
      height 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.45s;
  }
  .ml-project-line-card.is-expanded {
    height: 29rem;
  }
  .ml-project-line-card__product {
    padding: 2rem 25%;
  }
  .ml-project-line-card__title {
    font-size: 1.65rem;
  }
  .ml-project-line-card__subtitle,
  .ml-project-line-card__cta {
    font-size: 0.9rem;
  }
}
@media (max-width: 640px) {
  .ml-project-lines {
    padding-block: 3rem;
  }
  .ml-project-lines__explore {
    width: 100%;
    justify-content: space-between;
  }
  .ml-project-line-card.is-expanded {
    height: 25rem;
  }
  .ml-project-line-card__trigger {
    padding: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ml-project-lines__cards,
  .ml-project-line-card,
  .ml-project-line-card__ambient,
  .ml-project-line-card__product,
  .ml-project-line-card__details {
    transition: none !important;
  }
}
.ml-project-line-card.is-collapsed {
  cursor: pointer;
}
.ml-project-line-card__trigger {
  border: 0;
  background: transparent;
  cursor: inherit;
}
.ml-project-line-card:focus-visible,
.ml-project-lines__explore:focus-visible,
.ml-project-line-card__cta:focus-visible {
  outline: 3px solid var(--ml-light-blue-500);
  outline-offset: -5px;
}
.ml-home .ml-project-lines__explore {
  background: #fff;
  color: #000d19;
}
.ml-home .ml-project-lines__explore:hover {
  background: #e6f8ff;
  color: #000d19;
}
.ml-home .ml-featured-list {
  background: var(--featured-list-bg, #fff);
  transition: background-color 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.ml-project-line-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.48);
  transition:
    opacity 0.45s,
    box-shadow 0.35s,
    transform 0.35s,
    border-color 0.35s;
}
.ml-project-line-card__state {
  position: absolute;
  z-index: 2;
  top: 1.5rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(0, 13, 25, 0.48);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  transition:
    background-color 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.ml-project-line-card__state-icon {
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: #fff;
  color: #000d19;
  font-size: 1.1rem;
  line-height: 1;
}
.ml-project-line-card.is-collapsed {
  border-color: rgba(0, 189, 255, 0.55);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 189, 255, 0.16);
}
.ml-project-line-card.is-collapsed:hover {
  border-color: #00bdff;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.62),
    0 0 0 2px rgba(0, 189, 255, 0.25);
  transform: translateY(-4px);
}
.ml-project-line-card.is-collapsed:hover .ml-project-line-card__state {
  background: #00a8e2;
  border-color: #00a8e2;
  transform: scale(1.03);
}

.ml-project-line-card.is-expanded .ml-project-line-card__state {
  background: rgba(0, 13, 25, 0.34);
}
.ml-project-line-card.is-collapsed .ml-project-line-card__product {
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.42));
}
.ml-project-line-card.is-collapsed .ml-project-line-card__shade {
  background: linear-gradient(0deg, rgba(0, 9, 18, 0.62), rgba(0, 9, 18, 0.12));
  opacity: 1;
}
@media (max-width: 640px) {
  .ml-project-line-card__state {
    top: 1rem;
    right: 1rem;
  }
  .ml-project-line-card__state > span:first-child {
    display: none;
  }
}
.ml-project-line-card__state {
  display: none;
}
.ml-project-line-card,
.ml-project-line-card.is-collapsed,
.ml-project-line-card.is-collapsed:hover {
  border-color: transparent;
  box-shadow: none;
}
.ml-project-line-card.is-collapsed:hover {
  transform: none;
}

.ml-project-line-card.is-expanded .ml-project-line-card__media {
  background: #011f3f;
}
.ml-project-line-card.is-expanded .ml-project-line-card__shade {
  background: linear-gradient(
    0deg,
    rgba(1, 31, 63, 0.88),
    rgba(1, 31, 63, 0.18) 72%
  );
  opacity: 1;
}

/* Design system alignment Â· typography, color and actions */
.ml-home {
  --ml-grey-50: #ffffff;
  --ml-grey-100: #fafafa;
  --ml-grey-200: #f5f5f5;
  --ml-grey-300: #ededed;
  --ml-grey-400: #d7d7d7;
  --ml-grey-500: #7a7a78;
  --ml-grey-600: #5d5c5c;
  --ml-grey-700: #2c2b2b;
  --ml-grey-800: #1c1c1a;
  --ml-grey-900: #0a0a0a;
  --ml-dark-blue-50: #e6e9ec;
  --ml-dark-blue-100: #b0b9c3;
  --ml-dark-blue-200: #8a98a5;
  --ml-dark-blue-300: #54687c;
  --ml-dark-blue-400: #334b63;
  --ml-dark-blue-500: #001e3c;
  --ml-dark-blue-600: #001b37;
  --ml-dark-blue-700: #00152b;
  --ml-dark-blue-800: #001121;
  --ml-dark-blue-900: #000d19;
  --ml-light-blue-50: #e6f8ff;
  --ml-light-blue-400: #4dccff;
  --ml-light-blue-500: #00bdff;
  --ml-light-blue-600: #00ace8;
  --ml-light-blue-700: #0086b5;
  --ml-light-blue-800: #00688c;
  --ml-action-primary: var(--ml-light-blue-700);
  --ml-action-primary-hover: var(--ml-light-blue-800);
  --ml-text-primary: var(--ml-grey-800);
  --ml-text-secondary: var(--ml-grey-600);
  --ml-text-inverse: var(--ml-grey-100);
  font-size: 16px;
}
@media (prefers-reduced-motion: reduce) {
  .ml-foa__slideshow img {
    animation: none !important;
  }
  .ml-foa__slideshow img:first-child {
    opacity: 1;
  }
}

.ml-home h1,
.ml-home h2,
.ml-home h3,
.ml-home h4 {
  font-weight: 500;
  text-wrap: balance;
}

.ml-home h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ml-home h2 {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.ml-home h3 {
  font-size: clamp(1.65rem, 3.8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.ml-home h4 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05rem;
}

.ml-home p {
  text-wrap: pretty;
}

.ml-home .ml-button {
  min-width: 0;
  justify-content: center;
  gap: 0;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}

.ml-home .ml-button:active,
.ml-home .ml-project-lines__explore:active {
  transform: translateY(1px) scale(0.98);
}

.ml-home .ml-button--primary {
  border: 0;
  background: var(--ml-action-primary);
  color: var(--ml-grey-50);
}

.ml-home .ml-button--primary:hover {
  background: var(--ml-action-primary-hover);
  color: var(--ml-grey-50);
}

.ml-home .ml-button--primary-light {
  background: var(--ml-grey-100);
  color: var(--ml-dark-blue-700);
}

.ml-home .ml-button--primary-light:hover {
  background: var(--ml-grey-300);
  color: var(--ml-dark-blue-700);
}

.ml-home .ml-button--secondary {
  padding: 15px 31px;
  border: 1px solid currentColor;
  background: transparent;
}

.ml-home .ml-project-lines__explore {
  min-height: 48px;
  padding: 16px 32px;
  border-radius: 8px;
  background: var(--ml-grey-100);
  color: var(--ml-dark-blue-700);
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.ml-home .ml-project-lines__explore:hover {
  background: var(--ml-light-blue-50);
  color: var(--ml-dark-blue-700);
  box-shadow: none;
}

/* Hero composition */
.ml-home .ml-hero__content {
  right: clamp(1.25rem, 7vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  max-width: none;
}

.ml-home .ml-hero__copy {
  flex: none;
  width: min(100%, 46rem);
  min-width: 0;
  text-align: left;
}

.ml-home .ml-hero h1 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.ml-home .ml-hero__word {
  display: inline-block;
  white-space: nowrap;
}

.ml-home .ml-hero__metrics {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: stretch;
  gap: 48px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 0.125rem;
  padding: 0;
}

.ml-home .ml-hero__metric {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
}

.ml-home .ml-hero__metric + .ml-hero__metric::before {
  position: absolute;
  top: 0.125rem;
  bottom: 0.125rem;
  left: -24px;
  width: 1px;
  background: color-mix(in srgb, var(--ml-grey-300) 32%, transparent);
  content: "";
}

.ml-home .ml-hero__metric-value,
.ml-home .ml-hero__metric-label {
  margin: 0;
}

.ml-home .ml-hero__metric-value {
  font-size: clamp(1.125rem, 1.3vw, 1.2rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.ml-home .ml-hero__metric-label {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.875rem, 0.9vw, 1rem);
  font-weight: 400;
  line-height: 1.35;
  text-wrap: pretty;
  white-space: nowrap;
}

@media (max-width: 1360px) {
  .ml-home #ml-hero-title {
    font-size: clamp(2.75rem, 4.25vw, 3.75rem);
  }

  .ml-home .ml-hero__subtitle {
    font-size: clamp(0.95rem, 1.25vw, 1.0625rem);
  }
}

@media (max-width: 1024px) {
  .ml-home .ml-hero__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }

  .ml-home .ml-hero__copy,
  .ml-home .ml-hero__metrics {
    flex: none;
    width: min(100%, 42rem);
  }

  .ml-home #ml-hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
  }

  .ml-home .ml-hero__subtitle {
    font-size: clamp(0.95rem, 2vw, 1.0625rem);
  }
}

@media (max-width: 640px) {
  .ml-home .ml-hero__content {
    top: auto;
    right: 1rem;
    bottom: clamp(2rem, 7vh, 4rem);
    left: 1rem;
    gap: 2.25rem;
  }

  .ml-home #ml-hero-title {
    font-size: clamp(2.75rem, 11vw, 3.1rem);
  }

  .ml-home .ml-hero__subtitle {
    font-size: 1.125rem;
  }

  .ml-home .ml-hero__metrics {
    width: 100%;
    gap: 32px;
  }

  .ml-home .ml-hero__metric + .ml-hero__metric::before {
    left: -16px;
  }

  .ml-home .ml-hero__metric {
    flex-basis: 0;
  }

  .ml-home .ml-hero__metric-value {
    font-size: 1.125rem;
  }

  .ml-home .ml-hero__metric-label {
    margin-top: 0.375rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .ml-home .ml-hero__metrics {
    flex-direction: column;
    gap: 20px;
  }

  .ml-home .ml-hero__metric {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }

  .ml-home .ml-hero__metric + .ml-hero__metric::before {
    top: -10px;
    right: 0;
    bottom: auto;
    left: 0;
    width: auto;
    height: 1px;
  }

  .ml-home .ml-hero__metric-label {
    margin-top: 0;
  }
}

.ml-home .ml-featured-products__tab.is-active {
  background: var(--ml-grey-50);
  color: var(--ml-grey-900);
}

.ml-home .ml-featured-products__progress span {
  background: var(--ml-action-primary);
}

.ml-home .ml-foa h2,
.ml-home .ml-contact h2 {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

@media (max-width: 640px) {
  .ml-home .ml-button,
  .ml-home .ml-project-lines__explore {
    min-height: 48px;
  }
}

.ml-project-lines__cards {
  transition: grid-template-columns 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 901px) {
  .ml-project-lines__cards.is-awaiting-reveal,
  .ml-project-lines__cards.is-awaiting-reveal:has(
      .ml-project-line-card:nth-child(2).is-expanded
    ) {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 1fr);
  }

  .ml-project-lines__cards.is-awaiting-reveal .ml-project-line-card {
    transform: none;
  }

  .ml-project-lines__cards.is-awaiting-reveal
    .ml-project-line-card.is-expanded {
    opacity: 1;
  }

  .ml-project-lines__cards.is-awaiting-reveal
    .ml-project-line-card.is-collapsed {
    opacity: 0.38;
    transform: translateX(1rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-project-lines__cards {
    transition: none;
  }
}
.ml-project-lines__header {
  align-items: flex-end;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__content {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  width: auto;
  height: auto;
  justify-content: flex-end;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__title {
  margin: 0;
}
@media (max-width: 900px) {
  .ml-project-lines__header {
    align-items: flex-start;
  }
  .ml-project-lines__explore {
    align-self: flex-end;
  }
}
@media (max-width: 640px) {
  .ml-project-line-card.is-collapsed .ml-project-line-card__content {
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
  }
  .ml-project-lines__explore {
    align-self: stretch;
  }
}

.ml-project-line-card.is-collapsed .ml-project-line-card__trigger {
  display: flex;
  align-items: flex-end;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__content {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin-top: auto;
  justify-content: flex-end;
}
.ml-project-lines__cards.is-awaiting-reveal,
.ml-project-lines__cards.is-awaiting-reveal:has(
    .ml-project-line-card:nth-child(2).is-expanded
  ) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.ml-project-lines__cards.is-awaiting-reveal .ml-project-line-card.is-expanded {
  opacity: 0.72;
}
.ml-project-lines__cards:not(.is-awaiting-reveal)
  .ml-project-line-card.is-expanded {
  opacity: 1;
}
@media (max-width: 900px) {
  .ml-project-lines__cards.is-awaiting-reveal
    .ml-project-line-card.is-expanded {
    height: 11rem;
  }
  .ml-project-lines__cards:not(.is-awaiting-reveal)
    .ml-project-line-card.is-expanded {
    height: 29rem;
  }
}
@media (max-width: 640px) {
  .ml-project-lines__cards:not(.is-awaiting-reveal)
    .ml-project-line-card.is-expanded {
    height: 25rem;
  }
}
.ml-project-line-card.is-collapsed .ml-project-line-card__trigger {
  display: block;
  padding: 0;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__content {
  position: absolute;
  inset: auto auto 1rem 1rem;
  width: calc(100% - 2rem);
  height: auto;
  margin: 0;
}
.ml-project-line-card.is-collapsed:hover {
  opacity: 1;
  transform: translateY(-7px) scale(1.015);
}
.ml-project-line-card.is-collapsed:hover .ml-project-line-card__product {
  transform: scale(1.1) rotate(-2deg);
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.55));
}
.ml-project-line-card.is-collapsed:hover .ml-project-line-card__shade {
  background: linear-gradient(0deg, rgba(0, 9, 18, 0.48), rgba(0, 9, 18, 0.04));
  opacity: 1;
}
.ml-project-line-card.is-collapsed:hover .ml-project-line-card__title {
  transform: translateY(-2px);
}
.ml-project-line-card__title {
  transition: transform 0.3s ease;
}
@media (max-width: 640px) {
  .ml-project-line-card.is-collapsed .ml-project-line-card__content {
    inset: auto auto 0.75rem 0.75rem;
    width: calc(100% - 1.5rem);
  }
}
.ml-project-line-card__collapsed-content {
  display: none;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__trigger {
  display: flex;
  padding: 3rem 1.5rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__content {
  display: none;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__collapsed-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.ml-project-line-card__collapsed-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04rem;
  white-space: nowrap;
}
.ml-project-line-card.is-collapsed:hover {
  opacity: 1;
  transform: none;
}
.ml-project-line-card.is-collapsed:hover .ml-project-line-card__product {
  transform: scale(1);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.42));
}
.ml-project-line-card.is-collapsed:hover .ml-project-line-card__shade {
  background: linear-gradient(0deg, rgba(0, 9, 18, 0.62), rgba(0, 9, 18, 0.12));
  opacity: 1;
}
@media (max-width: 640px) {
  .ml-project-line-card.is-collapsed .ml-project-line-card__trigger {
    padding: 2rem 1.25rem;
  }
  .ml-project-line-card__collapsed-title {
    font-size: 1.65rem;
  }
}
.ml-project-line-card.is-expanded .ml-project-line-card__shade {
  background: linear-gradient(
    90deg,
    #011f3f 0,
    rgba(1, 31, 63, 0.92) 28%,
    rgba(1, 31, 63, 0.45) 52%,
    rgba(1, 31, 63, 0) 76%
  );
  opacity: 1;
}

/* Final design-system cascade Â· keep this block last */
.ml-home {
  --ml-grey-50: #ffffff;
  --ml-grey-100: #fafafa;
  --ml-grey-200: #f5f5f5;
  --ml-grey-300: #ededed;
  --ml-grey-500: #7a7a78;
  --ml-grey-600: #5d5c5c;
  --ml-dark-blue-50: #e6e9ec;
  --ml-dark-blue-100: #b0b9c3;
  --ml-dark-blue-200: #8a98a5;
  --ml-dark-blue-300: #54687c;
  --ml-dark-blue-400: #334b63;
  --ml-dark-blue-500: #001e3c;
  --ml-dark-blue-600: #001b37;
  --ml-dark-blue-700: #00152b;
  --ml-dark-blue-800: #001121;
  --ml-dark-blue-900: #000d19;
  --ml-light-blue-50: #e6f8ff;
  --ml-light-blue-400: #4dccff;
  --ml-light-blue-500: #00bdff;
  --ml-light-blue-600: #00ace8;
  --ml-light-blue-700: #0086b5;
  --ml-light-blue-800: #00688c;
  --ml-action-primary: var(--ml-light-blue-700);
  --ml-action-primary-hover: var(--ml-light-blue-800);
  font-size: 16px;
}

.ml-home h1,
.ml-home h2,
.ml-home h3,
.ml-home h4 {
  font-weight: 500;
  text-wrap: balance;
}

.ml-home h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.ml-home h2,
.ml-home .ml-foa h2,
.ml-home .ml-contact h2 {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ml-home h3 {
  font-size: clamp(1.65rem, 3.8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.ml-home h4 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05rem;
}

.ml-home p {
  text-wrap: pretty;
}

.ml-home .ml-button {
  min-width: 0;
  justify-content: center;
  gap: 0;
  padding: 16px 32px;
  border-radius: 8px;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition:
    background-color 0.25s,
    border-color 0.25s,
    color 0.25s,
    transform 0.25s;
}

.ml-home .ml-button:active,
.ml-home .ml-project-lines__explore:active {
  transform: translateY(1px) scale(0.98);
}

.ml-home .ml-button--primary {
  border: 0;
  background: var(--ml-action-primary);
  color: var(--ml-grey-50);
}

.ml-home .ml-button--primary:hover {
  background: var(--ml-action-primary-hover);
  color: var(--ml-grey-50);
}

.ml-home .ml-button--primary-light {
  background: var(--ml-grey-100);
  color: var(--ml-dark-blue-700);
}

.ml-home .ml-button--primary-light:hover {
  background: var(--ml-grey-300);
  color: var(--ml-dark-blue-700);
}

.ml-home .ml-button--secondary {
  padding: 15px 31px;
  border: 1px solid currentColor;
  background: transparent;
}

.ml-home .ml-project-lines__explore {
  min-height: 48px;
  padding: 16px 32px;
  border-radius: 8px;
  background: var(--ml-grey-100);
  color: var(--ml-dark-blue-700);
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.ml-home .ml-project-lines__explore:hover {
  background: var(--ml-light-blue-50);
  color: var(--ml-dark-blue-700);
  box-shadow: none;
}

.ml-home .ml-featured-products__tab.is-active {
  background: var(--ml-grey-50);
  color: var(--ml-grey-900);
}

.ml-home .ml-featured-products__progress span {
  background: var(--ml-action-primary);
}

@media (max-width: 640px) {
  .ml-home .ml-button,
  .ml-home .ml-project-lines__explore {
    min-height: 48px;
  }
}
.ml-project-line-card.is-expanded .ml-project-line-card__ambient {
  transform: scale(1.1);
  transform-origin: center;
}
.ml-home .ml-featured-list {
  isolation: isolate;
  background: #fff;
}
.ml-home .ml-featured-list > .ml-line-theme-layer {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 8%,
      color-mix(in srgb, var(--ml-grey-50) 14%, transparent) 0%,
      transparent 58%
    ),
    var(--ml-layer-background, #fff);
  filter: saturate(0.92);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.018);
  transform-origin: 50% 8%;
  transition:
    opacity 2200ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 2600ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 2200ms ease;
  will-change: opacity, transform;
}

.ml-home .ml-featured-list > .ml-line-theme-layer.is-visible {
  filter: saturate(1);
  opacity: 1;
  transform: scale(1);
}
.ml-home .ml-featured-list > .ml-featured {
  position: relative;
  z-index: 1;
}
.ml-home .ml-home-section {
  background: #fff;
  transition: background-color 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.ml-home .ml-home-section.is-line-theme-active {
  background: var(--ml-section-background, var(--ml-section-theme, #fff));
}
.ml-home .ml-featured-list > .ml-line-theme-layer.ml-line-theme-layer--dark {
  background: var(--ml-layer-background, #07090c);
}

.ml-home .ml-home-section.is-line-theme-active .ml-featured-list {
  /* Keep the outgoing theme as the underlay so dark→darker fades
     never punch through to white. */
  background: var(--ml-panel-underlay, var(--ml-panel-background, #fff));
}
.ml-home .ml-home-section.is-line-theme-active .ml-categories-zone {
  background: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-featured-list,
  .ml-home .ml-home-section,
  .ml-featured__story::before,
  .ml-home .ml-featured-list > .ml-line-theme-layer {
    transition: none;
  }
}
.ml-panel__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.ml-panel__heading > div {
  max-width: 42rem;
}
.ml-home .ml-panel__heading h4 {
  line-height: 1.15;
}
.ml-home .ml-panel__cta {
  flex: 0 0 auto;
}
.ml-line-content--static {
  padding-top: 0.5rem;
  padding-inline: 3.25rem;
}
.ml-line-subfamilies {
  padding-bottom: 0;
}
.ml-line-subfamilies .ml-category-card {
  background: #fff;
  box-shadow: 2px 3px 20px 2px rgba(0, 17, 33, 0.04);
}
.ml-featured[data-image-fit="contain"] .ml-line-subfamilies .ml-category-card {
  box-shadow: none;
}
.ml-line-subfamilies .ml-category-card:hover {
  background: #e6f8ff;
}

.ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies {
  gap: 1rem;
}

.ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card {
  aspect-ratio: 0.98;
  gap: 0.5rem;
  padding: 0.85rem 0.85rem 0;
  overflow: visible;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(0, 21, 43, 0.03),
    0 6px 16px rgba(0, 21, 43, 0.06);
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.ml-home .ml-featured[data-image-fit="contain"][data-content-mode="static"] .ml-line-subfamilies .ml-category-card {
  box-shadow:
    0 1px 2px rgba(0, 21, 43, 0.03),
    0 6px 16px rgba(0, 21, 43, 0.06);
}

.ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card:hover {
  background: #e6f8ff;
  box-shadow:
    0 2px 4px rgba(0, 21, 43, 0.04),
    0 10px 22px rgba(0, 21, 43, 0.09);
}

.ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card h3 {
  padding: 0.4rem 0.1rem 0.15rem;
  font-size: var(--ml-type-h7-size);
  font-weight: var(--ml-type-h7-weight);
  line-height: var(--ml-type-h7-leading);
  letter-spacing: var(--ml-type-h7-tracking);
}

.ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card__badge {
  transition: opacity 0.3s ease;
}

.ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card__media {
  aspect-ratio: auto;
  flex: 1 1 auto;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
  place-items: center;
  align-items: center;
  justify-items: center;
  padding-bottom: 0.85rem;
}

.ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
}

.ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card__cta-wrap {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 1.5rem);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 1rem);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  background: var(--ml-dark-blue-700, #00152b);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 21, 43, 0.22);
}

@media (hover: hover) and (pointer: fine) {
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card:hover .ml-category-card__cta-wrap {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card:hover .ml-category-card__badge {
    opacity: 0;
  }

  .ml-home .ml-featured[data-content-mode="static"].ml-content-motion-ready.is-motion-visible
    .ml-line-subfamilies .ml-category-card:hover {
    transform: none;
  }
}

.ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card:focus-visible .ml-category-card__cta-wrap {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (hover: none), (pointer: coarse) {
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card__cta-wrap {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@media (max-width: 700px) {
  .ml-panel__heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .ml-home .ml-panel__cta {
    width: 100%;
    justify-content: space-between;
  }
  .ml-line-subfamilies {
    display: flex;
    width: calc(100% + 1rem);
    padding-right: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .ml-line-subfamilies::-webkit-scrollbar {
    display: none;
  }
  .ml-line-subfamilies .ml-category-card {
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }

  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card {
    flex: 0 0 min(64%, 13.75rem);
  }

  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card__media img {
    width: 72%;
    height: 72%;
  }
}

/* LÃ­neas de proyectos Â· composiciÃ³n premium de tres tarjetas */
.ml-project-lines {
  padding: clamp(5rem, 8vw, 7.5rem) 0;
  background: linear-gradient(90deg, #020202 0%, #111923 48%, #28303f 100%);
  color: #fff;
}
.ml-project-lines__inner {
  gap: 4rem;
}
.ml-project-lines__header {
  align-items: flex-end;
}
.ml-project-lines__header h4 {
  max-width: 34rem;
  line-height: 1.2;
}

.ml-home .ml-project-lines__explore:hover {
  background: #e6f8ff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
  transform: translateY(-2px);
}
.ml-project-lines__cards,
.ml-project-lines__cards:has(.ml-project-line-card:nth-child(2).is-expanded) {
  display: flex;
  gap: 1rem;
  height: 35rem;
}
.ml-project-line-card,
.ml-project-line-card.is-collapsed,
.ml-project-line-card.is-expanded {
  position: relative;
  min-width: 0;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: #07111d;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  isolation: isolate;
  transition:
    border-color 0.35s,
    box-shadow 0.35s,
    opacity 0.35s;
}
.ml-project-line-card.is-expanded {
  width: 60%;
}
.ml-project-line-card.is-collapsed {
  width: 20%;
  opacity: 0.72;
  cursor: pointer;
}
.ml-project-line-card__trigger {
  position: relative;
  display: flex !important;
  width: 100%;
  height: 100%;
  padding: 3rem !important;
  align-items: flex-start !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: inherit;
  overflow: hidden;
}
.ml-project-line-card__media,
.ml-project-line-card__shade {
  position: absolute;
  inset: 0;
}
.ml-project-line-card__media {
  z-index: -3;
  background: linear-gradient(145deg, #07111d, #142235);
}
.ml-project-line-card__ambient {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transform: scale(1.035);
  transition:
    opacity 0.5s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.ml-project-line-card__shade {
  z-index: -2;
  background: linear-gradient(
    32deg,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.5) 32%,
    rgba(0, 0, 0, 0) 72%
  );
  opacity: 1;
  transition:
    background 0.45s,
    opacity 0.45s;
}
.ml-project-line-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 32rem);
  height: auto;
  flex-direction: column;
  justify-content: flex-end;
}
.ml-project-line-card__title,
.ml-project-line-card__collapsed-title {
  margin: 0;
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.04rem;
  white-space: normal;
}
.ml-project-line-card__details {
  display: block;
  opacity: 1;
}
.ml-project-line-card__subtitle {
  max-width: 32rem;
  margin: 1rem 0 0;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
}
.ml-project-line-card__cta {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  padding: 1rem 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}
.ml-project-line-card__cta span {
  transition: transform 0.25s;
}
.ml-project-line-card__cta:hover span {
  transform: translateX(4px);
}
.ml-project-line-card__collapsed-content {
  position: relative;
  z-index: 1;
  display: none;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.ml-project-line-card__open-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(2, 13, 25, 0.24);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  backdrop-filter: blur(8px);
  transition:
    background-color 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__trigger {
  padding: 1.5rem !important;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__content {
  display: none;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__collapsed-content {
  display: flex;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__ambient {
  opacity: 0.18;
  transform: scale(1.02);
}
.ml-project-line-card.is-collapsed .ml-project-line-card__shade {
  background: linear-gradient(
    0deg,
    rgba(2, 13, 25, 0.9) 0%,
    rgba(2, 13, 25, 0.42) 62%,
    rgba(2, 13, 25, 0.18) 100%
  );
}
.ml-project-line-card.is-collapsed:hover {
  opacity: 1;
  transform: none;
}
.ml-project-line-card.is-collapsed:hover .ml-project-line-card__ambient {
  opacity: 0.82;
  transform: scale(1.075);
}
.ml-project-line-card.is-collapsed:hover .ml-project-line-card__shade {
  background: linear-gradient(
    0deg,
    rgba(2, 13, 25, 0.84) 0%,
    rgba(2, 13, 25, 0.16) 75%
  );
  opacity: 1;
}
.ml-project-line-card.is-collapsed:hover .ml-project-line-card__open-icon {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(230, 248, 255, 0.16);
  transform: translate(2px, -2px);
}
.ml-project-lines__cards.is-awaiting-reveal,
.ml-project-lines__cards.is-awaiting-reveal:has(
    .ml-project-line-card:nth-child(2).is-expanded
  ) {
  grid-template-columns: minmax(0, 3fr) minmax(15rem, 1fr);
}
.ml-project-lines__cards.is-awaiting-reveal .ml-project-line-card {
  opacity: 0;
  transform: translateY(1.5rem);
}
.ml-project-lines__cards:not(.is-awaiting-reveal) .ml-project-line-card {
  transition:
    border-color 0.35s,
    box-shadow 0.35s,
    opacity 0.6s calc(var(--project-card-index) * 90ms),
    transform 0.6s calc(var(--project-card-index) * 90ms);
}
.ml-project-lines__cards:not(.is-awaiting-reveal)
  .ml-project-line-card.is-collapsed {
  opacity: 0.72;
}
@media (max-width: 900px) {
  .ml-project-lines__header {
    align-items: flex-start;
  }
  .ml-project-lines__explore {
    align-self: flex-end;
  }
  .ml-project-lines__cards,
  .ml-project-lines__cards:has(.ml-project-line-card:nth-child(2).is-expanded),
  .ml-project-lines__cards.is-awaiting-reveal,
  .ml-project-lines__cards.is-awaiting-reveal:has(
      .ml-project-line-card:nth-child(2).is-expanded
    ) {
    display: flex;
    height: auto;
    flex-direction: column;
  }
  .ml-project-line-card,
  .ml-project-line-card.is-collapsed {
    height: 11rem;
  }
  .ml-project-line-card.is-expanded,
  .ml-project-lines__cards:not(.is-awaiting-reveal)
    .ml-project-line-card.is-expanded {
    height: 30rem;
  }
  .ml-project-line-card__trigger {
    padding: 2rem !important;
  }
  .ml-project-line-card.is-collapsed .ml-project-line-card__trigger {
    padding: 1.5rem !important;
  }
  .ml-project-line-card.is-collapsed .ml-project-line-card__ambient {
    opacity: 0.3;
  }
  .ml-project-line-card__title,
  .ml-project-line-card__collapsed-title {
    font-size: 1.65rem;
  }
}
@media (max-width: 640px) {
  .ml-project-lines {
    padding-block: 4rem;
  }
  .ml-project-lines__inner {
    gap: 2.5rem;
  }
  .ml-project-lines__explore {
    align-self: stretch;
  }
  .ml-project-line-card.is-expanded,
  .ml-project-lines__cards:not(.is-awaiting-reveal)
    .ml-project-line-card.is-expanded {
    height: 27rem;
  }
  .ml-project-line-card__subtitle {
    font-size: 1rem;
  }
  .ml-project-line-card__open-icon {
    width: 2.25rem;
    height: 2.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ml-project-line-card,
  .ml-project-line-card__ambient,
  .ml-project-line-card__open-icon {
    transition: none !important;
  }
}

/* Ajustes de legibilidad y controles solicitados */
.ml-project-line-card,
.ml-project-line-card.is-expanded,
.ml-project-line-card.is-collapsed,
.ml-project-line-card.is-collapsed:hover {
  box-shadow: none;
}
.ml-project-line-card.is-collapsed,
.ml-project-lines__cards:not(.is-awaiting-reveal)
  .ml-project-line-card.is-collapsed {
  opacity: 1;
}
.ml-project-line-card__title {
  font-size: 2.375rem;
}
.ml-project-line-card__collapsed-title {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.ml-project-line-card.is-collapsed .ml-project-line-card__ambient {
  opacity: 0.42;
}
.ml-project-line-card.is-collapsed:hover .ml-project-line-card__ambient {
  opacity: 0.9;
}
.ml-project-line-card__open-icon {
  display: block;
  width: auto;
  height: auto;
  margin-left: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.3s;
}
.ml-project-line-card.is-collapsed:hover .ml-project-line-card__open-icon {
  border: 0;
  background: transparent;
  transform: translateX(4px);
}
@media (max-width: 640px) {
  .ml-project-line-card__title {
    font-size: 2rem;
  }
  .ml-project-line-card__collapsed-title {
    font-size: 1.5rem;
  }
}

.ml-project-line-card,
.ml-project-line-card:hover,
.ml-project-line-card.is-expanded,
.ml-project-line-card.is-expanded:hover,
.ml-project-line-card.is-collapsed,
.ml-project-line-card.is-collapsed:hover {
  box-shadow: none !important;
}

.ml-project-line-card.is-expanded .ml-project-line-card__media {
  background: #080a0d;
}

.ml-project-line-card.is-expanded .ml-project-line-card__shade {
  background: linear-gradient(
    90deg,
    rgba(2, 2, 2, 0.94) 0%,
    rgba(2, 2, 2, 0.78) 30%,
    rgba(2, 2, 2, 0.32) 54%,
    rgba(2, 2, 2, 0) 76%
  );
  opacity: 1;
}

/* Effective design-system overrides */
.ml-home h1,
.ml-home h2,
.ml-home h3,
.ml-home h4 {
  font-weight: 500;
  text-wrap: balance;
}
.ml-home h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}
.ml-home h2,
.ml-home .ml-foa h2,
.ml-home .ml-contact h2 {
  font-size: clamp(2rem, 4.4vw, 3.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}
.ml-home h3 {
  font-size: clamp(1.65rem, 3.8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}
.ml-home h4 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.05rem;
}
.ml-home .ml-button {
  min-width: 0;
  justify-content: center;
  gap: 0;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}
.ml-home .ml-button--primary {
  border: 0;
  background: var(--ml-action-primary);
  color: var(--ml-grey-50);
}
.ml-home .ml-button--primary:hover {
  background: var(--ml-action-primary-hover);
  color: var(--ml-grey-50);
}
.ml-home .ml-featured[data-button-tone="dark"] .ml-button--primary {
  background: var(--ml-dark-blue-700);
  color: var(--ml-grey-100);
}
.ml-home .ml-featured[data-button-tone="dark"] .ml-button--primary:hover {
  background: var(--ml-dark-blue-800);
  color: var(--ml-grey-100);
}
.ml-home .ml-featured[data-button-tone="light"] .ml-button--primary {
  background: var(--ml-grey-100);
  color: var(--ml-dark-blue-700);
}
.ml-home .ml-featured[data-button-tone="light"] .ml-button--primary:hover {
  background: var(--ml-grey-300);
  color: var(--ml-dark-blue-700);
}
.ml-home .ml-button--primary-light {
  background: var(--ml-grey-100);
  color: var(--ml-dark-blue-700);
}
.ml-home .ml-button--primary-light:hover {
  background: var(--ml-grey-300);
  color: var(--ml-dark-blue-700);
}
.ml-home .ml-button--secondary {
  padding: 15px 31px;
  border: 1px solid currentColor;
  background: transparent;
}
.ml-home .ml-button--secondary:hover {
  border-color: var(--line-color, var(--ml-action-primary));
  background: var(--line-color, var(--ml-action-primary));
  color: var(--line-bg, var(--ml-grey-50));
}
.ml-home .ml-button--tertiary {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
  transition:
    color 0.25s,
    transform 0.25s;
}
.ml-home .ml-button--tertiary span {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s;
}
.ml-home .ml-button--tertiary span svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ml-home .ml-button--tertiary:hover span {
  transform: translateX(4px);
}
.ml-home .ml-button--tertiary:active {
  transform: translateY(1px);
}

/* Project lines layout test: product cutouts collapse into contextual scenes */
.ml-project-lines-concept {
  padding: clamp(5rem, 8vw, 8rem) 0;
  overflow: hidden;
  background: linear-gradient(90deg, #111820 0%, #111820 55%, #2a3647 100%);
  color: var(--ml-text-inverse);
}
.ml-project-lines-concept__inner {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
}
.ml-project-lines-concept__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 4rem);
}
.ml-project-lines-concept__header #ml-project-lines-concept-title {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  flex: 0 1 auto;
  margin: 0;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  background: linear-gradient(
    90deg,
    var(--ml-dark-blue-200) 0%,
    var(--ml-dark-blue-50) 58%,
    var(--ml-light-blue-50) 100%
  );
  background-size: 100% 100%;
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}
.ml-project-lines-concept__title-break {
  display: block;
}
.ml-home #ml-project-lines-concept-title > .ml-project-lines-concept__title-highlight {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.ml-home .ml-project-lines-concept__explore {
  flex: 0 0 auto;
  white-space: nowrap;
}
.ml-project-lines-concept__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  height: clamp(28rem, 38vw, 35rem);
}
.ml-project-lines-concept__card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  color: var(--ml-text-inverse);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.ml-project-lines-concept__ambient,
.ml-project-lines-concept__shade,
.ml-project-lines-concept__product {
  position: absolute;
}
.ml-project-lines-concept__ambient {
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.45s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.ml-project-lines-concept__shade {
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5) 48%, transparent 82%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ml-project-lines-concept__product {
  z-index: -1;
  right: -24%;
  bottom: -10%;
  width: 112%;
  height: 78%;
  object-fit: contain;
  object-position: right bottom;
  transition: opacity 0.3s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-project-lines-concept-card="invictus"] .ml-project-lines-concept__product {
  right: -36%;
  bottom: -16%;
  width: 140%;
  height: 78%;
}
[data-project-lines-concept-card="highbay"] .ml-project-lines-concept__product {
  right: -35%;
  bottom: -20%;
  width: 145%;
  height: 82%;
}
.ml-project-lines-concept__content {
  position: absolute;
  z-index: 2;
  inset: 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  align-items: start;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.ml-project-lines-concept__arrow {
  align-self: start;
  margin-top: 0.05em;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s ease;
}
.ml-project-lines-concept__content p {
  grid-column: 1 / -1;
  width: 80%;
  max-width: none;
  margin: 0;
  color: var(--ml-grey-400);
  opacity: 0;
  transform: translateY(-0.35rem);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.ml-project-lines-concept__badge {
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: end;
  justify-self: start;
  width: fit-content;
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ml-project-lines-concept__cta-wrap {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.5rem;
  top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: max-content;
  max-width: calc(100% - 2rem);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 1.1rem);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ml-project-lines-concept__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.ml-project-lines-concept__cta--outline {
  border: 1px solid rgba(210, 216, 222, 0.72);
  background: transparent;
  color: rgba(210, 216, 222, 0.92);
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  .ml-project-lines-concept__card:hover .ml-project-lines-concept__ambient,
  .ml-project-lines-concept__card:hover .ml-project-lines-concept__shade {
    opacity: 1;
  }
  .ml-project-lines-concept__card:hover .ml-project-lines-concept__ambient {
    transform: scale(1);
  }
  .ml-project-lines-concept__card:hover .ml-project-lines-concept__product {
    opacity: 0;
    transform: translateY(12%);
  }
  .ml-project-lines-concept__card:hover .ml-project-lines-concept__content p {
    opacity: 1;
    transform: none;
  }
  .ml-project-lines-concept__card:hover .ml-project-lines-concept__arrow {
    transform: translateX(0.3rem);
  }
  .ml-project-lines-concept__card:hover .ml-project-lines-concept__cta-wrap {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  .ml-project-lines-concept__card:hover .ml-project-lines-concept__badge {
    opacity: 0;
    transform: translateY(0.35rem);
  }
}
.ml-project-lines-concept__card:focus-visible .ml-project-lines-concept__cta-wrap {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (hover: none), (pointer: coarse) {
  .ml-project-lines-concept__cta-wrap {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ml-project-lines-concept__cta-wrap {
    transition: none;
  }
}
.ml-project-lines-concept__card:focus-visible .ml-project-lines-concept__ambient,
.ml-project-lines-concept__card:focus-visible .ml-project-lines-concept__shade {
  opacity: 1;
}
.ml-project-lines-concept__card:focus-visible .ml-project-lines-concept__ambient {
  transform: scale(1);
}
.ml-project-lines-concept__card:focus-visible .ml-project-lines-concept__product {
  opacity: 0;
  transform: translateY(12%);
}
.ml-project-lines-concept__card:focus-visible .ml-project-lines-concept__content p {
  opacity: 1;
  transform: none;
}
.ml-project-lines-concept__card:focus-visible,
.ml-home .ml-project-lines-concept__explore:focus-visible {
  outline: 3px solid #68d6ff;
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .ml-project-lines-concept__title-break {
    display: none;
  }
  .ml-project-lines-concept__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .ml-project-lines-concept__cards {
    display: flex;
    height: auto;
    flex-direction: column;
  }
  .ml-project-lines-concept__card {
    height: min(24rem, 62vw);
    flex: 0 0 auto;
  }
  .ml-project-lines-concept__content p {
    opacity: 1;
    transform: none;
  }
  .ml-project-lines-concept__product {
    right: -8%;
    bottom: -24%;
    width: 48%;
    height: 150%;
  }
  [data-project-lines-concept-card="invictus"] .ml-project-lines-concept__product {
    right: -2%;
    bottom: -38%;
    width: 40%;
    height: 180%;
  }
  [data-project-lines-concept-card="highbay"] .ml-project-lines-concept__product {
    right: -8%;
    bottom: -34%;
    width: 52%;
    height: 175%;
  }
}
@media (max-width: 900px) {
  .ml-project-lines-concept {
    padding: 4rem 0 5.5rem;
  }
  .ml-project-lines-concept__inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
  .ml-project-lines-concept__header {
    display: contents;
  }
  .ml-project-lines-concept__header #ml-project-lines-concept-title {
    order: 1;
  }
  .ml-project-lines-concept__cards {
    order: 2;
    display: flex;
    width: calc(100% + 1rem);
    flex-direction: row;
    gap: 1rem;
    padding-right: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ml-project-lines-concept__cards::-webkit-scrollbar {
    display: none;
  }
  .ml-project-lines-concept__card {
    width: min(82vw, 20rem);
    height: clamp(20rem, 100vw, 24rem);
    flex: 0 0 min(82vw, 20rem);
    scroll-snap-align: start;
  }
  .ml-project-lines-concept__product {
    right: -24%;
    bottom: -10%;
    width: 112%;
    height: 78%;
  }
  [data-project-lines-concept-card="invictus"] .ml-project-lines-concept__product {
    right: -36%;
    bottom: -16%;
    width: 140%;
    height: 78%;
  }
  [data-project-lines-concept-card="highbay"] .ml-project-lines-concept__product {
    right: -35%;
    bottom: -20%;
    width: 145%;
    height: 82%;
  }
  .ml-project-lines-concept__explore {
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }
  .ml-project-lines-concept__content p {
    font-size: 1rem;
  }
}
@media (min-width: 901px) and (max-width: 900px) {
  .ml-project-lines-concept__title-break {
    display: block;
  }
  .ml-project-lines-concept__header {
    align-items: flex-end;
    flex-direction: row;
  }
  .ml-project-lines-concept__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.5vw, 1rem);
    width: 100%;
    height: clamp(27rem, 64vw, 34rem);
    overflow: visible;
  }
  .ml-project-lines-concept__card {
    width: auto;
    height: 100%;
    min-width: 0;
    flex: initial;
  }
  .ml-project-lines-concept__content {
    inset: clamp(0.75rem, 1.8vw, 1.25rem);
    gap: 0.65rem;
    font-size: clamp(0.9rem, 1.9vw, 1.15rem);
  }
  .ml-project-lines-concept__content p {
    width: 92%;
    font-size: clamp(0.72rem, 1.45vw, 0.9rem);
  }
  .ml-project-lines-concept__product {
    right: -24%;
    bottom: -10%;
    width: 112%;
    height: 78%;
  }
  [data-project-lines-concept-card="invictus"] .ml-project-lines-concept__product {
    right: -36%;
    bottom: -16%;
    width: 140%;
    height: 78%;
  }
  [data-project-lines-concept-card="highbay"] .ml-project-lines-concept__product {
    right: -35%;
    bottom: -20%;
    width: 145%;
    height: 82%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ml-project-lines-concept__card,
  .ml-project-lines-concept__ambient,
  .ml-project-lines-concept__product,
  .ml-project-lines-concept__content p,
  .ml-project-lines-concept__arrow,
  .ml-project-lines-concept__header #ml-project-lines-concept-title,
  .ml-home .ml-project-lines-concept__explore {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
.ml-home .ml-project-lines__explore {
  min-height: 48px;
  padding: 16px 32px;
  border-radius: 8px;
  background: var(--ml-grey-100);
  color: var(--ml-dark-blue-700);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}
.ml-home .ml-project-lines__explore:hover {
  background: var(--ml-light-blue-50);
  color: var(--ml-dark-blue-700);
  box-shadow: none;
}
@media (max-width: 1360px) {
  .ml-home .ml-button,
  .ml-home .ml-project-lines__explore,
  .ml-home .ml-button--tertiary {
    font-size: 0.875rem;
  }
}

/* Categories: clean white content surface */
.ml-home .ml-categories-test {
  --categories-test-color: var(--ml-grey-50);
  --categories-test-text: var(--ml-dark-blue-700);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--categories-test-color);
  color: var(--categories-test-text);
  transition: background-color 0.45s ease, color 0.45s ease;
}

.ml-home .ml-categories-test__content {
  position: relative;
  z-index: 1;
  padding-top: clamp(5rem, 10vw, 8rem);
  padding-bottom: clamp(5rem, 10vw, 8rem);
}

.ml-home .ml-categories-test__content h2 {
  max-width: 30ch;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}

.ml-home .ml-categories-test__tabs {
  display: flex;
  width: fit-content;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.ml-home .ml-categories-test__tab.is-active {
  color: var(--ml-action-primary);
}

.ml-home .ml-categories-test__grid {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-bottom: 0;
}

.ml-home .ml-categories-test__grid .ml-category-card {
  background: color-mix(in srgb, var(--ml-grey-200) 88%, transparent);
  color: var(--ml-dark-blue-700);
}

.ml-home .ml-categories-test__grid .ml-category-card:hover {
  background: #e6f8ff;
}

@media (max-width: 640px) {
  .ml-home .ml-categories-test__content {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .ml-home .ml-categories-test__grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-right: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .ml-home .ml-solutions-banner__track.ml-categories-test__grid {
    display: flex;
    align-items: stretch;
    width: 100%;
    grid-template-columns: none;
    gap: 1rem;
    margin-top: 0;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
  }

  .ml-home .ml-categories-test__grid .ml-category-card {
    width: 100%;
    min-width: 0;
    flex: initial;
    scroll-snap-align: none;
  }

  .ml-home .ml-solutions-banner__track .ml-category-card {
    width: auto;
    flex: 0 0 78vw;
    scroll-snap-align: start;
  }
}

.ml-home .ml-featured-products__tab {
  padding: 16px 32px;
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 1360px) {
  .ml-home .ml-featured-products__tab {
    font-size: 0.875rem;
  }
}

/* Shared responsive content rail */
@media (min-width: 1601px) {
  .ml-home .ml-hero__content {
    right: auto;
    left: 50%;
    width: min(calc(100% - 8rem), 1400px);
    max-width: 1400px;
    transform: translateX(-50%);
  }
}

@media (max-width: 1600px) {
  .ml-home .ml-shell,
  .ml-home .ml-featured-products__track,
  .ml-home .ml-category-carousel {
    width: min(100% - clamp(2rem, 8vw, 4rem), 1180px);
    margin-inline: auto;
    padding-inline: 0;
  }

  .ml-home .ml-featured-products__viewport {
    --featured-track-edge: max(
      clamp(1rem, 4vw, 2rem),
      calc((100% - 1180px) / 2)
    );
  }

  .ml-home .ml-foa,
  .ml-home .ml-newsletter-banner {
    --ml-expand-start: min(100% - clamp(2rem, 8vw, 4rem), 1180px);
  }

  .ml-home .ml-hero__content {
    right: auto;
    left: 50%;
    width: min(100% - clamp(2rem, 8vw, 4rem), 1180px);
    transform: translateX(-50%);
  }

  .ml-home .ml-footer {
    padding-inline: 0;
  }

  .ml-home .ml-footer > * {
    width: min(100% - clamp(2rem, 8vw, 4rem), 1180px);
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .ml-home .ml-featured-products__tab {
    padding: 12px 16px;
    font-size: 0.8125rem;
  }
}

/* Canonical heading hierarchy and text-neutral normalization */
.ml-home {
  color: var(--ml-text-primary);
}

.ml-home .ml-hero,
.ml-home .ml-foa,
.ml-home .ml-contact,
.ml-home .ml-footer,
.ml-home .ml-project-lines,
.ml-home .ml-project-lines-concept {
  color: var(--ml-text-inverse);
}

.ml-home .ml-footer__links h3 {
  margin: 0;
  color: var(--ml-grey-100);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.ml-home .ml-footer__links a,
.ml-home .ml-footer__legal,
.ml-home .ml-footer__meta {
  color: var(--ml-grey-400);
}

.ml-home .ml-categories-test__content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.ml-home .ml-featured-products__head #ml-featured-products-title {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  overflow-wrap: normal;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    var(--ml-dark-blue-300) 0%,
    var(--ml-dark-blue-500) 58%,
    var(--ml-dark-blue-800) 100%
  );
  background-size: 100% 100%;
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2.45rem, 3.7vw, 3.25rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.ml-home .ml-featured-products__title-highlight {
  color: var(--ml-dark-blue-900);
  -webkit-text-fill-color: var(--ml-dark-blue-900);
}

.ml-home .ml-featured-products__subtitle {
  max-width: 36rem;
  margin: 0;
  color: #4b5560;
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.ml-home .ml-news {
  overflow: hidden;
}
@media (max-width: 640px) {
  .ml-home .ml-news {
    /* Let the horizontal track use the shell's right gutter instead of clipping it. */
    overflow: visible;
  }
}

/* Touch devices must not retain desktop hover states while swiping carousels. */
@media (hover: none), (pointer: coarse) {
  .ml-home .ml-product-card:hover,
  .ml-product-card:hover {
    transform: none !important;
  }

  .ml-home .ml-product-card:hover .media {
    background: #f6f6f6 !important;
  }

  .ml-home .ml-product-card:hover .media img,
  .ml-product-card:hover .ml-product-card__media img,
  .ml-featured-products__track
    .ml-product-card:hover
    .ml-product-card__media
    img,
  .ml-featured-products__track .ml-product-card:hover .media img {
    transform: none !important;
  }

  .ml-product-card:hover .ml-product-card__media,
  .ml-featured-products__track
    .ml-product-card:hover
    .ml-product-card__media,
  .ml-featured-products__track .ml-product-card:hover .media {
    background: #f5f5f5 !important;
  }

  /* Category options: Interior, Exterior, Proyectos and Monaco. */
  .ml-home .ml-categories-test__grid .ml-category-card:hover {
    background: #ededed !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .ml-home
    .ml-featured[data-content-mode="static"]
    .ml-line-subfamilies
    .ml-category-card:hover,
  .ml-home .ml-solutions-banner__track .ml-category-card:hover {
    background: #fff !important;
    box-shadow:
      0 1px 2px rgba(0, 21, 43, 0.03),
      0 6px 16px rgba(0, 21, 43, 0.06) !important;
    transform: none !important;
  }

  .ml-home .ml-categories-test__grid .ml-category-card:hover img,
  .ml-home
    .ml-featured[data-content-mode="static"]
    .ml-line-subfamilies
    .ml-category-card:hover
    img,
  .ml-home .ml-solutions-banner__track .ml-category-card:hover img {
    filter: none !important;
    transform: none !important;
  }
}

.ml-home .ml-news__head {
  display: flex;
  align-items: flex-end;
  flex-direction: row;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.ml-home .ml-news__heading-copy {
  min-width: 0;
}

.ml-home .ml-news__head #ml-news-title {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  overflow-wrap: normal;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    var(--ml-dark-blue-300) 0%,
    var(--ml-dark-blue-500) 58%,
    var(--ml-dark-blue-800) 100%
  );
  background-size: 100% 100%;
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2.45rem, 3.7vw, 3.25rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.ml-home .ml-news__title-highlight {
  color: var(--ml-dark-blue-900);
  -webkit-text-fill-color: var(--ml-dark-blue-900);
}

.ml-home .ml-button--tertiary.ml-news__view-all {
  flex: 0 0 auto;
  margin-bottom: 0.125rem;
  padding-right: 0.25rem;
  color: var(--ml-light-blue-700);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .ml-home .ml-featured-products__head,
  .ml-home .ml-news__head {
    row-gap: 0.5rem !important;
  }

  .ml-home .ml-featured-products__view-all,
  .ml-home .ml-news__view-all {
    align-self: flex-start;
    margin: 0 !important;
  }

  .ml-home .ml-featured__actions .ml-featured__resource-link {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }
}

.ml-home .ml-project-lines-concept__header #ml-project-lines-concept-title {
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

/* Section separation: soft architectural curves and a restrained silver surface */
.ml-home .ml-featured-products {
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 255, 255, 0.96) 0, transparent 34%),
    radial-gradient(circle at 88% 86%, rgba(184, 191, 199, 0.2) 0, transparent 38%),
    linear-gradient(118deg, #f8f9fa 0%, #e9ecef 47%, #f5f6f7 72%, #dfe3e7 100%);
}

.ml-home .ml-project-lines-concept {
  position: relative;
  z-index: 2;
}

.ml-home .ml-categories-test {
  z-index: 3;
  margin-top: clamp(-2rem, -2.5vw, -1.25rem);
  border-radius: clamp(1.25rem, 2.5vw, 2rem) clamp(1.25rem, 2.5vw, 2rem) 0 0;
}

/* FAQ + contact: quiet editorial split */
.ml-home .ml-conversion {
  position: relative;
  display: grid;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background: #fff;
}

.ml-home .ml-conversion__inner {
  display: grid;
  gap: clamp(4rem, 8vw, 7rem);
}

.ml-home .ml-conversion__primary {
  display: grid;
  grid-template-columns: minmax(17rem, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(2.5rem, 6vw, 7rem);
  align-items: start;
}

.ml-home .ml-conversion__card {
  position: relative;
  border-radius: 0.75rem;
  color: var(--ml-text-inverse);
}

.ml-home .ml-conversion__intro {
  max-width: 28rem;
  padding-top: clamp(0.75rem, 1.5vw, 1.25rem);
  color: var(--ml-dark-blue-700);
}

.ml-home .ml-conversion__intro h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(2.75rem, 5vw, 5.25rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.065em;
  text-wrap: balance;
}

.ml-home .ml-conversion__intro p {
  max-width: 35ch;
  margin: clamp(1.5rem, 2.5vw, 2.25rem) 0 0;
  color: var(--ml-dark-blue-400);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.ml-home .ml-conversion__card--faq {
  background: transparent;
  color: var(--ml-dark-blue-700);
  box-shadow: none;
}

.ml-home .ml-conversion__faq-content {
  padding: 0;
}

.ml-home .ml-conversion__card--faq .ml-faq__list,
.ml-home .ml-conversion__card--faq .ml-faq__item {
  border-color: #e7e7e4;
}

.ml-home .ml-conversion__card--faq .ml-faq__trigger {
  gap: 1rem;
  padding: 1.35rem 0;
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
  font-weight: 500;
  line-height: 1.35;
}

.ml-home .ml-conversion__card--faq .ml-faq__answer p {
  width: 100%;
  max-width: none;
  padding-bottom: 1.35rem;
  color: var(--ml-dark-blue-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Newsletter banner · same full-width expand as Casa FOA */
.ml-home .ml-newsletter-banner {
  position: relative;
  display: flex;
  margin-block: 0;
  overflow: hidden;
  background: #0a0a0a;
  color: #fff;
  isolation: isolate;
}

.ml-home .ml-newsletter-banner__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
  background:
    #0a0a0a
    url("https://s3.coresagroup.com/MACROLED/WEB/HOME/novedades_background.png")
    center / cover no-repeat;
}

.ml-home .ml-newsletter-banner__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ml-home .ml-newsletter-banner__overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.66) 36%, rgba(10, 10, 10, 0.28) 64%, rgba(10, 10, 10, 0.08) 100%);
}

.ml-home .ml-newsletter-banner__content > .ml-button {
  appearance: none;
  cursor: pointer;
}

.ml-home .ml-newsletter-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: var(--ml-expand-start, min(100% - 3rem, 1400px));
  margin-inline: auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding: clamp(7rem, 6vw, 7.5rem) 0;
  text-align: left;
}

.ml-home .ml-newsletter-banner__copy {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.ml-home .ml-newsletter-banner #ml-newsletter-title {
  max-width: 16ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 3.7vw, 3.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.ml-home .ml-newsletter-banner__title-highlight {
  color: #fff;
}

.ml-home .ml-newsletter-banner__subtitle {
  max-width: 36rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.ml-home .ml-conversion__button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 0;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.ml-home .ml-conversion__button--light {
  background: var(--ml-grey-100);
  color: var(--ml-dark-blue-700);
}

.ml-home .ml-conversion__button--dark {
  margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
  background: var(--ml-action-primary);
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .ml-home .ml-conversion__button--light:hover {
    background: var(--ml-grey-300);
  }

  .ml-home .ml-conversion__button--dark:hover {
    background: var(--ml-action-primary-hover);
    color: #fff;
  }
}

.ml-home .ml-conversion__button:active {
  transform: translateY(1px);
}

.ml-home .ml-conversion__button:focus-visible {
  outline: 3px solid var(--ml-light-blue-500);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  .ml-home .ml-conversion__primary {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .ml-home .ml-conversion__intro {
    max-width: 36rem;
  }
}

@media (max-width: 640px) {
  .ml-home .ml-conversion {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .ml-home .ml-conversion__faq-content {
    padding: 0;
  }

  .ml-home .ml-conversion__intro p {
    max-width: none;
    width: 100%;
  }

  .ml-home .ml-conversion__button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-conversion__button {
    transition: none;
  }
}

/* Shared CTA response: quiet darkening + restrained movement */
.ml-home .ml-button,
.ml-home .ml-conversion__button,
.ml-home .ml-button--tertiary {
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    filter 0.25s ease,
    transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .ml-home .ml-button:hover,
  .ml-home .ml-conversion__button:hover {
    filter: brightness(0.94);
    transform: translateY(-2px);
  }

  .ml-home .ml-button--tertiary:hover {
    filter: brightness(0.82);
    transform: translateY(-2px);
  }

  .ml-home .ml-button--tertiary:hover span {
    transform: translateX(4px);
  }
}

.ml-home .ml-button:active,
.ml-home .ml-conversion__button:active,
.ml-home .ml-button--tertiary:active {
  filter: brightness(0.9);
  transform: translateY(1px) scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-button,
  .ml-home .ml-conversion__button,
  .ml-home .ml-button--tertiary,
  .ml-home .ml-button--tertiary span {
    transition: none;
  }
}

@media (max-width: 640px) {
  .ml-home .ml-project-lines-concept {
    border-radius: 1.25rem 1.25rem 0 0;
  }

  .ml-home .ml-categories-test {
    margin-top: -1.25rem;
    border-radius: 1.25rem 1.25rem 0 0;
  }
}

/* Friendly scroll motion for projects, featured products and categories */
.ml-home .ml-project-lines-concept.ml-motion-ready
  .ml-project-lines-concept__card {
  opacity: 0;
  transform: translate3d(-2.75rem, 0, 0);
}

.ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-visible
  .ml-project-lines-concept__card {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.75s ease,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(180ms + var(--motion-order, 0) * 120ms);
}

.ml-home .ml-project-lines-concept.ml-motion-ready
  .ml-project-lines-concept__header #ml-project-lines-concept-title {
  opacity: 0;
  transform: translate3d(-4.5rem, 0, 0);
}

.ml-home .ml-project-lines-concept.ml-motion-ready
  .ml-project-lines-concept__explore {
  opacity: 0;
  transform: translate3d(4.5rem, 0, 0);
}

.ml-home .ml-project-lines-concept.ml-motion-ready
  .ml-project-lines-concept__content > span:first-child,
.ml-home .ml-project-lines-concept.ml-motion-ready
  .ml-project-lines-concept__content p {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
}

.ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-visible
  .ml-project-lines-concept__header #ml-project-lines-concept-title,
.ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-visible
  .ml-project-lines-concept__explore {
  opacity: 1;
  transform: none;
  transition:
    opacity 1.15s ease,
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 180ms;
}

.ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-visible
  .ml-project-lines-concept__explore {
  transition-delay: 180ms;
}

.ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-settled
  .ml-project-lines-concept__header #ml-project-lines-concept-title,
.ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-settled
  .ml-project-lines-concept__explore,
.ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-settled
  .ml-project-lines-concept__card {
  transition-delay: 0ms;
}

.ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-settled
  .ml-project-lines-concept__explore {
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}

.ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-settled
  .ml-project-lines-concept__card {
  transition: transform 0.25s ease;
}

.ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-visible
  .ml-project-lines-concept__content > span:first-child {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(140ms + var(--motion-order, 0) * 110ms);
}

.ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-visible
  .ml-project-lines-concept__content p {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.65s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(220ms + var(--motion-order, 0) * 110ms);
}

@media (max-width: 900px) {
  .ml-home .ml-project-lines-concept.ml-motion-ready
    .ml-project-lines-concept__header #ml-project-lines-concept-title {
    transform: translate3d(-3rem, 0, 0);
  }

  .ml-home .ml-project-lines-concept.ml-motion-ready
    .ml-project-lines-concept__explore {
    transform: translate3d(3rem, 0, 0);
  }
}

/* Line content: image + text fade in place; cards L→R */
.ml-home .ml-featured.ml-content-motion-ready .ml-featured__copy,
.ml-home .ml-featured.ml-content-motion-ready .ml-featured__media {
  opacity: 0;
}

.ml-home .ml-featured.ml-content-motion-ready.is-motion-visible .ml-featured__copy,
.ml-home .ml-featured.ml-content-motion-ready.is-motion-visible .ml-featured__media {
  opacity: 1;
  transition: opacity 1.05s ease;
}

.ml-home .ml-featured.ml-content-motion-ready.is-motion-visible .ml-featured__media {
  transition-delay: 140ms;
}

.ml-home .ml-featured[data-content-mode="typesense"].ml-content-motion-ready
  .ml-product-card,
.ml-home .ml-featured[data-content-mode="static"].ml-content-motion-ready
  .ml-category-card {
  opacity: 0;
  transform: translate3d(-2.75rem, 0, 0);
}

.ml-home .ml-featured[data-content-mode="typesense"].ml-content-motion-ready.is-motion-visible
  .ml-product-card,
.ml-home .ml-featured[data-content-mode="static"].ml-content-motion-ready.is-motion-visible
  .ml-category-card {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.75s ease,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease;
  transition-delay: calc(480ms + var(--motion-order, 0) * 120ms);
}

.ml-home .ml-featured.ml-content-motion-ready.is-motion-settled .ml-featured__copy,
.ml-home .ml-featured.ml-content-motion-ready.is-motion-settled .ml-featured__media,
.ml-home .ml-featured[data-content-mode="typesense"].ml-content-motion-ready.is-motion-settled
  .ml-product-card,
.ml-home .ml-featured[data-content-mode="static"].ml-content-motion-ready.is-motion-settled
  .ml-category-card {
  transition-delay: 0ms;
}

.ml-home .ml-featured[data-content-mode="static"].ml-content-motion-ready.is-motion-settled
  .ml-category-card,
.ml-home .ml-featured[data-content-mode="typesense"].ml-content-motion-ready.is-motion-settled
  .ml-product-card {
  transition:
    transform 0.25s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.ml-home .ml-categories-test.ml-motion-ready {
  transform: none;
}

.ml-home .ml-categories-test.ml-motion-ready.is-motion-visible {
  transform: none;
}

.ml-home .ml-categories-test.ml-motion-ready .ml-categories-test__content > h2,
.ml-home .ml-categories-test.ml-motion-ready .ml-categories-test__tabs {
  opacity: 1;
  transform: none;
}

.ml-home .ml-categories-test.ml-motion-ready .ml-category-card {
  opacity: 1;
  transform: none;
}

.ml-home .ml-categories-test.ml-motion-ready.is-motion-settled
  .ml-category-card,
.ml-home .ml-featured[data-content-mode="static"].ml-content-motion-ready.is-motion-settled
  .ml-category-card {
  transition-delay: 0ms;
}

.ml-home .ml-categories-test__grid.is-cards-refreshing .ml-category-card {
  opacity: 0;
  transform: translate3d(0, 2rem, 0) scale(0.98);
  transition: none;
}

.ml-home .ml-categories-test__grid.is-cards-refreshing.is-cards-visible
  .ml-category-card {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.58s ease,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.3s ease;
  transition-delay: 0ms;
}

@media (hover: hover) and (pointer: fine) {
  .ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-visible
    .ml-project-lines-concept__card:hover {
    transform: translateY(-0.4rem);
    transition-delay: 0ms;
  }

  .ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-visible
    .ml-project-lines-concept__card:hover
    .ml-project-lines-concept__content p {
    opacity: 1;
    transform: none;
    transition-delay: 0ms;
  }

  .ml-home .ml-categories-test.ml-motion-ready.is-motion-visible
    .ml-category-card:hover {
    transform: translateY(-0.4rem);
    transition-delay: 0ms;
  }

  .ml-home .ml-featured[data-content-mode="static"].ml-content-motion-ready.is-motion-visible
    .ml-category-card:hover {
    transform: translateY(-0.4rem);
    transition-delay: 0ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-motion-ready,
  .ml-home .ml-motion-ready * {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* Categories Â· premium illuminated product cards */
.ml-home .ml-categories-test {
  background: linear-gradient(
    180deg,
    var(--ml-grey-50) 0%,
    var(--ml-grey-50) 58%,
    color-mix(in srgb, var(--ml-grey-50) 68%, #e9ecef) 76%,
    #e9ecef 100%
  );
}

.ml-home .ml-solutions-banner .ml-categories-test {
  background: transparent;
}

.ml-home #ml-categories-test-title,
.ml-home .ml-categories-test__title {
  width: fit-content;
  color: var(--ml-dark-blue-700);
}

.ml-home .ml-categories-title__word {
  display: inline-block;
}

.ml-home .ml-categories-title__letter {
  display: inline-block;
  color: var(--letter-color, var(--ml-dark-blue-700));
  opacity: 0.16;
}

.ml-home
  #ml-categories-test-title.is-illuminating
  .ml-categories-title__letter,
.ml-home
  .ml-categories-test__title.is-illuminating
  .ml-categories-title__letter {
  animation: ml-category-letter-illuminate 0.7s
    cubic-bezier(0.22, 0.7, 0.25, 1) var(--letter-delay) 1 forwards;
}

@keyframes ml-category-letter-illuminate {
  from {
    opacity: 0.16;
    transform: translateY(0.08em);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.ml-home .ml-categories-test__grid .ml-category-card {
  isolation: isolate;
  aspect-ratio: auto;
  gap: clamp(0.75rem, 1.5vw, 1.25rem);
  padding: 1rem 1rem 0;
  background:
  #ededed;
  backdrop-filter: blur(18px) saturate(0.82);
  -webkit-backdrop-filter: blur(18px) saturate(0.82);
  box-shadow: none;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.ml-home .ml-categories-test__grid .ml-category-card h3 {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  padding: 0.75rem 0.25rem 0.5rem;
}

.ml-home
  .ml-categories-test__grid
  .ml-category-card
  .ml-category-card__badge {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: auto;
  bottom: auto;
  left: 1rem;
  margin: 0;
}

@media (max-width: 640px) {
  .ml-home
    .ml-categories-test__grid
    .ml-category-card
    .ml-category-card__badge {
    top: auto;
    bottom: 1rem;
  }
}

.ml-home .ml-categories-test__grid .ml-category-card__media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  flex: 0 0 auto;
  margin-inline: 0;
  align-items: end;
  justify-items: center;
  padding-bottom: 0.35rem;
  overflow: hidden;
}

.ml-home .ml-categories-test__grid .ml-category-card img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  transform-origin: center bottom;
  transition:
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.35s ease;
}

.ml-home
  .ml-categories-test__grid
  .ml-category-card[data-editorial-id="lamparas"]
  img {
  width: 48%;
  height: 48%;
}

@media (max-width: 640px) {
  .ml-home .ml-categories-test__grid .ml-category-card .ml-category-card__media img {
    width: 72%;
    height: 72%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .ml-home .ml-categories-test__grid .ml-category-card:hover,
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card:hover {
    background:
      radial-gradient(
        ellipse at 32% 16%,
        color-mix(in srgb, var(--ml-grey-50) 88%, transparent) 0%,
        transparent 46%
      ),
      linear-gradient(
        135deg,
        color-mix(in srgb, var(--ml-grey-100) 82%, transparent) 0%,
        color-mix(in srgb, var(--ml-grey-200) 76%, transparent) 38%,
        color-mix(in srgb, var(--ml-grey-50) 96%, var(--ml-light-blue-400)) 72%,
        color-mix(in srgb, var(--ml-grey-300) 92%, var(--ml-light-blue-400)) 100%
      );
    box-shadow: none;
  }

  .ml-home .ml-categories-test__grid .ml-category-card:hover img,
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card:hover img {
    filter: saturate(1.03) contrast(1.02);
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-categories-title__letter {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Canonical typography scale
   Keep this section last: these semantic roles are the source of truth for
   every text style rendered by the Home.
   ========================================================================== */
.ml-home {
  --ml-type-h1-size: clamp(2.25rem, calc(1.85rem + 2vw), 4.25rem);
  --ml-type-h1-weight: 500;
  --ml-type-h1-leading: 1.02;
  --ml-type-h1-tracking: -0.04em;

  --ml-type-h2-size: clamp(2rem, calc(1.4rem + 1.6vw), 3rem);
  --ml-type-h2-weight: 500;
  --ml-type-h2-leading: 1.15;
  --ml-type-h2-tracking: -0.04em;

  --ml-type-h3-size: clamp(1.8rem, calc(1.45rem + 1.5vw), 3rem);
  --ml-type-h3-weight: 300;
  --ml-type-h3-emphasis-weight: 600;
  --ml-type-h3-leading: 1.08;
  --ml-type-h3-tracking: -0.025em;

  --ml-type-h4-size: clamp(1.75rem, calc(1.5rem + 1vw), 2.25rem);
  --ml-type-h4-weight: 500;
  --ml-type-h4-leading: 1.15;
  --ml-type-h4-tracking: -0.01em;

  --ml-type-h5-size: clamp(1.25rem, calc(1.05rem + 0.8vw), 1.75rem);
  --ml-type-h5-weight: 400;
  --ml-type-h5-leading: 1.2;
  --ml-type-h5-tracking: -0.01em;

  --ml-type-h6-size: clamp(1.2rem, calc(1.1rem + 0.5vw), 1.4rem);
  --ml-type-h6-weight: 600;
  --ml-type-h6-leading: 1.3;
  --ml-type-h6-tracking: 0;

  --ml-type-h7-size: 1.05rem;
  --ml-type-h7-weight: 500;
  --ml-type-h7-leading: 1.25;
  --ml-type-h7-tracking: -0.01em;

  --ml-type-body-l-size: clamp(1rem, calc(0.95rem + 0.25vw), 1rem);
  --ml-type-body-l-weight: 400;
  --ml-type-body-l-leading: 1.6;

  --ml-type-body-m-size: 1rem;
  --ml-type-body-m-weight: 400;
  --ml-type-body-m-leading: 1.6;

  --ml-type-body-s-size: 0.875rem;
  --ml-type-body-s-weight: 400;
  --ml-type-body-s-leading: 1.55;

}

/* H1 — hero only */
.ml-home #ml-hero-title {
  font-size: var(--ml-type-h1-size);
  font-weight: var(--ml-type-h1-weight);
  line-height: var(--ml-type-h1-leading);
  letter-spacing: var(--ml-type-h1-tracking);
}

/* H2 — Home section titles */
.ml-home > .ml-hero-overlap #ml-project-lines-concept-title,
.ml-home main h2:not(#aiTitle) {
  font-size: var(--ml-type-h2-size) !important;
  font-weight: var(--ml-type-h2-weight) !important;
  line-height: var(--ml-type-h2-leading) !important;
  letter-spacing: var(--ml-type-h2-tracking) !important;
}

/* H3 — editorial line titles */
.ml-home .ml-featured__copy h3 {
  font-size: var(--ml-type-h3-size);
  font-weight: var(--ml-type-h3-weight);
  line-height: var(--ml-type-h3-leading);
  letter-spacing: var(--ml-type-h3-tracking);
}

.ml-home .ml-featured__copy h3 strong {
  font-weight: var(--title-emphasis-weight, var(--ml-type-h3-emphasis-weight));
}

.ml-home #ml-foa-title strong {
  font-weight: 600;
}

/* H5 — card titles (formerly heading-card-large and card variants) */
.ml-home .ml-project-lines-concept__content {
  --ml-type-h5-weight: 500;
}

.ml-home .ml-project-lines-concept__content,
.ml-home .ml-project-line-card__title,
.ml-home .ml-project-line-card__collapsed-title {
  font-size: var(--ml-type-h5-size);
  font-weight: var(--ml-type-h5-weight);
  line-height: var(--ml-type-h5-leading);
  letter-spacing: var(--ml-type-h5-tracking);
}

/* H6 — news card titles */
.ml-home .ml-news-card h3 {
  font-size: var(--ml-type-h6-size);
  font-weight: var(--ml-type-h6-weight);
  line-height: var(--ml-type-h6-leading);
  letter-spacing: var(--ml-type-h6-tracking);
}

/* Body L */
.ml-home .ml-hero__subtitle,
.ml-home .ml-featured-products__subtitle,
.ml-home .ml-featured__copy p,
.ml-home .ml-project-lines-concept__content p,
.ml-home .ml-project-line-card__subtitle,
.ml-home .ml-conversion__intro p,
.ml-home .ml-newsletter-banner p {
  font-size: var(--ml-type-body-l-size);
  font-weight: var(--ml-type-body-l-weight);
  line-height: var(--ml-type-body-l-leading);
  letter-spacing: 0;
}

/* Body M */
.ml-home .ml-featured-products__state,
.ml-home .ml-product-state {
  font-size: var(--ml-type-body-m-size);
  font-weight: var(--ml-type-body-m-weight);
  line-height: var(--ml-type-body-m-leading);
  letter-spacing: 0;
}

/* Body S */
.ml-home .ml-news-card p,
.ml-home .ml-conversion__card--faq .ml-faq__answer p {
  font-size: var(--ml-type-body-s-size);
  font-weight: var(--ml-type-body-s-weight);
  line-height: var(--ml-type-body-s-leading);
  letter-spacing: 0;
}

/* Label */
.ml-home .ml-product-attr__label,
.ml-home .ml-product-card__note {
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

/* Highlight label */
.ml-home .ml-highlight-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: #ddca97;
  color: var(--ml-dark-blue-700);
  box-shadow: 0 3px 10px rgba(201, 179, 118, 0.35);
  font-size: 0.60rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ml-home .ml-highlight-badge.ml-project-lines-concept__badge {
  padding: 0.55rem 0.85rem;
  background: #c9b376;
  font-size: 0.78rem;
  letter-spacing: 0;
}

@media (min-width: 641px) {
  .ml-home .ml-highlight-badge.ml-project-lines-concept__badge {
    line-height: 0.85;
  }
}

.ml-home .ml-product-attr__value {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--ml-grey-600);
}

.ml-home .ml-product-card__title {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--ml-grey-800);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ml-home .ml-product-attr__label,
.ml-home .ml-product-card__note {
  color: #94989c;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Button and interactive text */
.ml-home .ml-button,
.ml-home .ml-button--tertiary,
.ml-home .ml-conversion__button,
.ml-home .ml-featured-products__tab,
.ml-home .ml-project-line-card__cta {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.ml-home .ml-conversion__card--faq .ml-faq__trigger {
  font-size: var(--ml-type-body-m-size);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

@media (max-width: 1360px) {
  .ml-home .ml-button,
  .ml-home .ml-button--tertiary,
  .ml-home .ml-conversion__button,
  .ml-home .ml-featured-products__tab,
  .ml-home .ml-project-line-card__cta {
    font-size: 0.875rem;
  }
}

@media (max-width: 640px) {
  .ml-home {
    --ml-type-h1-size: clamp(2.75rem, 11vw, 3.1rem);
    --ml-type-h2-size: clamp(2.25rem, 8vw, 2.55rem);
    --ml-type-h3-size: clamp(2rem, 7vw, 2.3rem);
    --ml-type-h4-size: clamp(1.95rem, 6.5vw, 2.2rem);
    --ml-type-h5-size: clamp(1.4rem, 5vw, 1.55rem);
    --ml-type-h6-size: clamp(1.3rem, 4.5vw, 1.4rem);
    --ml-type-h7-size: 1.125rem;
    --ml-type-body-l-size: 1.125rem;
    --ml-type-body-m-size: 1.0625rem;
    --ml-type-body-s-size: 0.9375rem;
    --ml-type-button-size: 0.875rem;
  }

  .ml-home .ml-featured__copy {
    --ml-type-body-l-size: 0.9375rem;
  }

  .ml-home .ml-featured-products__subtitle {
    --ml-type-body-l-size: 1rem;
  }

  .ml-home .ml-project-lines-concept__content {
    --ml-type-body-l-size: 0.9rem;
  }

  .ml-home .ml-button,
  .ml-home .ml-button--tertiary,
  .ml-home .ml-conversion__button,
  .ml-home .ml-featured-products__tab,
  .ml-home .ml-project-line-card__cta,
  .ml-home .ml-project-lines-concept__cta,
  .ml-home .ml-solutions-banner .ml-solutions-banner__track .ml-category-card__cta,
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card__cta,
  .ml-home .ml-category-card__cta,
  .ml-home .ml-conversion__card--faq .ml-faq__trigger {
    font-size: var(--ml-type-button-size);
  }

  .ml-home .ml-hero__subtitle {
    font-size: 1.125rem;
  }

  .ml-home .ml-conversion__intro > p,
  .ml-home .ml-newsletter-banner__subtitle {
    --ml-type-body-l-size: 1rem;
    font-size: var(--ml-type-body-l-size);
  }

  .ml-home .ml-highlight-badge {
    font-size: 0.60rem;
  }

  .ml-home .ml-product-attr__label,
  .ml-home .ml-product-card__note {
    font-size: 0.75rem;
  }

  .ml-home .ml-featured-products__track {
    width: calc(100% - 1rem);
    margin-right: 0;
    margin-left: 1rem;
  }

  .ml-home .ml-foa,
  .ml-home .ml-newsletter-banner {
    --ml-expand-start: calc(100% - 2rem);
    --ml-expand-progress: 1 !important;
    max-width: none;
    margin-top: 0;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0;
    padding-left: 0;
  }
}

/* —— Solutions banner (after project lines) —— */
.ml-home .ml-solutions-banner {
  --ml-monaco-tone: #e9ecef;
  --ml-solutions-fade: #ffffff;
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding-top: clamp(3.8rem, 5vw, 4.25rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 32%,
    #f7f7f7 55%,
    color-mix(in srgb, #f4f4f4 28%, var(--ml-monaco-tone)) 78%,
    var(--ml-monaco-tone) 100%
  );
  color: var(--ml-dark-blue-700, #00152b);
}

.ml-home .ml-solutions-banner__inner {
  display: flex;
  flex-direction: column;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.ml-home .ml-solutions-banner__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  min-height: clamp(20rem, 32vw, 28rem);
  overflow: hidden;
}

.ml-home .ml-solutions-banner__categories {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  padding: clamp(0.75rem, 1.5vw, 1.25rem) clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2rem);
}

.ml-home .ml-solutions-banner .ml-categories-test {
  background: transparent;
  overflow: visible;
  color: var(--ml-dark-blue-700, #00152b);
}

.ml-home .ml-solutions-banner__categories .ml-categories-test__tabs {
  width: fit-content;
  max-width: 100%;
  margin: 0.35rem 0 0.15rem;
  padding: 0.45rem;
  gap: 0.55rem;
  flex-wrap: wrap;
  background: var(--ml-grey-300);
  box-shadow: none;
}

.ml-home .ml-solutions-banner__categories .ml-featured-products__tab {
  padding: 1rem 1.55rem;
}

.ml-home .ml-solutions-banner__viewport {
  --featured-track-edge: 0;
  --solutions-arrow-gutter: 3.25rem;
  position: relative;
  width: calc(100% + (2 * var(--solutions-arrow-gutter)));
  max-width: none;
  margin-inline: calc(var(--solutions-arrow-gutter) * -1);
  padding-inline: var(--solutions-arrow-gutter);
}

.ml-home .ml-solutions-banner__viewport > .ml-featured-products__arrows {
  inset: 0.15rem 0 0.35rem;
}

.ml-home .ml-solutions-banner__viewport .ml-featured-products__nav[data-featured-prev] {
  left: calc(var(--solutions-arrow-gutter) - 1.3125rem);
  transform: translateY(-50%);
}

.ml-home .ml-solutions-banner__viewport .ml-featured-products__nav[data-featured-next] {
  right: calc(var(--solutions-arrow-gutter) - 1.3125rem);
  transform: translateY(-50%);
}

.ml-home .ml-solutions-banner__viewport .ml-featured-products__nav[data-featured-prev]:hover {
  transform: translate(-0.12rem, -50%);
}

.ml-home .ml-solutions-banner__viewport .ml-featured-products__nav[data-featured-next]:hover {
  transform: translate(0.12rem, -50%);
}

.ml-home .ml-solutions-banner__track {
  display: flex;
  align-items: stretch;
  width: 100%;
  gap: 1rem;
  margin: 0;
  padding: 0.85rem 0.35rem 1.5rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.35rem;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  grid-template-columns: none;
}

.ml-home .ml-solutions-banner__track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.ml-home .ml-solutions-banner__track.is-dragging .ml-category-card {
  pointer-events: none;
}

.ml-home .ml-solutions-banner__track::-webkit-scrollbar {
  display: none;
}

.ml-home .ml-solutions-banner__track .ml-category-card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 3rem) / 4);
  align-self: stretch;
  width: auto;
  min-width: 0;
  min-height: 0;
  height: auto;
  aspect-ratio: 0.98;
  gap: 0.5rem;
  padding: 0.85rem 0.85rem 0;
  overflow: visible;
  border-radius: 14px;
  background: #fff;
  scroll-snap-align: start;
  box-shadow:
    0 1px 2px rgba(0, 21, 43, 0.03),
    0 6px 16px rgba(0, 21, 43, 0.06);
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.ml-home .ml-solutions-banner__track .ml-category-card:hover {
  box-shadow:
    0 2px 4px rgba(0, 21, 43, 0.04),
    0 10px 22px rgba(0, 21, 43, 0.09);
}

/* New releases start like the other cards; the light effect begins on section entry. */
.ml-home .ml-solutions-banner__track .ml-category-card[data-editorial-id="lineales-pro"],
.ml-home .ml-solutions-banner__track .ml-category-card[data-editorial-id="luminarias-skyline"],
.ml-home .ml-solutions-banner__track .ml-category-card[data-editorial-id="proyectos-luz-calle-standard"] {
  border: 0;
  background: #fff;
}

.ml-home .ml-solutions-banner.is-motion-visible
  .ml-category-card[data-editorial-id="lineales-pro"],
.ml-home .ml-solutions-banner.is-motion-visible
  .ml-category-card[data-editorial-id="luminarias-skyline"],
.ml-home .ml-solutions-banner.is-motion-visible
  .ml-category-card[data-editorial-id="proyectos-luz-calle-standard"] {
  background: #fff;
  animation: ml-new-release-breathe 5.5s ease-in-out infinite;
}

.ml-home .ml-solutions-banner.is-motion-visible
  .ml-category-card[data-editorial-id="lineales-pro"]:hover,
.ml-home .ml-solutions-banner.is-motion-visible
  .ml-category-card[data-editorial-id="luminarias-skyline"]:hover,
.ml-home .ml-solutions-banner.is-motion-visible
  .ml-category-card[data-editorial-id="proyectos-luz-calle-standard"]:hover {
  animation-duration: 3.8s;
}

@keyframes ml-new-release-breathe {
  0%,
  100% {
    background-color: #fff;
    box-shadow:
      inset -3rem 0 5rem -2rem rgba(0, 174, 239, 0),
      0 6px 16px rgba(0, 21, 43, 0.06);
  }
  48% {
    background-color: #fff;
    box-shadow:
      inset -5.5rem 0 7rem -2.5rem rgba(0, 174, 239, 0.15),
      0 10px 24px rgba(0, 111, 152, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-solutions-banner.is-motion-visible
    .ml-category-card[data-editorial-id="lineales-pro"],
  .ml-home .ml-solutions-banner.is-motion-visible
    .ml-category-card[data-editorial-id="luminarias-skyline"],
  .ml-home .ml-solutions-banner.is-motion-visible
    .ml-category-card[data-editorial-id="proyectos-luz-calle-standard"] {
    animation: none;
    background: #fff;
    box-shadow:
      inset -5.5rem 0 7rem -2.5rem rgba(0, 174, 239, 0.1),
      0 6px 16px rgba(0, 21, 43, 0.06);
  }
}

.ml-home .ml-solutions-banner__track .ml-category-card h3 {
  flex: 0 0 auto;
  min-height: calc((2 * var(--ml-type-h7-leading) * 1em) + 0.55rem);
  padding: 0.4rem 0.1rem 0.15rem;
  font-size: var(--ml-type-h7-size);
  font-weight: var(--ml-type-h7-weight);
  line-height: var(--ml-type-h7-leading);
  letter-spacing: var(--ml-type-h7-tracking);
}

.ml-home .ml-solutions-banner__track
  .ml-category-card[data-editorial-id="proyectos-luz-calle-standard"] h3 {
  white-space: pre-line;
}

.ml-home .ml-solutions-banner__track .ml-category-card__media {
  aspect-ratio: auto;
  flex: 1 1 auto;
  align-self: stretch;
  min-height: 0;
  height: auto;
  overflow: hidden;
  border-radius: 0 0 10px 10px;
  place-items: center;
  align-items: center;
  justify-items: center;
  padding-bottom: 0.85rem;
}

.ml-home .ml-solutions-banner__track .ml-category-card img,
.ml-home .ml-solutions-banner__track .ml-category-card .ml-category-card__media img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  object-position: center;
  transform-origin: center center;
}

.ml-home .ml-solutions-banner__track
  .ml-category-card[data-editorial-id="lamparas"]
  .ml-category-card__media img {
  width: 56%;
  height: 56%;
}

.ml-home .ml-solutions-banner__track .ml-category-card__cta-wrap {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100% - 1.5rem);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 1rem);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ml-home .ml-solutions-banner__track .ml-category-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  background: var(--ml-dark-blue-700, #00152b);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(0, 21, 43, 0.22);
}

@media (hover: hover) and (pointer: fine) {
  .ml-home .ml-solutions-banner__track .ml-category-card:hover .ml-category-card__cta-wrap {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.ml-home .ml-solutions-banner__track .ml-category-card:focus-visible .ml-category-card__cta-wrap {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (hover: none), (pointer: coarse) {
  .ml-home .ml-solutions-banner__track .ml-category-card__cta-wrap {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.ml-home .ml-solutions-banner .ml-categories-test__grid {
  margin-top: 0;
}

.ml-home .ml-solutions-banner__categories .ml-featured-products__controls {
  margin-top: 0.35rem;
}

.ml-home .ml-solutions-banner__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.5rem, 4vw, 3.5rem) clamp(1.25rem, 2.5vw, 2rem);
}

@media (max-width: 1600px) {
  .ml-home .ml-solutions-banner__copy {
    padding-left: 0;
  }

  .ml-home .ml-solutions-banner__categories {
    padding-right: 0;
    padding-left: 0;
  }
}

.ml-home .ml-solutions-banner__copy h2,
.ml-home #ml-solutions-banner-title {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  background: linear-gradient(
    90deg,
    var(--ml-dark-blue-300) 0%,
    var(--ml-dark-blue-500) 58%,
    var(--ml-dark-blue-800) 100%
  );
  background-size: 100% 100%;
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2.45rem, 3.7vw, 3.25rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.ml-home .ml-solutions-banner__title-break {
  display: block;
}

.ml-home .ml-solutions-banner__title-highlight {
  color: var(--ml-dark-blue-900);
  -webkit-text-fill-color: var(--ml-dark-blue-900);
}

.ml-home .ml-solutions-banner__subtitle {
  max-width: 36rem;
  margin: 0;
  color: #4b5560;
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
  line-height: 1.55;
  text-wrap: pretty;
}

@media (min-width: 901px) {
  .ml-home .ml-solutions-banner__subtitle {
    max-width: 25rem;
  }
}

.ml-home .ml-solutions-banner__media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: transparent;
}

.ml-home .ml-solutions-banner__media::after {
  content: none;
}

.ml-home .ml-solutions-banner__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  filter: none;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 78%, transparent 100%);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .ml-home .ml-line-content--static {
    padding-inline: 0;
  }

  .ml-home .ml-project-lines-concept__cta-wrap,
  .ml-home .ml-solutions-banner__track .ml-category-card__cta-wrap,
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card__cta-wrap {
    display: none;
  }

  .ml-home .ml-solutions-banner__hero {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: visible;
  }

  .ml-home .ml-solutions-banner__copy {
    padding-bottom: 1.25rem;
  }

  .ml-home .ml-solutions-banner__media {
    width: calc(100% + max(2rem, 8vw));
    min-height: 16rem;
    margin-inline: calc(0px - max(1rem, 4vw));
  }

  .ml-home .ml-solutions-banner__media img {
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
  }

  .ml-home .ml-solutions-banner__categories {
    padding-top: 2rem;
    padding-inline: 0;
  }

  .ml-home .ml-solutions-banner__categories .ml-categories-test__tabs {
    order: -1;
    flex-wrap: nowrap;
    gap: 0.25rem;
    padding: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ml-home .ml-solutions-banner__categories .ml-featured-products__tab {
    flex: 0 0 auto;
    padding: 0.65rem 1rem;
  }

  .ml-home .ml-solutions-banner__viewport {
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }

  .ml-home .ml-solutions-banner__track {
    display: flex;
    align-items: stretch;
    grid-template-columns: none;
    width: 100%;
    padding-inline: 0;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    cursor: grab;
  }

  .ml-home .ml-solutions-banner__track .ml-category-card {
    width: auto;
    flex: 0 0 calc((100% - 1rem) / 2);
    scroll-snap-align: start;
  }

  .ml-home .ml-solutions-banner .ml-featured-products__controls,
  .ml-home .ml-solutions-banner__viewport > .ml-featured-products__arrows {
    display: none !important;
  }

  .ml-home .ml-solutions-banner__viewport {
    --solutions-arrow-gutter: 2.75rem;
  }

  .ml-home .ml-solutions-banner__track .ml-category-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .ml-home .ml-solutions-banner__media {
    min-height: 0;
    aspect-ratio: 1086 / 620;
  }

  .ml-home .ml-solutions-banner__media img {
    object-fit: contain;
  }
}

@media (max-width: 640px) {
  .ml-home .ml-line-content--static {
    padding-inline: 0;
  }

  .ml-home .ml-solutions-banner__subtitle {
    --ml-type-body-m-size: 1rem;
    font-size: var(--ml-type-body-m-size);
  }

  .ml-home .ml-solutions-banner__copy {
    padding: 1.5rem 0 0.75rem;
  }

  .ml-home .ml-solutions-banner__media {
    min-height: 13.5rem;
  }

  .ml-home .ml-solutions-banner__categories {
    padding: 2rem 0 1rem;
  }

  .ml-home .ml-solutions-banner__categories .ml-categories-test__tabs {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .ml-home .ml-solutions-banner__categories .ml-featured-products__tab {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 0.5rem;
    white-space: nowrap;
    overflow-wrap: normal;
    line-height: 1.2;
  }

  .ml-home .ml-solutions-banner__categories .ml-featured-products__tab.is-active {
    flex: 0 0 auto;
    width: max-content;
    padding-inline: 0.875rem;
  }

  .ml-home .ml-solutions-banner__viewport {
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }

  .ml-home .ml-solutions-banner__track .ml-category-card {
    width: auto;
    flex: 0 0 min(64%, 13.75rem);
  }

  .ml-home .ml-solutions-banner__track.ml-categories-test__grid {
    width: calc(100% + 1rem);
    gap: 0.5rem;
    padding-right: 1rem;
  }
}

/* Featured lines follow the same stacked story + horizontal rail pattern on tablet. */
@media (max-width: 980px) {
  .ml-home .ml-featured__story {
    display: flex !important;
    min-height: 0;
    flex-direction: column;
    gap: 0;
  }

  .ml-home .ml-featured__media {
    position: relative !important;
    order: 0 !important;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .ml-home .ml-featured__copy {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .ml-home .ml-featured .ml-products-block,
  .ml-home .ml-featured .ml-line-content--static {
    margin-top: 2rem;
    padding-top: 0;
    padding-inline: 0;
  }

  .ml-home .ml-featured .ml-product-grid,
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies {
    display: flex;
    width: 100%;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ml-home .ml-featured .ml-product-grid::-webkit-scrollbar,
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies::-webkit-scrollbar {
    display: none;
  }

  .ml-home .ml-featured .ml-product-grid .ml-product-card,
  .ml-home .ml-featured .ml-product-grid .ml-product-skeleton,
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card {
    max-width: none;
    flex: 0 0 calc((100% - 3rem) / 4);
    box-sizing: border-box;
    scroll-snap-align: start;
  }
}

@media (max-width: 900px) {
  .ml-home .ml-featured .ml-product-grid .ml-product-card,
  .ml-home .ml-featured .ml-product-grid .ml-product-skeleton,
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (max-width: 640px) {
  .ml-home .ml-featured__media {
    aspect-ratio: 1.15;
  }

  .ml-home .ml-featured__copy {
    padding: 0 1rem;
  }

  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies {
    gap: 0.5rem;
  }

  .ml-home .ml-featured .ml-product-grid,
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies {
    width: calc(100% + 1rem);
    padding-right: 1rem;
    scroll-padding-inline: 0;
  }

  .ml-home .ml-featured .ml-product-grid .ml-product-card,
  .ml-home .ml-featured .ml-product-grid .ml-product-skeleton,
  .ml-home .ml-featured[data-content-mode="static"] .ml-line-subfamilies .ml-category-card {
    flex-basis: min(64%, 13.75rem);
  }
}

/* Solutions banner · side entrance + cards L→R (replayable, slower) */
.ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-solutions-banner__copy,
.ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-solutions-banner__media,
.ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-solutions-banner__categories .ml-featured-products__tabs,
.ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-category-card {
  transition:
    opacity 1.15s ease,
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
}

.ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-solutions-banner__copy {
  opacity: 0;
  transform: translate3d(-4.5rem, 0, 0);
}

.ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-solutions-banner__media {
  opacity: 0;
  transform: translate3d(4.5rem, 0, 0);
}

.ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-solutions-banner__categories .ml-featured-products__tabs {
  opacity: 0;
  transform: translate3d(0, 1.1rem, 0);
}

.ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-category-card {
  opacity: 0;
  transform: translate3d(-2.75rem, 0, 0);
}

.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-visible .ml-solutions-banner__copy,
.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-visible .ml-solutions-banner__media,
.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-visible .ml-solutions-banner__categories .ml-featured-products__tabs,
.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-visible .ml-category-card {
  opacity: 1;
  transform: none;
}

.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-visible .ml-solutions-banner__copy {
  transition-delay: 0ms;
}

.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-visible .ml-solutions-banner__media {
  transition-delay: 0ms;
}

.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-visible .ml-solutions-banner__categories .ml-featured-products__tabs {
  transition-delay: 320ms;
}

.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-visible .ml-category-card {
  transition-delay: calc(480ms + var(--motion-order, 0) * 160ms);
}

.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-settled .ml-category-card,
.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-settled .ml-solutions-banner__media,
.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-settled .ml-solutions-banner__copy,
.ml-home .ml-solutions-banner.ml-solutions-motion-ready.is-motion-settled .ml-solutions-banner__categories .ml-featured-products__tabs {
  transition-delay: 0ms;
}

.ml-home .ml-solutions-banner .ml-categories-test__grid.is-cards-refreshing .ml-category-card {
  opacity: 0;
  transform: translate3d(-2.5rem, 0, 0);
  transition: none;
}

.ml-home .ml-solutions-banner .ml-categories-test__grid.is-cards-refreshing.is-cards-visible .ml-category-card {
  opacity: 1;
  transform: none;
  transition:
    opacity 1s ease,
    transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease;
  transition-delay: calc(var(--motion-order, 0) * 150ms);
}

@media (max-width: 900px) {
  .ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-solutions-banner__copy {
    transform: translate3d(-3rem, 0, 0);
  }

  .ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-solutions-banner__media {
    transform: translate3d(3rem, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-solutions-banner__copy,
  .ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-solutions-banner__media,
  .ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-solutions-banner__categories .ml-featured-products__tabs,
  .ml-home .ml-solutions-banner.ml-solutions-motion-ready .ml-category-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Featured products · same title entrance as soluciones */
.ml-home .ml-featured-products.ml-featured-products-motion-ready .ml-featured-products__heading-copy,
.ml-home .ml-featured-products.ml-featured-products-motion-ready .ml-featured-products__view-all,
.ml-home .ml-featured-products.ml-featured-products-motion-ready .ml-product-card {
  transition:
    opacity 1.15s ease,
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
}

.ml-home .ml-featured-products.ml-featured-products-motion-ready .ml-featured-products__heading-copy {
  opacity: 0;
  transform: translate3d(-4.5rem, 0, 0);
}

.ml-home .ml-featured-products.ml-featured-products-motion-ready .ml-featured-products__view-all {
  opacity: 0;
  transform: translate3d(4.5rem, 0, 0);
}

.ml-home .ml-featured-products.ml-featured-products-motion-ready .ml-product-card {
  opacity: 0;
  transform: translate3d(-2.75rem, 0, 0);
}

.ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-visible .ml-featured-products__heading-copy,
.ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-visible .ml-featured-products__view-all,
.ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-visible .ml-product-card {
  opacity: 1;
  transform: none;
}

.ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-visible .ml-featured-products__heading-copy {
  transition-delay: 0ms;
}

.ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-visible .ml-featured-products__view-all {
  transition-delay: 160ms;
}

.ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-visible .ml-product-card {
  transition:
    opacity 0.75s ease,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(480ms + min(6, var(--motion-order, 0)) * 120ms);
}

.ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-settled .ml-featured-products__heading-copy,
.ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-settled .ml-featured-products__view-all,
.ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-settled .ml-product-card {
  transition-delay: 0ms;
}

.ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-settled .ml-featured-products__view-all {
  transition: color 0.25s, transform 0.25s;
}

.ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-settled .ml-product-card {
  transition: transform 0.25s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

@media (max-width: 900px) {
  .ml-home .ml-featured-products.ml-featured-products-motion-ready .ml-featured-products__heading-copy {
    transform: translate3d(-3rem, 0, 0);
  }

  .ml-home .ml-featured-products.ml-featured-products-motion-ready .ml-featured-products__view-all {
    transform: translate3d(3rem, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-featured-products.ml-featured-products-motion-ready .ml-featured-products__heading-copy,
  .ml-home .ml-featured-products.ml-featured-products-motion-ready .ml-featured-products__view-all,
  .ml-home .ml-featured-products.ml-featured-products-motion-ready .ml-product-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* News · same title entrance as productos destacados */
.ml-home .ml-news.ml-news-motion-ready .ml-news__heading-copy,
.ml-home .ml-news.ml-news-motion-ready .ml-news__view-all,
.ml-home .ml-news.ml-news-motion-ready .ml-news-card {
  transition:
    opacity 1.15s ease,
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
}

.ml-home .ml-news.ml-news-motion-ready .ml-news__heading-copy {
  opacity: 0;
  transform: translate3d(-4.5rem, 0, 0);
}

.ml-home .ml-news.ml-news-motion-ready .ml-news__view-all {
  opacity: 0;
  transform: translate3d(4.5rem, 0, 0);
}

.ml-home .ml-news.ml-news-motion-ready .ml-news-card {
  opacity: 0;
  transform: translate3d(-2.75rem, 0, 0);
}

.ml-home .ml-news.ml-news-motion-ready.is-motion-visible .ml-news__heading-copy,
.ml-home .ml-news.ml-news-motion-ready.is-motion-visible .ml-news__view-all,
.ml-home .ml-news.ml-news-motion-ready.is-motion-visible .ml-news-card {
  opacity: 1;
  transform: none;
}

.ml-home .ml-news.ml-news-motion-ready.is-motion-visible .ml-news__heading-copy {
  transition-delay: 0ms;
}

.ml-home .ml-news.ml-news-motion-ready.is-motion-visible .ml-news__view-all {
  transition-delay: 160ms;
}

.ml-home .ml-news.ml-news-motion-ready.is-motion-visible .ml-news-card {
  transition:
    opacity 0.75s ease,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(480ms + var(--motion-order, 0) * 120ms);
}

.ml-home .ml-news.ml-news-motion-ready.is-motion-settled .ml-news__heading-copy,
.ml-home .ml-news.ml-news-motion-ready.is-motion-settled .ml-news__view-all,
.ml-home .ml-news.ml-news-motion-ready.is-motion-settled .ml-news-card {
  transition-delay: 0ms;
}

.ml-home .ml-news.ml-news-motion-ready.is-motion-settled .ml-news__view-all {
  transition: color 0.25s, transform 0.25s;
}

.ml-home .ml-news.ml-news-motion-ready.is-motion-settled .ml-news-card {
  transition: transform 0.25s ease;
}

@media (max-width: 900px) {
  .ml-home .ml-news.ml-news-motion-ready .ml-news__heading-copy {
    transform: translate3d(-3rem, 0, 0);
  }

  .ml-home .ml-news.ml-news-motion-ready .ml-news__view-all {
    transform: translate3d(3rem, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-news.ml-news-motion-ready .ml-news__heading-copy,
  .ml-home .ml-news.ml-news-motion-ready .ml-news__view-all,
  .ml-home .ml-news.ml-news-motion-ready .ml-news-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* FAQ · same side entrance as the rest of the page */
.ml-home .ml-conversion {
  overflow: hidden;
}

.ml-home .ml-conversion.ml-faq-motion-ready .ml-conversion__intro,
.ml-home .ml-conversion.ml-faq-motion-ready .ml-faq__item {
  transition:
    opacity 1.15s ease,
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
}

.ml-home .ml-conversion.ml-faq-motion-ready .ml-conversion__intro {
  opacity: 0;
  transform: translate3d(-4.5rem, 0, 0);
}

.ml-home .ml-conversion.ml-faq-motion-ready .ml-faq__item {
  opacity: 0;
  transform: translate3d(-2.75rem, 0, 0);
}

.ml-home .ml-conversion.ml-faq-motion-ready.is-motion-visible .ml-conversion__intro,
.ml-home .ml-conversion.ml-faq-motion-ready.is-motion-visible .ml-faq__item {
  opacity: 1;
  transform: none;
}

.ml-home .ml-conversion.ml-faq-motion-ready.is-motion-visible .ml-conversion__intro {
  transition-delay: 0ms;
}

.ml-home .ml-conversion.ml-faq-motion-ready.is-motion-visible .ml-faq__item {
  transition:
    opacity 0.75s ease,
    transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(480ms + var(--motion-order, 0) * 120ms);
}

.ml-home .ml-conversion.ml-faq-motion-ready.is-motion-settled .ml-conversion__intro,
.ml-home .ml-conversion.ml-faq-motion-ready.is-motion-settled .ml-faq__item {
  transition-delay: 0ms;
}

@media (max-width: 900px) {
  .ml-home .ml-conversion.ml-faq-motion-ready .ml-conversion__intro {
    transform: translate3d(-3rem, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-conversion.ml-faq-motion-ready .ml-conversion__intro,
  .ml-home .ml-conversion.ml-faq-motion-ready .ml-faq__item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Newsletter copy · same side entrance. The CTA keeps the canonical primary-button response. */
.ml-home .ml-newsletter-banner.ml-newsletter-motion-ready .ml-newsletter-banner__copy {
  transition:
    opacity 1.15s ease,
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
}

.ml-home .ml-newsletter-banner.ml-newsletter-motion-ready .ml-newsletter-banner__copy {
  opacity: 0;
  transform: translate3d(-4.5rem, 0, 0);
}

.ml-home .ml-newsletter-banner.ml-newsletter-motion-ready.is-motion-visible .ml-newsletter-banner__copy {
  opacity: 1;
  transform: none;
}

.ml-home .ml-newsletter-banner.ml-newsletter-motion-ready.is-motion-visible .ml-newsletter-banner__copy {
  transition-delay: 0ms;
}

.ml-home .ml-newsletter-banner.ml-newsletter-motion-ready.is-motion-settled .ml-newsletter-banner__copy {
  transition-delay: 0ms;
}

@media (max-width: 900px) {
  .ml-home .ml-newsletter-banner.ml-newsletter-motion-ready .ml-newsletter-banner__copy {
    transform: translate3d(-3rem, 0, 0);
  }
}

@media (max-width: 640px) {
  .ml-home .ml-newsletter-banner.ml-newsletter-motion-ready .ml-newsletter-banner__copy {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ml-home .ml-newsletter-banner.ml-newsletter-motion-ready .ml-newsletter-banner__copy {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Keep the shared button lift after section entrance animations settle. */
@media (hover: hover) and (pointer: fine) {
  .ml-home .ml-project-lines-concept.ml-motion-ready.is-motion-visible
    .ml-project-lines-concept__explore:hover,
  .ml-home .ml-featured-products.ml-featured-products-motion-ready.is-motion-visible
    .ml-featured-products__view-all:hover,
  .ml-home .ml-news.ml-news-motion-ready.is-motion-visible
    .ml-news__view-all:hover {
    transform: translateY(-2px);
    transition-duration: 0.25s;
    transition-delay: 0ms;
    transition-timing-function: ease;
  }
}

/* Hero stays put; luminarias rises over the video */
.ml-hero-overlap {
  position: relative;
}

.ml-hero-overlap > .ml-hero {
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
}

.ml-hero-overlap .ml-project-lines-concept {
  position: relative;
  z-index: 1;
  border-radius: 0;
  box-shadow: 0 -1.5rem 3.75rem rgba(0, 0, 0, 0.42);
}

@media (max-width: 990px) {
  .ml-hero-overlap > .ml-hero {
    position: relative;
  }

  .ml-hero-overlap .ml-project-lines-concept {
    box-shadow: none;
  }
}

@media (min-width: 901px) and (max-width: 1600px) {
  .ml-home .ml-project-lines-concept {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    height: 100vh;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    padding: 2.75rem clamp(2rem, 4.5vw, 3.25rem) 3.25rem;
    overflow: hidden;
  }

  .ml-home .ml-project-lines-concept__inner {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3.5rem;
    padding-inline: 1.35rem;
    box-sizing: border-box;
  }

  .ml-home .ml-project-lines-concept__header {
    flex: 0 0 auto;
    gap: 1.5rem;
  }

  .ml-home .ml-project-lines-concept__header #ml-project-lines-concept-title {
    font-size: clamp(2.15rem, 2.8vw, 2.55rem);
  }

  .ml-home .ml-hero__copy {
    padding-left: 1.35rem;
  }

  .ml-home .ml-project-lines-concept__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
    flex: 0 1 auto;
    gap: 0.85rem;
    width: 100%;
    height: 90%;
    max-height: calc(100% - 9.25rem);
    min-height: 0;
    align-self: stretch;
  }

  .ml-home .ml-project-lines-concept__card {
    min-height: 0;
    height: 100%;
  }

  .ml-home .ml-project-lines-concept__content {
    inset: 1.15rem;
    gap: 0.75rem;
  }

  .ml-home .ml-project-lines-concept__arrow {
    font-size: 1.45rem;
  }

  .ml-home .ml-project-lines-concept__content p {
    font-size: 0.9rem;
  }
}

/* Stable framing for intermediate desktop widths, independent of viewport height. */
@media (min-width: 901px) and (max-width: 1599px) {
  .ml-home .ml-project-lines-concept {
    height: auto !important;
    min-height: 100svh !important;
    max-height: none !important;
  }

  .ml-home .ml-project-lines-concept__inner {
    height: auto !important;
    min-height: 0;
  }

  .ml-home .ml-project-lines-concept__cards {
    height: clamp(27rem, 38vw, 35rem) !important;
    max-height: none !important;
  }

}

/* Keep the sheet animation and nav spacing; let content determine its height. */
.ml-home .ml-project-lines-concept {
  --ml-project-lines-nav-height: 69.8px;
  --ml-project-lines-content-offset: clamp(1.5rem, 4vw, 5rem);
  display: flex;
  box-sizing: border-box;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex-direction: column;
  padding-top: calc(
    var(--ml-project-lines-nav-height) + var(--ml-project-lines-content-offset)
  ) !important;
  padding-right: 0 !important;
  padding-bottom: calc(
    var(--ml-project-lines-nav-height) + var(--ml-project-lines-content-offset)
  ) !important;
  padding-left: 0 !important;
  overflow: hidden;
}

.ml-home .ml-project-lines-concept__inner {
  --ml-project-lines-content-gap: clamp(2rem, 3vw, 4rem);
  display: flex;
  height: auto !important;
  min-height: 0 !important;
  flex: 0 0 auto;
  flex-direction: column;
  gap: var(--ml-project-lines-content-gap);
}

.ml-home .ml-project-lines-concept__header {
  flex: 0 0 auto;
}

.ml-home .ml-project-lines-concept__cards {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 0 auto;
  grid-template-rows: auto;
  align-items: start;
}

.ml-home .ml-project-lines-concept__card {
  height: auto !important;
  aspect-ratio: 4 / 5;
  min-height: 0 !important;
  max-height: none;
}

@media (max-width: 991px) {
  .ml-home .ml-project-lines-concept {
    --ml-project-lines-nav-height: 63px;
  }
}

@media (min-width: 991px) {
  .ml-home .ml-project-lines-concept__inner {
    justify-content: flex-start;
  }
}

@media (max-width: 1600px) {
  .ml-home .ml-project-lines-concept__inner.ml-shell {
    width: min(100% - clamp(2rem, 8vw, 4rem), 1180px);
  }
}

@media (max-width: 990px) {
  .ml-home .ml-project-lines-concept {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .ml-home .ml-project-lines-concept__inner {
    height: auto !important;
    flex: none;
  }

  .ml-home .ml-project-lines-concept__cards {
    display: flex;
    width: calc(100% + 1rem);
    min-width: 0;
    flex: none;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 0.5rem;
    padding-right: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ml-home .ml-project-lines-concept__cards::-webkit-scrollbar {
    display: none;
  }

  .ml-home .ml-project-lines-concept__card {
    width: min(82vw, 20rem);
    height: auto !important;
    flex: 0 0 min(82vw, 20rem);
    scroll-snap-align: start;
  }

}

/* Subtle contextual background behind products at every viewport width. */
.ml-home .ml-project-lines-concept__ambient {
  opacity: 0.38;
  transform: scale(1);
}

.ml-home .ml-project-lines-concept__shade {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.46) 0%,
    rgba(0, 0, 0, 0.14) 48%,
    rgba(0, 0, 0, 0.42) 100%
  );
  opacity: 1;
}

@media (max-width: 900px) {
  .ml-home .ml-project-lines-concept__inner {
    gap: 0;
  }

  .ml-home .ml-project-lines-concept__cards {
    height: auto !important;
    flex: none;
    margin-top: var(--ml-project-lines-content-gap);
  }

  .ml-home .ml-project-lines-concept__explore {
    flex: 0 0 auto;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 0rem;
  }
}

/* Assistant widget */
body.assistant-open {
  overflow: hidden;
}
body.assistant-open .ai-launch {
  visibility: hidden;
  pointer-events: none;
}

.ai-launch,
.ai-backdrop,
.ai-panel {
  --brand: #00bdff;
  --ink: #16294f;
  --muted: #4f5a68;
  --line: #e6e6e6;
  --line-soft: #efefef;
  --bg-card: #efefef;
  --paper: #f5f5f5;
  --white: #fff;
  --radius-sm: 8px;
  --navy: #00152b;
  --btn-blue: #0077a8;
  --btn-blue-dark: #005f87;
  --tint: rgb(227, 242, 253);
  --tint-text: rgb(0, 110, 165);
  --focus-ring: 0 0 0 3px rgba(0, 189, 255, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --btn-dur: 0.2s;
  --font: "Noto Sans", sans-serif;
  box-sizing: border-box;
  font-family: var(--font);
}

.ai-launch *,
.ai-panel *,
.ai-backdrop * {
  box-sizing: border-box;
}

.ai-launch {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  left: auto;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 2147483645 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  height: 48px;
  padding: 8px 18px 8px 14px;
  border: none;
  border-radius: 999px;
  background: #00152b !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 0.85rem, 0);
  box-shadow: 0 12px 32px rgba(0, 21, 43, 0.28);
  transition:
    transform 0.45s var(--ease),
    opacity 0.4s var(--ease),
    background var(--btn-dur) var(--ease),
    box-shadow var(--btn-dur) var(--ease),
    visibility 0.4s,
    bottom 0.3s var(--ease);
  -webkit-font-smoothing: antialiased;
}

.ai-launch.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

.ai-launch.is-visible:hover {
  background: #021c38 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 21, 43, 0.34);
}

.ai-launch svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: #fff !important;
  stroke: #fff !important;
}

.ai-launch > span {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.ai-launch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 189, 255, 0.25);
  flex: none;
}

.ai-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483646 !important;
  background: rgba(6, 12, 22, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.ai-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.ai-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2147483647 !important;
  width: min(400px, 100%);
  height: 100%;
  background: var(--white);
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-weight: 400;
  transform: translateX(105%);
  transition: transform 0.3s var(--ease);
  box-shadow: -16px 0 48px rgba(0, 21, 43, 0.12);
  -webkit-font-smoothing: antialiased;
}

.ai-panel.is-open {
  transform: none;
}

.ai-panel * {
  font-family: inherit;
}

.ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 26px 18px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #fff;
}

.ai-head-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ai-avatar {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #00152b;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 21, 43, 0.22);
}

.ai-avatar svg {
  display: block;
  color: #fff;
  stroke: #fff;
}

.ai-avatar-online {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
}

.ai-head-copy h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.2px;
  line-height: 1.15;
}

.ai-head-sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.35;
}

.ai-close {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: none;
}

.ai-close:hover {
  background: var(--bg-card);
  color: var(--navy);
}

.ai-messages {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-msg {
  min-width: 0;
  max-width: 92%;
  font-size: 13.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ai-msg.bot {
  align-self: flex-start;
}

.ai-msg.user {
  align-self: flex-end;
}

.ai-bubble {
  padding: 12px 14px;
  border-radius: 12px;
  overflow-wrap: anywhere;
  word-break: break-word;
  overflow-x: hidden;
  max-width: 100%;
}

.ai-msg.bot .ai-bubble {
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px 12px 12px 12px;
}

.ai-msg.user .ai-bubble {
  background: var(--navy);
  color: #fff;
  border-radius: 12px 12px 4px 12px;
}

.ai-msg a {
  color: var(--btn-blue);
  font-weight: 600;
  text-decoration: underline;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ai-msg.user a {
  color: #9fe0ff;
}

.ai-typing {
  display: none;
  align-self: flex-start;
  gap: 4px;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 4px 12px 12px 12px;
  margin: 0 20px 8px;
}

.ai-typing.is-on {
  display: flex;
}

.ai-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b0b8c4;
  animation: aiDot 1s infinite ease-in-out;
}

.ai-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.ai-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes aiDot {
  0%,
  80%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

.ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 12px;
}

.ai-chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition:
    background var(--btn-dur) var(--ease),
    border-color var(--btn-dur) var(--ease),
    color var(--btn-dur) var(--ease);
}

.ai-chip:hover {
  border-color: var(--tint-text);
  background: var(--tint);
  color: var(--tint-text);
}

.ai-form {
  display: flex;
  gap: 8px;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--line-soft);
  background: var(--white);
}

.ai-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--ink);
}

.ai-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: var(--focus-ring);
}

.ai-send {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--btn-blue);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex: none;
}

.ai-send:hover {
  background: var(--btn-blue-dark);
}

.ai-send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .ai-launch {
    width: 56px;
    height: 56px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .ai-launch svg {
    width: 24px;
    height: 24px;
  }

  .ai-launch > span:not(.ai-launch-dot) {
    display: none;
  }

  .ai-launch-dot {
    display: block;
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    background: #22c55e;
    box-shadow: none;
  }

  .ai-panel {
    width: 100%;
  }

  .ai-head-copy h2 {
    font-size: 20px;
  }

  .ai-head-sub {
    font-size: 15px;
  }

  .ai-head {
    padding: 24px 16px 14px;
  }

  .ai-avatar {
    width: 48px;
    height: 48px;
  }

  .ai-form {
    padding: 12px 14px max(14px, env(safe-area-inset-bottom));
  }

  .ai-form input,
  .ai-form input:focus {
    font-size: 16px !important;
  }
}


/* Preserve the 1920px product framing at every width: cards share a 4:5 ratio.
   Percentages refer to the card, not the viewport. Keep transform free for hover. */
.ml-home .ml-project-lines-concept__product {
  right: var(--ml-project-product-right, -24%) !important;
  bottom: var(--ml-project-product-bottom, -10%) !important;
  width: var(--ml-project-product-width, 112%) !important;
  height: var(--ml-project-product-height, 78%) !important;
  max-width: none !important;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: right bottom !important;
  transform-origin: right bottom;
  scale: 1;
  translate: none !important;
}

.ml-home [data-project-lines-concept-card="invictus"] {
  --ml-project-product-right: -40%;
  --ml-project-product-bottom: -16%;
  --ml-project-product-width: 140%;
  --ml-project-product-height: 78%;
}

.ml-home [data-project-lines-concept-card="highbay"] {
  --ml-project-product-right: -35%;
  --ml-project-product-bottom: -20%;
  --ml-project-product-width: 145%;
  --ml-project-product-height: 82%;
}

@media (max-width: 640px) {
  .ai-launch,
  .ai-panel .ai-chip {
    --ml-type-button-size: 0.875rem;
    font-size: var(--ml-type-button-size);
  }
}
