/* SOLINEX · Carruseles dinámicos y vitrina de marcas */

/* Diapositivas comunes */
.sx-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.sx-slide.is-on { opacity: 1; }
.sx-slide > img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }
.sx-static { transition: opacity .9s ease; }
.sx-static.is-off { opacity: 0; }

/* Equipos sobre fondo claro (tarjetas) */
.sx-slide--prod { background: radial-gradient(circle at 50% 42%, #ffffff 0%, #eef3f9 58%, #d9e3f0 100%); }
.sx-slide--prod > img { object-fit: contain; padding: 6% 4% 30% 36%; box-sizing: border-box; mix-blend-mode: multiply; }

/* Logo de la marca: grande, sobre placa blanca */
.sx-badge { position: absolute; z-index: 3; top: 14px; left: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  background: #fff; border-radius: 10px; padding: 9px 13px; box-shadow: 0 8px 22px rgba(11, 30, 63, .22); max-width: calc(100% - 28px); }
.sx-badge img { position: static !important; display: block; width: auto !important; height: 30px !important; max-width: 180px !important;
  object-fit: contain; transform: none !important; inset: auto !important; }
.sx-badge__cap { font-family: "DM Sans", system-ui, sans-serif; font-weight: 600; font-size: 12px; line-height: 1.25; color: #0B1E3F; }
.area-card:hover .area-card-image .sx-badge img { transform: none !important; }

/* Portadas de cada área: capa de fondo con fotos que rotan */
.sx-hero-car { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.sx-hero-car .sx-slide--prod > img { object-position: right center; padding: 10% 5% 14% 50%; }
.sx-hero-car .sx-badge { top: auto; left: auto; right: clamp(16px, 3vw, 40px); bottom: clamp(70px, 9vw, 96px); padding: 12px 18px; }
.sx-hero-car .sx-badge img { height: 48px !important; max-width: 240px !important; }
.sx-hero-car .sx-badge__cap { font-size: 14px; }
@media (max-width: 719px) {
  .sx-hero-car .sx-badge { bottom: auto; top: 14px; right: 14px; padding: 8px 12px; }
  .sx-hero-car .sx-badge img { height: 30px !important; max-width: 150px !important; }
  .sx-hero-car .sx-badge__cap { display: none; }
  .sx-hero-car .sx-slide--prod > img { object-position: center 25%; padding: 18% 8% 50%; }
}
/* Velo para portadas que no traen uno propio */
.sx-hero-car--velo::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(11,30,63,.92) 0%, rgba(11,30,63,.75) 40%, rgba(11,30,63,.25) 75%, rgba(11,30,63,.1) 100%); }
@media (max-width: 719px) { .sx-hero-car--velo::after { background: linear-gradient(0deg, rgba(11,30,63,.95) 20%, rgba(11,30,63,.6) 100%); } }
.sx-tec-hero > div:not(.sx-hero-car) { position: relative; z-index: 1; }
/* Sliders existentes de Minería y Legal: compensa su filtro de brillo */
.min-slide-bg > .sx-hero-car, .leg-slide-bg > .sx-hero-car { filter: brightness(.8); }
.min-slide-title, .leg-slide-title { color: #fff !important; text-shadow: 0 2px 18px rgba(11, 30, 63, .35); }

/* Vitrina de marcas (Laboratorio) */
.sx-marcas { padding: 72px 0 64px; background: linear-gradient(180deg, #F7F9FC 0%, #fff 100%); }
.sx-marcas__head { display: grid; gap: 8px 48px; margin-bottom: 28px; }
@media (min-width: 900px) { .sx-marcas__head { grid-template-columns: auto 1fr; align-items: end; } }
.sx-marcas__head h2 { font-family: "Outfit", system-ui, sans-serif; font-weight: 700; color: #0B1E3F; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.015em; margin: 0; }
.sx-marcas__head p { margin: 0; color: #4A5468; max-width: 56ch; }
.sx-spot { position: relative; min-height: 360px; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid #E4E8ED; box-shadow: 0 20px 50px rgba(11, 30, 63, .10); }
.sx-spot__item { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; align-items: center; gap: 12px; padding: 28px; text-decoration: none; color: inherit;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.sx-spot__item.is-on { opacity: 1; visibility: visible; }
@media (min-width: 800px) { .sx-spot__item { grid-template-columns: 5fr 7fr; padding: 40px 56px; gap: 40px; } }
.sx-spot__logo img { display: block; height: 72px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
@media (min-width: 800px) { .sx-spot__logo img { height: 96px; } }
.sx-spot__txt { display: grid; gap: 6px; margin-top: 18px; }
.sx-spot__txt strong { font-family: "Outfit", system-ui, sans-serif; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; color: #0B1E3F; }
.sx-spot__txt span { color: #1F4F8B; font-weight: 600; }
.sx-spot__txt span::after { content: " \2192"; }
.sx-spot__img { display: block; height: 200px; background: radial-gradient(circle at 50% 50%, #fff 0%, #eef3f9 70%); border-radius: 14px; }
@media (min-width: 800px) { .sx-spot__img { height: 300px; } }
.sx-spot__img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; box-sizing: border-box; }
.sx-spot__item:hover .sx-spot__txt span { text-decoration: underline; }
@media (max-width: 799px) { .sx-spot { min-height: 470px; } }
.sx-logos { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .sx-logos { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .sx-logos { grid-template-columns: repeat(7, 1fr); } }
.sx-logos a { display: grid; place-items: center; height: 88px; padding: 14px; background: #fff; border: 1px solid #E4E8ED; border-radius: 12px; transition: border-color .2s ease, box-shadow .2s ease; }
.sx-logos a:hover { border-color: #85B7EB; box-shadow: 0 6px 18px rgba(11,30,63,.10); }
.sx-logos img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
  .sx-slide, .sx-static, .sx-spot__item { transition: none; }
}

/* Marcas sin archivo de logo: nombre en tipografía de marca */
.sx-wordmark { display: inline-block; font-family: "Outfit", system-ui, sans-serif; font-weight: 800; font-size: 20px; line-height: 1.1; letter-spacing: -.01em; color: #0B1E3F; white-space: nowrap; }
.sx-badge .sx-wordmark { font-size: 18px; }
.sx-spot__logo .sx-wordmark { font-size: clamp(30px, 4vw, 46px); }

/* Cinta de logos en movimiento */
.sx-marquee { margin-top: 28px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sx-marquee__track { display: flex; gap: 12px; width: max-content; list-style: none; margin: 0; padding: 0; animation: sxMarquee 70s linear infinite; }
.sx-marquee:hover .sx-marquee__track { animation-play-state: paused; }
.sx-marquee__track li a, .sx-marquee__track li > span { display: grid; place-items: center; width: 176px; height: 84px; padding: 12px 16px; background: #fff; border: 1px solid #E4E8ED; border-radius: 12px; text-decoration: none; }
.sx-marquee__track a:hover { border-color: #85B7EB; }
.sx-marquee__logo img { max-height: 46px; max-width: 140px; width: auto; object-fit: contain; display: block; }
.sx-marquee__logo .sx-wordmark { font-size: 17px; }
@keyframes sxMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .sx-marquee__track { animation: none; flex-wrap: wrap; width: auto; } .sx-marquee { mask-image: none; } }
.sx-spot__img img { mix-blend-mode: multiply; }

/* Soluciones para minería */
.sx-sol { padding: 80px 0; background: #fff; }
.sx-sol__head { max-width: 760px; margin-bottom: 36px; }
.sx-sol__head h2 { font-family: "Outfit", system-ui, sans-serif; font-weight: 700; color: #0B1E3F; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 12px; }
.sx-sol__head p { margin: 0; color: #4A5468; font-size: 17px; line-height: 1.6; }
.sx-sol__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .sx-sol__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .sx-sol__grid { grid-template-columns: repeat(3, 1fr); } }
.sx-sol__card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E4E8ED; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 8px rgba(11,30,63,.06); }
.sx-sol__media { position: relative; aspect-ratio: 16 / 9; background: #0B1E3F; overflow: hidden; }
.sx-sol__media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-sol__media--prod { background: radial-gradient(circle at 50% 45%, #fff 0%, #eef3f9 60%, #d9e3f0 100%); }
.sx-sol__media--prod > img { object-fit: contain; padding: 14px 18px; box-sizing: border-box; mix-blend-mode: multiply; }
.sx-sol__marca { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; background: #fff; border-radius: 10px; padding: 7px 11px; box-shadow: 0 6px 16px rgba(11,30,63,.2); }
.sx-sol__marca img { height: 26px; width: auto; max-width: 150px; display: block; }
.sx-sol__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 24px; flex: 1; }
.sx-sol__body h3 { font-family: "Outfit", system-ui, sans-serif; font-weight: 700; color: #0B1E3F; font-size: 21px; line-height: 1.2; margin: 0; }
.sx-sol__body dl { margin: 0; display: grid; gap: 10px; }
.sx-sol__body dt { font-weight: 700; color: #1F4F8B; font-size: 13px; margin: 0; }
.sx-sol__body dd { margin: 2px 0 0; color: #2F3847; font-size: 15px; line-height: 1.55; }
.sx-sol__acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.sx-sol__acciones a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 8px; font-weight: 600; font-size: 15px; text-decoration: none; }
.sx-sol__wa { background: #1E7A5F; color: #fff !important; }
.sx-sol__wa:hover { background: #17604B; }
.sx-sol__ver { color: #1F4F8B !important; border: 1.5px solid #CDD3DC; }
.sx-sol__ver:hover { border-color: #1F4F8B; }
.sx-sol__cierre { margin-top: 32px; display: grid; gap: 16px; align-items: center; padding: 28px; border-radius: 16px; background: #0B1E3F; color: #fff; }
@media (min-width: 860px) { .sx-sol__cierre { grid-template-columns: 1fr auto; padding: 32px 40px; } }
.sx-sol__cierre p { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.88); }
.sx-sol__cierre strong { display: block; font-family: "Outfit", system-ui, sans-serif; font-size: 22px; color: #fff; margin-bottom: 4px; }
.sx-sol__cierre .sx-sol__acciones { margin: 0; padding: 0; }
.sx-sol__cierre .sx-sol__ver { color: #fff !important; border-color: rgba(255,255,255,.5); }
.sx-sol__aviso { margin: 14px 0 0; font-size: 13px; color: #6B7689; }
.sx-sol-banner { margin-top: 28px; display: grid; gap: 12px; align-items: center; padding: 22px 26px; border-radius: 14px; background: linear-gradient(90deg, #0B1E3F, #1F4F8B); color: #fff; text-decoration: none; }
@media (min-width: 760px) { .sx-sol-banner { grid-template-columns: 1fr auto; } }
.sx-sol-banner strong { font-family: "Outfit", system-ui, sans-serif; font-size: 20px; display: block; }
.sx-sol-banner span { color: rgba(255,255,255,.85); }
.sx-sol-banner em { font-style: normal; font-weight: 600; background: #fff; color: #0B1E3F; padding: 10px 16px; border-radius: 8px; }
