/* =========================================================
   YUPANIX.CSS LIMPIO
   Identidad visual Yupanix sobre plantilla Silicon
   Paleta: azul marino + cobre
========================================================= */

:root {
  --ypx-primary: #0A1A2F;
  --ypx-primary-2: #102A46;
  --ypx-primary-3: #071220;
  --ypx-accent: #C67B4D;
  --ypx-accent-dark: #A96339;
  --ypx-accent-light: #F4BE94;
  --ypx-bg: #F8F6F2;
  --ypx-card: #FFFFFF;
  --ypx-text: #0B172A;
  --ypx-muted: #64748B;
  --ypx-border: #E5E0D8;
  --ypx-success: #22C55E;
}

/* ==============================
   BASE
============================== */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--ypx-bg);
  color: var(--ypx-text);
  padding-top: 76px;
  overflow-x: hidden;
}

a {
  transition: all 0.2s ease;
}

a:hover {
  color: var(--ypx-accent);
}

section[id] {
  scroll-margin-top: 110px;
}

.text-primary,
a.text-primary,
.nav-link.text-primary {
  color: var(--ypx-accent) !important;
}

.bg-primary,
.badge.bg-primary,
.btn-icon.btn-primary {
  background-color: var(--ypx-accent) !important;
  border-color: var(--ypx-accent) !important;
}

.bg-secondary {
  background-color: var(--ypx-bg) !important;
}

.shadow-primary {
  box-shadow: 0 16px 36px rgba(198, 123, 77, 0.24) !important;
}

/* ==============================
   BOTONES
============================== */

.btn-ypx,
.btn-primary {
  background: linear-gradient(135deg, var(--ypx-accent), var(--ypx-accent-dark)) !important;
  border-color: var(--ypx-accent) !important;
  color: #fff !important;
  box-shadow: 0 16px 36px rgba(198, 123, 77, 0.24);
}

.btn-ypx:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #D28A5B, var(--ypx-accent-dark)) !important;
  border-color: var(--ypx-accent-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

.btn-outline-ypx,
.btn-outline-primary {
  border: 1px solid rgba(10, 26, 47, 0.22) !important;
  color: var(--ypx-primary) !important;
  background: transparent !important;
}

.btn-outline-ypx:hover,
.btn-outline-primary:hover {
  border-color: var(--ypx-primary) !important;
  background: var(--ypx-primary) !important;
  color: #fff !important;
}

.btn-lg,
.btn-sm,
.btn {
  font-weight: 700;
}

/* ==============================
   NAVBAR FINAL YUPANIX
   Compatible con las clases que ya has usado
============================== */

.ypx-navbar,
.ypx-navbar-clean,
.ypx-nav-silicon-real,
.ypx-silicon-navbar,
.ypx-navbar-pro {
  min-height: 76px !important;
  background: rgba(248, 246, 242, 0.98) !important;
  border-bottom: 1px solid rgba(10, 26, 47, 0.07) !important;
  box-shadow: 0 10px 35px rgba(10, 26, 47, 0.06) !important;
  backdrop-filter: blur(18px);
  z-index: 1090 !important;
}

.ypx-navbar .container,
.ypx-navbar-clean .container,
.ypx-nav-silicon-real .container,
.ypx-silicon-navbar .container,
.ypx-navbar-pro .container {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}

/* Marca */
.ypx-brand-clean,
.ypx-real-brand,
.ypx-silicon-brand,
.ypx-brand,
.ypx-navbar .navbar-brand,
.ypx-navbar-clean .navbar-brand,
.ypx-nav-silicon-real .navbar-brand,
.ypx-silicon-navbar .navbar-brand,
.ypx-navbar-pro .navbar-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.72rem !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
  min-width: auto !important;
  margin-right: 1rem !important;
}

.ypx-brand-icon,
.ypx-real-logo,
.ypx-silicon-brand-icon,
.ypx-real-brand .ypx-real-logo,
.ypx-brand-clean .ypx-brand-icon {
  width: 48px !important;
  height: 48px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 0.9rem !important;
  background: rgba(10, 26, 47, 0.04) !important;
  border: 1px solid rgba(10, 26, 47, 0.06) !important;
  box-shadow: 0 8px 24px rgba(10, 26, 47, 0.08) !important;
  flex: 0 0 48px !important;
}

.ypx-brand-icon img,
.ypx-real-logo img,
.ypx-silicon-brand-icon img,
.ypx-navbar .navbar-brand img,
.ypx-navbar-clean .navbar-brand img,
.ypx-nav-silicon-real .navbar-brand img,
.ypx-silicon-navbar .navbar-brand img,
.ypx-navbar-pro .navbar-brand img {
  width: 33px !important;
  height: 33px !important;
  max-height: 33px !important;
  object-fit: contain !important;
  padding: 0 !important;
  background: transparent !important;
}

.ypx-brand-text,
.ypx-real-brand-text,
.ypx-silicon-brand-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.05 !important;
}

.ypx-brand-text strong,
.ypx-real-brand-text strong,
.ypx-silicon-brand-text strong,
.ypx-brand-name {
  color: var(--ypx-primary) !important;
  font-size: 1.28rem !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em !important;
  line-height: 1.05 !important;
}

.ypx-brand-text small,
.ypx-real-brand-text small,
.ypx-silicon-brand-text small {
  color: var(--ypx-accent-dark) !important;
  font-size: 0.64rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-top: 0.16rem !important;
}

/* Links */
.ypx-navbar .navbar-nav,
.ypx-navbar-clean .navbar-nav,
.ypx-nav-silicon-real .navbar-nav,
.ypx-silicon-navbar .navbar-nav,
.ypx-navbar-pro .navbar-nav {
  align-items: center !important;
  gap: 0.1rem !important;
}

.ypx-navbar .nav-link,
.ypx-navbar-clean .nav-link,
.ypx-nav-silicon-real .nav-link,
.ypx-silicon-navbar .nav-link,
.ypx-navbar-pro .nav-link {
  color: #26364A !important;
  font-weight: 750 !important;
  white-space: nowrap !important;
  padding-left: 0.7rem !important;
  padding-right: 0.7rem !important;
}

.ypx-navbar .nav-link:hover,
.ypx-navbar-clean .nav-link:hover,
.ypx-nav-silicon-real .nav-link:hover,
.ypx-silicon-navbar .nav-link:hover,
.ypx-navbar-pro .nav-link:hover,
.ypx-navbar .nav-link.show,
.ypx-navbar-clean .nav-link.show,
.ypx-nav-silicon-real .nav-link.show,
.ypx-silicon-navbar .nav-link.show,
.ypx-navbar-pro .nav-link.show,
.ypx-navbar .nav-link.active,
.ypx-navbar-clean .nav-link.active,
.ypx-nav-silicon-real .nav-link.active,
.ypx-silicon-navbar .nav-link.active,
.ypx-navbar-pro .nav-link.active {
  color: var(--ypx-accent) !important;
}

.ypx-beta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.3rem;
  padding: 0.15rem 0.42rem;
  border-radius: 999px;
  background: rgba(10, 26, 47, 0.08);
  color: var(--ypx-primary);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* Botones derecha navbar */
.ypx-navbar-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.7rem !important;
  margin-left: auto !important;
  flex-shrink: 0 !important;
}

.ypx-navbar-actions .btn {
  white-space: nowrap !important;
}

/* Dropdowns */
.ypx-navbar .dropdown-menu,
.ypx-navbar-clean .dropdown-menu,
.ypx-nav-silicon-real .dropdown-menu,
.ypx-silicon-navbar .dropdown-menu,
.ypx-navbar-pro .dropdown-menu {
  border: 1px solid rgba(10, 26, 47, 0.08) !important;
  border-radius: 1rem !important;
  background: #fff !important;
  box-shadow: 0 24px 70px rgba(10, 26, 47, 0.14) !important;
  padding: 0.65rem !important;
  margin-top: 0.72rem !important;
}

.ypx-navbar .dropdown-item,
.ypx-navbar-clean .dropdown-item,
.ypx-nav-silicon-real .dropdown-item,
.ypx-silicon-navbar .dropdown-item,
.ypx-navbar-pro .dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #26364A !important;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 0.72rem 0.85rem !important;
}

.ypx-navbar .dropdown-item i,
.ypx-navbar-clean .dropdown-item i,
.ypx-nav-silicon-real .dropdown-item i,
.ypx-silicon-navbar .dropdown-item i,
.ypx-navbar-pro .dropdown-item i {
  color: var(--ypx-accent);
  font-size: 1.15rem;
}

.ypx-navbar .dropdown-item:hover,
.ypx-navbar-clean .dropdown-item:hover,
.ypx-nav-silicon-real .dropdown-item:hover,
.ypx-silicon-navbar .dropdown-item:hover,
.ypx-navbar-pro .dropdown-item:hover {
  background: rgba(198, 123, 77, 0.09) !important;
  color: var(--ypx-accent-dark) !important;
}

/* Mega menú */
.ypx-mega-menu-clean,
.ypx-mega-menu,
.ypx-menu-wide,
.ypx-silicon-mega {
  width: min(820px, calc(100vw - 2rem));
  overflow: hidden;
}

.ypx-mega-cover,
.ypx-mega-preview,
.ypx-silicon-mega-img,
.ypx-menu-image {
  width: 270px;
  min-height: 330px;
  flex: 0 0 270px;
  display: flex;
  align-items: flex-end;
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 18, 32, 0.1), rgba(7, 18, 32, 0.95)),
    radial-gradient(circle at 82% 18%, rgba(198, 123, 77, 0.42), transparent 36%),
    linear-gradient(135deg, var(--ypx-primary), var(--ypx-primary-2));
  background-size: cover;
  background-position: center;
  color: #fff;
}

.ypx-mega-cover-products,
.ypx-mega-preview-products {
  background-image:
    linear-gradient(180deg, rgba(7, 18, 32, 0.1), rgba(7, 18, 32, 0.95)),
    url("../img/landing/software-company/about-img-yupanix.jpg?v=1100");
}

.ypx-mega-cover-datalab,
.ypx-mega-preview-datalab {
  background-image:
    linear-gradient(180deg, rgba(7, 18, 32, 0.1), rgba(7, 18, 32, 0.95)),
    url("../img/landing/software-company/case-study02-yupanix.jpg?v=1100");
}

.ypx-mega-cover span,
.ypx-mega-preview span,
.ypx-silicon-mega-img span,
.ypx-menu-image span {
  display: inline-flex;
  color: var(--ypx-accent-light);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.ypx-mega-cover h3,
.ypx-mega-preview h3,
.ypx-silicon-mega-img h6,
.ypx-menu-image h6 {
  color: #fff;
  font-size: 1.28rem;
  line-height: 1.18;
  margin-bottom: 0.55rem;
}

.ypx-mega-cover p,
.ypx-mega-preview p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.ypx-mega-content,
.ypx-mega-column,
.ypx-silicon-mega-col {
  flex: 1;
  padding: 1.2rem;
}

.ypx-mega-content h6,
.ypx-mega-column h6,
.ypx-silicon-mega-col h6 {
  color: var(--ypx-primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  padding: 0 0.55rem;
}

.ypx-mega-item,
.ypx-mega-link {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.6rem !important;
  border-radius: 0.9rem;
  text-decoration: none;
  white-space: normal !important;
}

.ypx-mega-item:hover,
.ypx-mega-link:hover {
  background: rgba(198, 123, 77, 0.09) !important;
}

.ypx-mega-item i,
.ypx-mega-link i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 0.82rem;
  background: rgba(198, 123, 77, 0.12);
  color: var(--ypx-accent);
  font-size: 1.25rem;
}

.ypx-mega-item strong,
.ypx-mega-link strong {
  display: block;
  color: var(--ypx-primary);
  font-size: 0.93rem;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.ypx-mega-item small,
.ypx-mega-link small {
  display: block;
  color: var(--ypx-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.ypx-mega-item:hover strong,
.ypx-mega-link:hover strong {
  color: var(--ypx-accent-dark);
}

/* Ocultar switch claro/oscuro viejo */
.ypx-mode-switch,
.mode-switch {
  display: none !important;
}

/* Hamburguesa */
.ypx-navbar .navbar-toggler,
.ypx-navbar-clean .navbar-toggler,
.ypx-nav-silicon-real .navbar-toggler,
.ypx-silicon-navbar .navbar-toggler,
.ypx-navbar-pro .navbar-toggler {
  width: 44px !important;
  height: 44px !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 0.75rem !important;
  background: transparent !important;
  box-shadow: none !important;
}

.ypx-navbar .navbar-toggler:focus,
.ypx-navbar-clean .navbar-toggler:focus,
.ypx-nav-silicon-real .navbar-toggler:focus,
.ypx-silicon-navbar .navbar-toggler:focus,
.ypx-navbar-pro .navbar-toggler:focus {
  box-shadow: none !important;
}


/* ==============================
   HERO YUPANIX
============================== */

.ypx-hero-slider {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
}

.ypx-hero-slider .jarallax-img {
  filter: saturate(0.95);
}

.ypx-hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 26, 47, 0.94) 0%, rgba(10, 26, 47, 0.78) 48%, rgba(10, 26, 47, 0.68) 100%),
    radial-gradient(circle at 70% 35%, rgba(198, 123, 77, 0.28), transparent 38%);
}

.ypx-hero-content {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5.5rem;
  padding-bottom: 2.5rem;
}

.ypx-main-swiper {
  width: 100%;
  overflow: hidden;
}

.ypx-main-swiper .swiper-wrapper {
  align-items: center;
}

.ypx-main-swiper .swiper-slide {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition-property: opacity, visibility !important;
}

.ypx-main-swiper .swiper-slide-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 5 !important;
}

.ypx-hero-slide {
  max-width: 980px;
  margin: 0 auto;
  padding: 2rem 1rem 1rem;
  text-align: center;
}

.ypx-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  margin-bottom: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  white-space: nowrap;
}

.ypx-hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: var(--ypx-accent);
  border-radius: 50%;
}

.ypx-hero-heading {
  color: #fff;
  font-size: clamp(2.65rem, 6vw, 5.7rem);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.058em;
  text-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  margin-bottom: 1.65rem;
}

.ypx-hero-description {
  max-width: 820px;
  margin: 0 auto 2.3rem;
  color: rgba(255,255,255,0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.7;
}

.ypx-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.ypx-hero-slider .btn-outline-light {
  border-color: rgba(255,255,255,0.58);
  color: #fff;
}

.ypx-hero-slider .btn-outline-light:hover {
  color: var(--ypx-primary);
  background: #fff;
  border-color: #fff;
}

.ypx-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  backdrop-filter: blur(10px);
}

.ypx-hero-arrow:hover {
  color: #fff;
  background: rgba(255,255,255,0.18);
}

.ypx-hero-arrow-left {
  left: 1rem;
}

.ypx-hero-arrow-right {
  right: 1rem;
}

.ypx-hero-bottom {
  max-width: 980px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ypx-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.ypx-hero-mini-stat {
  width: 185px;
  flex: 0 0 185px;
  padding: 0.95rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  backdrop-filter: blur(12px);
}

.ypx-hero-mini-stat strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1;
  color: #fff;
}

.ypx-hero-mini-stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.72);
}

.ypx-hero-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.ypx-hero-link:hover {
  color: var(--ypx-accent);
}

.ypx-hero-pagination {
  position: relative !important;
  margin-top: 1.4rem;
  bottom: auto !important;
}

.swiper-pagination-bullet {
  background: rgba(10, 26, 47, 0.28) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active,
.ypx-hero-pagination .swiper-pagination-bullet-active {
  background: var(--ypx-accent) !important;
}

/* ==============================
   COMPONENTES GENERALES
============================== */

.ypx-section-dark {
  background: var(--ypx-primary);
  color: #fff;
}

.ypx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(198, 123, 77, 0.10);
  color: var(--ypx-accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ypx-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--ypx-accent);
  border-radius: 50%;
}

.ypx-eyebrow-dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ypx-accent-light);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ypx-kpi {
  background: #FAF9F6;
  border: 1px solid rgba(10, 26, 47, 0.08);
  border-radius: 1rem;
  padding: 1.1rem;
}

.ypx-kpi small {
  color: var(--ypx-muted);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ypx-kpi strong {
  color: var(--ypx-primary);
  font-size: 1.65rem;
}

.ypx-progress {
  height: 10px;
  border-radius: 999px;
  background: #E8E4DD;
  overflow: hidden;
}

.ypx-progress span {
  display: block;
  height: 100%;
  width: 74%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ypx-accent), var(--ypx-primary));
}

/* ==============================
   HOME / PRODUCTOS / SERVICIOS
============================== */

.ypx-products-section,
.ypx-client-portal-section,
.ypx-process-section {
  background: var(--ypx-bg);
}

.ypx-services-section {
  background: #fff;
}

.ypx-product-card,
.ypx-service-mini-card,
.ypx-process-card {
  position: relative;
  border-radius: 1.4rem;
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.08);
  box-shadow: 0 18px 45px rgba(10, 26, 47, 0.06);
  transition: all 0.22s ease;
}

.ypx-product-card {
  padding: 2rem;
}

.ypx-product-card:hover,
.ypx-service-mini-card:hover,
.ypx-process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(10, 26, 47, 0.10);
}

.ypx-product-icon,
.ypx-service-mini-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(198, 123, 77, 0.12);
  color: var(--ypx-accent);
  font-size: 1.7rem;
  margin-bottom: 1.4rem;
}

.ypx-product-tag {
  display: inline-flex;
  color: #7A4A32;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ypx-product-card h3,
.ypx-service-mini-card h3,
.ypx-process-card h3 {
  color: var(--ypx-primary);
}

.ypx-product-card p,
.ypx-service-mini-card p,
.ypx-process-card p {
  color: var(--ypx-muted);
  line-height: 1.65;
}

.ypx-product-card ul {
  padding-left: 0;
  margin: 1.2rem 0 1.5rem;
  list-style: none;
}

.ypx-product-card li {
  position: relative;
  padding-left: 1.25rem;
  color: #26364A;
  margin-bottom: 0.55rem;
}

.ypx-product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ypx-accent);
}

.ypx-product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--ypx-primary);
  font-weight: 800;
  text-decoration: none;
}

.ypx-product-link:hover {
  color: var(--ypx-accent);
}

.ypx-product-card-dark {
  background:
    radial-gradient(circle at top right, rgba(198, 123, 77, 0.25), transparent 38%),
    linear-gradient(145deg, var(--ypx-primary) 0%, var(--ypx-primary-2) 100%);
  color: #fff;
}

.ypx-product-card-dark h3,
.ypx-product-card-dark .ypx-product-link {
  color: #fff;
}

.ypx-product-card-dark p,
.ypx-product-card-dark li {
  color: rgba(255, 255, 255, 0.74);
}

.ypx-product-card-dark .ypx-product-tag {
  color: var(--ypx-accent-light);
}

.ypx-service-mini-card {
  padding: 1.5rem;
  height: 100%;
}

.ypx-service-mini-card i {
  width: 48px;
  height: 48px;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.ypx-process-card {
  height: 100%;
  padding: 1.4rem;
}

.ypx-process-card span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ypx-primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* ==============================
   PORTAL PREVIEW
============================== */

.ypx-portal-preview {
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.08);
  box-shadow: 0 25px 70px rgba(10, 26, 47, 0.12);
}

.ypx-portal-topbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 1.2rem;
  background: var(--ypx-primary);
  color: #fff;
}

.ypx-portal-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ypx-portal-topbar span:nth-child(1) {
  background: #F87171;
}

.ypx-portal-topbar span:nth-child(2) {
  background: #FBBF24;
}

.ypx-portal-topbar span:nth-child(3) {
  background: #22C55E;
}

.ypx-portal-topbar strong {
  margin-left: 0.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ypx-portal-body {
  display: grid;
  grid-template-columns: 88px 1fr;
  min-height: 330px;
  background: var(--ypx-bg);
}

.ypx-portal-sidebar {
  padding: 1.2rem;
  background: #fff;
  border-right: 1px solid rgba(10, 26, 47, 0.08);
}

.ypx-portal-sidebar div {
  height: 34px;
  border-radius: 0.7rem;
  background: rgba(10, 26, 47, 0.08);
  margin-bottom: 0.8rem;
}

.ypx-portal-content {
  padding: 1.5rem;
}

.ypx-portal-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ypx-portal-kpis div,
.ypx-portal-progress,
.ypx-portal-list {
  background: #fff;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(10, 26, 47, 0.08);
}

.ypx-portal-kpis strong {
  display: block;
  color: var(--ypx-primary);
  font-size: 1.6rem;
}

.ypx-portal-kpis span,
.ypx-portal-progress span,
.ypx-portal-list p {
  color: var(--ypx-muted);
  font-size: 0.9rem;
}

.ypx-portal-progress,
.ypx-portal-list {
  margin-top: 1rem;
}

.ypx-portal-list i {
  color: var(--ypx-accent);
  margin-right: 0.4rem;
}

/* ==============================
   DATA LAB HOME
============================== */

.ypx-home-datalab-v2,
.ypx-datalab-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(198, 123, 77, .22), transparent 30%),
    radial-gradient(circle at 10% 85%, rgba(255, 255, 255, .06), transparent 32%),
    linear-gradient(135deg, var(--ypx-primary-3) 0%, var(--ypx-primary) 55%, var(--ypx-primary-2) 100%);
  color: #fff;
}

.ypx-home-datalab-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .22;
  pointer-events: none;
}

.ypx-home-datalab-v2 .container {
  position: relative;
  z-index: 2;
}

.ypx-dl-home-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--ypx-accent-light);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ypx-dl-home-title {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 900;
}

.ypx-dl-home-text {
  color: rgba(255,255,255,.74);
  font-size: 1.12rem;
  line-height: 1.75;
}

.ypx-dl-home-panel,
.ypx-datalab-panel {
  overflow: hidden;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: 0 2rem 5.5rem rgba(0,0,0,.28);
}

.ypx-dl-home-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--ypx-primary-3);
  color: #fff;
}

.ypx-dl-home-dots {
  display: flex;
  gap: .35rem;
}

.ypx-dl-home-dots span {
  width: .65rem;
  height: .65rem;
  display: block;
  border-radius: 50%;
}

.ypx-dl-home-dots span:nth-child(1) { background: #FF5F57; }
.ypx-dl-home-dots span:nth-child(2) { background: #FFBD2E; }
.ypx-dl-home-dots span:nth-child(3) { background: #28C840; }

.ypx-dl-home-panel-top strong {
  color: #fff;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ypx-dl-home-panel-top small {
  color: #86EFAC;
  font-weight: 800;
}

.ypx-dl-home-panel-body {
  padding: 1.25rem;
  background: var(--ypx-bg);
}

.ypx-dl-home-kpi,
.ypx-datalab-kpi {
  height: 100%;
  padding: 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(10, 26, 47, .08);
  box-shadow: 0 .8rem 2rem rgba(10, 26, 47, .05);
}

.ypx-dl-home-kpi span,
.ypx-datalab-kpi span {
  display: block;
  color: #6B7890;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 900;
  margin-bottom: .35rem;
}

.ypx-dl-home-kpi strong,
.ypx-datalab-kpi strong {
  display: block;
  color: var(--ypx-primary);
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: .25rem;
}

.ypx-dl-home-kpi small,
.ypx-datalab-kpi small {
  color: #6B7890;
}

.ypx-dl-home-chart {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(10, 26, 47, .06);
}

.ypx-dl-home-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.ypx-dl-home-chart-head h3 {
  color: var(--ypx-primary);
  font-size: 1.15rem;
  margin-bottom: .2rem;
}

.ypx-dl-home-chart-head p {
  color: #6B7890;
  font-size: .9rem;
  margin-bottom: 0;
}

.ypx-dl-home-status {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: rgba(34,197,94,.12);
  color: #15803D;
  font-size: .75rem;
  font-weight: 900;
  white-space: nowrap;
}

.ypx-dl-home-bars {
  height: 120px;
  display: flex;
  align-items: end;
  gap: .55rem;
}

.ypx-dl-home-bars span {
  flex: 1;
  min-width: 15px;
  border-radius: .75rem .75rem 0 0;
  background: linear-gradient(180deg, #E9A26F 0%, var(--ypx-accent) 100%);
}

.ypx-dl-home-modules {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.ypx-dl-home-module {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-radius: .95rem;
  background: #fff;
  border: 1px solid rgba(10, 26, 47, .07);
}

.ypx-dl-home-module i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: .75rem;
  background: rgba(198, 123, 77, .12);
  color: var(--ypx-accent);
  font-size: 1.2rem;
}

.ypx-dl-home-module span {
  display: block;
  color: var(--ypx-primary);
  font-weight: 800;
}

.ypx-dl-home-module small {
  display: block;
  color: #6B7890;
  font-size: .82rem;
}

.ypx-dl-home-cards {
  margin-top: 2.5rem;
}

.ypx-dl-home-card,
.ypx-pick-card {
  height: 100%;
  padding: 1.35rem;
  border-radius: 1.2rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}

.ypx-dl-home-card i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: .95rem;
  background: rgba(198, 123, 77, .16);
  color: var(--ypx-accent-light);
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.ypx-dl-home-card h3,
.ypx-pick-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: .55rem;
}

.ypx-dl-home-card p,
.ypx-pick-card p {
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ==============================
   DATA LAB PAGE
============================== */

.ypx-datalab-hero-new,
.ypx-dl-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5.5rem;
  background:
    radial-gradient(circle at 85% 18%, rgba(198, 123, 77, 0.28), transparent 34%),
    radial-gradient(circle at 10% 85%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(135deg, var(--ypx-primary-3) 0%, var(--ypx-primary) 48%, var(--ypx-primary-2) 100%);
  color: #fff;
}

.ypx-datalab-hero-new::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 18, 32, 0.96), rgba(7, 18, 32, 0.76)),
    radial-gradient(circle at 60% 45%, rgba(198, 123, 77, 0.16), transparent 36%);
  pointer-events: none;
}

.ypx-datalab-hero-new .container,
.ypx-dl-hero .container {
  position: relative;
  z-index: 2;
}

.ypx-dl-badge-new,
.ypx-dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ypx-accent-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(12px);
}

.ypx-dl-title-new,
.ypx-dl-title {
  color: #fff;
  font-size: clamp(2.8rem, 5.8vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
  max-width: 780px;
  margin-bottom: 1.35rem;
  text-shadow: 0 22px 48px rgba(0, 0, 0, 0.26);
}

.ypx-dl-text-new,
.ypx-dl-subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  max-width: 650px;
  margin-bottom: 2rem;
}

.ypx-dl-note-new,
.ypx-dl-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 650px;
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ypx-dl-note-new i,
.ypx-dl-warning i {
  color: var(--ypx-accent-light);
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

.ypx-dl-panel-new,
.ypx-dl-dashboard {
  overflow: hidden;
  border-radius: 1.6rem;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.32);
}

.ypx-dl-panel-header-new,
.ypx-dl-dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  background: var(--ypx-primary);
  color: #fff;
}

.ypx-dl-panel-body-new,
.ypx-dl-dashboard-body {
  padding: 1.25rem;
  background: var(--ypx-bg);
}

.ypx-dl-metric-new,
.ypx-dl-kpi {
  padding: 1rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.08);
  box-shadow: 0 12px 30px rgba(10, 26, 47, 0.06);
}

.ypx-dl-metric-new span,
.ypx-dl-kpi small {
  display: block;
  color: var(--ypx-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.ypx-dl-metric-new strong,
.ypx-dl-kpi strong {
  display: block;
  color: var(--ypx-primary);
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.ypx-dl-chart-new,
.ypx-dl-chart-card,
.ypx-dl-table-card,
.ypx-dl-prediction-card,
.ypx-dl-analysis-card {
  border: 1px solid rgba(10, 26, 47, 0.08);
  box-shadow: 0 18px 45px rgba(10, 26, 47, 0.06);
}

.ypx-dl-chart-new,
.ypx-dl-chart-card {
  padding: 1.2rem;
  border-radius: 1.2rem;
  background: #fff;
}

.ypx-dl-bars-new,
.ypx-dl-bars {
  height: 180px;
  display: flex;
  align-items: end;
  gap: 0.65rem;
  padding-top: 1.2rem;
}

.ypx-dl-bars-new i,
.ypx-dl-bars span {
  flex: 1;
  display: block;
  min-width: 12px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--ypx-accent), var(--ypx-accent-light));
  box-shadow: 0 8px 16px rgba(198, 123, 77, 0.20);
}

.ypx-dl-section,
.ypx-dl-results {
  background: var(--ypx-bg);
}

.ypx-dl-analysis {
  background: #fff;
}

.ypx-dl-prediction-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(198, 123, 77, 0.12), transparent 35%),
    #fff;
  transition: all 0.22s ease;
}

.ypx-dl-prediction-card:hover,
.ypx-dl-analysis-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(10, 26, 47, 0.10);
}

.ypx-dl-prediction-card h3,
.ypx-dl-analysis-card h3 {
  color: var(--ypx-primary);
}

.ypx-dl-prediction-card p,
.ypx-dl-analysis-card p {
  color: var(--ypx-muted);
}

.ypx-dl-prediction-box {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--ypx-bg);
  margin-bottom: 1rem;
}

.ypx-dl-progress {
  height: 8px;
  border-radius: 999px;
  background: #E8E4DD;
  overflow: hidden;
}

.ypx-dl-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ypx-accent), var(--ypx-accent-light));
}

/* ==============================
   BLOG
============================== */

.ypx-blog-clean-ad {
  min-height: 25rem;
  background:
    radial-gradient(circle at top right, rgba(198, 123, 77, 0.20), transparent 38%),
    linear-gradient(145deg, var(--ypx-primary) 0%, var(--ypx-primary-2) 100%) !important;
  color: #fff;
}

.ypx-blog-clean-ad h5 {
  color: #fff;
}

.ypx-blog-clean-ad p {
  color: rgba(255,255,255,.72);
}

.ypx-blog-hero-new {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 5.5rem;
  background:
    radial-gradient(circle at 84% 20%, rgba(198, 123, 77, 0.25), transparent 34%),
    radial-gradient(circle at 12% 90%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, var(--ypx-primary-3) 0%, var(--ypx-primary) 48%, var(--ypx-primary-2) 100%);
  color: #fff;
}

.ypx-blog-hero-new .container {
  position: relative;
  z-index: 2;
}

.ypx-blog-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ypx-accent-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.ypx-blog-title-new {
  color: #fff;
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
  max-width: 900px;
  margin-bottom: 1.35rem;
}

.ypx-blog-text-new {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  max-width: 720px;
  margin-bottom: 2rem;
}

.ypx-blog-post-card,
.ypx-blog-widget,
.ypx-single-widget,
.ypx-related-card {
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.08);
  box-shadow: 0 16px 40px rgba(10, 26, 47, 0.05);
}

.ypx-blog-post-card {
  overflow: hidden;
  transition: all 0.22s ease;
}

.ypx-blog-post-card:hover,
.ypx-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(10, 26, 47, 0.10);
}

.ypx-blog-post-image {
  min-height: 210px;
  display: grid;
  place-items: center;
  text-decoration: none;
}

.ypx-blog-post-image i {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 2.35rem;
}

.ypx-blog-gradient-1 {
  background:
    radial-gradient(circle at 80% 20%, rgba(244, 190, 148, 0.50), transparent 34%),
    linear-gradient(135deg, var(--ypx-primary), var(--ypx-accent));
}

.ypx-blog-gradient-2 {
  background:
    radial-gradient(circle at 20% 80%, rgba(244, 190, 148, 0.45), transparent 34%),
    linear-gradient(135deg, var(--ypx-primary-2), var(--ypx-primary));
}

.ypx-blog-gradient-3,
.ypx-blog-gradient-5 {
  background:
    radial-gradient(circle at 78% 24%, rgba(198, 123, 77, 0.40), transparent 34%),
    linear-gradient(135deg, var(--ypx-primary-3), var(--ypx-primary-2));
}

.ypx-blog-gradient-4,
.ypx-blog-gradient-6 {
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(135deg, var(--ypx-accent-dark), var(--ypx-accent));
}

.ypx-blog-post-body {
  padding: 1.5rem;
}

.ypx-blog-post-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.ypx-blog-post-meta span {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(198, 123, 77, 0.12);
  color: var(--ypx-accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ypx-blog-post-meta small {
  color: var(--ypx-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.ypx-blog-post-card h3 a,
.masonry-grid .card h3 a,
.offcanvas-body .card h4 a {
  color: var(--ypx-primary);
  text-decoration: none;
}

.ypx-blog-post-card h3 a:hover,
.masonry-grid .card h3 a:hover,
.offcanvas-body .card h4 a:hover {
  color: var(--ypx-accent);
}

.ypx-blog-sidebar,
.ypx-single-sidebar {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 1rem;
}

/* ==============================
   BLOG SINGLE
============================== */

.ypx-single-hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 84% 20%, rgba(198, 123, 77, 0.24), transparent 34%),
    radial-gradient(circle at 12% 90%, rgba(255, 255, 255, 0.08), transparent 34%),
    linear-gradient(135deg, var(--ypx-primary-3) 0%, var(--ypx-primary) 50%, var(--ypx-primary-2) 100%);
  color: #fff;
}

.ypx-single-hero .container {
  position: relative;
  z-index: 2;
}

.ypx-single-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2.3rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.ypx-single-breadcrumb a {
  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-weight: 700;
}

.ypx-single-breadcrumb a:hover,
.ypx-single-breadcrumb strong {
  color: var(--ypx-accent-light);
}

.ypx-single-badge,
.ypx-blog-single-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(198, 123, 77, 0.12);
  border: 1px solid rgba(198, 123, 77, 0.18);
  color: var(--ypx-accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
}

.ypx-single-hero .ypx-single-badge {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ypx-accent-light);
}

.ypx-single-hero h1 {
  color: #fff;
  font-size: clamp(2.65rem, 5.7vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 900;
  max-width: 980px;
  margin-bottom: 1.2rem;
}

.ypx-single-hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.75;
  max-width: 760px;
}

.ypx-single-content-section,
.ypx-related-posts,
.ypx-single-cover-wrap {
  background: var(--ypx-bg);
}

.ypx-single-article {
  padding: 2rem;
  border-radius: 1.5rem;
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.08);
  box-shadow: 0 20px 55px rgba(10, 26, 47, 0.07);
}

.ypx-single-lead {
  color: var(--ypx-primary) !important;
  font-size: 1.3rem;
  line-height: 1.75;
  font-weight: 700;
}

.ypx-single-article h2 {
  color: var(--ypx-primary);
  font-size: 1.65rem;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
}

.ypx-single-article p,
.ypx-single-article li {
  color: #536579;
  line-height: 1.8;
  font-size: 1.02rem;
}

.ypx-single-callout {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.15rem;
  background: rgba(198, 123, 77, 0.10);
  border: 1px solid rgba(198, 123, 77, 0.18);
  margin: 2rem 0;
}

.ypx-single-callout i {
  color: var(--ypx-accent);
  font-size: 1.65rem;
  margin-top: 0.15rem;
}


/* ==============================
   FLOATING ACTIONS + CHATBOT
============================== */

.ypx-wa {
  display: none !important;
}

.ypx-floating-actions,
.ypx-float-stack-v2 {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.ypx-float-btn,
.ypx-float-action-v2 {
  position: relative;
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
}

.ypx-float-btn:hover,
.ypx-float-action-v2:hover {
  transform: translateY(-2px);
}

.ypx-float-action-v2[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  width: max-content;
  max-width: 300px;
  padding: 0.65rem 0.85rem;
  border-radius: 0.85rem;
  background: #fff;
  color: #26364A;
  border: 1px solid rgba(10, 26, 47, 0.08);
  box-shadow: 0 18px 45px rgba(10, 26, 47, 0.14);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s ease;
}

.ypx-float-action-v2[data-tooltip]:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.ypx-backtop,
.ypx-backtop-v2,
.ypx-backtop-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.45rem 0.45rem 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--ypx-primary);
  color: #fff;
  box-shadow: 0 18px 35px rgba(10, 26, 47, 0.24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  border: 0;
  cursor: pointer;
}

.ypx-backtop.is-visible,
.ypx-backtop-v2.is-visible,
.ypx-backtop-modern.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ypx-backtop span,
.ypx-backtop-v2 span,
.ypx-backtop-modern span {
  color: var(--ypx-accent-light);
  font-size: 0.82rem;
  font-weight: 900;
}

.ypx-backtop i,
.ypx-backtop-v2 i,
.ypx-backtop-modern em {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.45rem;
  font-style: normal;
}

.ypx-whatsapp,
.ypx-whatsapp-v2,
.ypx-chat-toggle,
.ypx-chat-v2 {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff !important;
  font-size: 1.75rem;
  box-shadow: 0 18px 35px rgba(10, 26, 47, 0.22);
  text-decoration: none;
  border: 0;
}

.ypx-whatsapp,
.ypx-whatsapp-v2 {
  background: #25D366;
}

.ypx-chat-toggle,
.ypx-chat-v2 {
  background: linear-gradient(135deg, var(--ypx-accent), var(--ypx-accent-dark));
}

.ypx-chatbot,
.ypx-chatbot-v2 {
  position: fixed;
  right: 96px;
  bottom: 26px;
  width: min(390px, calc(100vw - 32px));
  max-height: 640px;
  background: #fff;
  border: 1px solid rgba(10, 26, 47, 0.1);
  border-radius: 1.45rem;
  box-shadow: 0 30px 90px rgba(10, 26, 47, 0.24);
  overflow: hidden;
  z-index: 1091;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.98);
  transition: all 0.22s ease;
}

.ypx-chatbot.is-open,
.ypx-chatbot-v2.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ypx-chatbot-header,
.ypx-chatbot-v2-header {
  background:
    radial-gradient(circle at top right, rgba(198, 123, 77, 0.36), transparent 38%),
    linear-gradient(135deg, var(--ypx-primary), var(--ypx-primary-2));
  color: #fff;
  padding: 1rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ypx-chatbot-avatar,
.ypx-chatbot-v2-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.45rem;
}

.ypx-chatbot-header strong,
.ypx-chatbot-v2-header strong {
  display: block;
  color: #fff;
  line-height: 1.1;
}

.ypx-chatbot-header span,
.ypx-chatbot-v2-header span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  margin-top: 0.2rem;
}

.ypx-chatbot-close,
.ypx-chatbot-v2-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  cursor: pointer;
}

.ypx-chatbot-body,
.ypx-chatbot-v2-body {
  height: 395px;
  overflow-y: auto;
  padding: 1rem;
  background: var(--ypx-bg);
}

.ypx-chat-msg,
.ypx-chat-msg-v2 {
  display: flex;
  margin-bottom: 0.75rem;
}

.ypx-chat-msg p,
.ypx-chat-msg-v2 p {
  max-width: 88%;
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.ypx-bot-msg p,
.ypx-bot-msg-v2 p {
  background: #fff;
  color: #26364A;
  border: 1px solid rgba(10, 26, 47, 0.08);
  border-top-left-radius: 0.25rem;
}

.ypx-user-msg,
.ypx-user-msg-v2 {
  justify-content: flex-end;
}

.ypx-user-msg p,
.ypx-user-msg-v2 p {
  background: var(--ypx-primary);
  color: #fff;
  border-top-right-radius: 0.25rem;
}

.ypx-chat-quick,
.ypx-chat-quick-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.ypx-chat-quick button,
.ypx-chat-quick-v2 button {
  border: 1px solid rgba(198, 123, 77, 0.25);
  background: rgba(198, 123, 77, 0.1);
  color: var(--ypx-accent-dark);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}

.ypx-chat-quick button:hover,
.ypx-chat-quick-v2 button:hover {
  background: var(--ypx-accent);
  color: #fff;
}

.ypx-chatbot-form,
.ypx-chatbot-v2-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.85rem;
  background: #fff;
  border-top: 1px solid rgba(10, 26, 47, 0.08);
}

.ypx-chatbot-form input,
.ypx-chatbot-v2-form input {
  flex: 1;
  border: 1px solid rgba(10, 26, 47, 0.12);
  border-radius: 999px;
  min-height: 46px;
  padding: 0 1rem;
  outline: none;
  color: var(--ypx-primary);
}

.ypx-chatbot-form input:focus,
.ypx-chatbot-v2-form input:focus {
  border-color: var(--ypx-accent);
  box-shadow: 0 0 0 4px rgba(198, 123, 77, 0.12);
}

.ypx-chatbot-form button,
.ypx-chatbot-v2-form button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ypx-accent), var(--ypx-accent-dark));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ==============================
   OVERRIDES SILICON
============================== */

.card .bg-primary,
.d-inline-block.bg-primary {
  background: linear-gradient(135deg, var(--ypx-accent), var(--ypx-accent-dark)) !important;
  box-shadow: 0 16px 36px rgba(198, 123, 77, 0.24) !important;
}

.btn-prev,
.btn-next,
.swiper-button-prev,
.swiper-button-next {
  color: var(--ypx-primary) !important;
}

.btn-prev:hover,
.btn-next:hover {
  color: var(--ypx-accent) !important;
}

.card-hover-primary:hover {
  border-color: rgba(198, 123, 77, 0.35) !important;
  box-shadow: 0 18px 45px rgba(10, 26, 47, 0.10) !important;
}

.card-hover-primary:hover h3,
.card-hover-primary:hover h3 a,
.card-hover-primary:hover .h4,
.card-hover-primary:hover .h4 a {
  color: var(--ypx-primary) !important;
}

.swiper-slide .card.bg-primary,
.card.bg-primary,
article.card.bg-primary {
  background: linear-gradient(145deg, var(--ypx-primary) 0%, var(--ypx-primary-2) 100%) !important;
  color: #fff !important;
  box-shadow: 0 22px 55px rgba(10, 26, 47, 0.22) !important;
}

.swiper-slide .card.bg-primary h3,
.swiper-slide .card.bg-primary h3 a,
.card.bg-primary h3,
.card.bg-primary h3 a,
article.card.bg-primary h3,
article.card.bg-primary h3 a {
  color: #fff !important;
}

.swiper-slide .card.bg-primary p,
.card.bg-primary p,
article.card.bg-primary p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.badge.bg-secondary,
a.badge.bg-secondary {
  background: rgba(198, 123, 77, 0.10) !important;
  color: var(--ypx-accent-dark) !important;
}

a.btn.btn-outline-primary.btn-lg,
a.btn.btn-primary.btn-lg {
  border-radius: 999px !important;
}

/* ==============================
   RESPONSIVE GENERAL
============================== */

@media (max-width: 991px) {
  .ypx-hero-slider,
  .ypx-hero-content {
    min-height: auto;
  }

  .ypx-hero-content {
    padding-top: 4.5rem;
    padding-bottom: 3rem;
  }

  .ypx-hero-bottom {
    flex-direction: column;
    text-align: center;
  }

  .ypx-hero-stats {
    justify-content: center;
  }

  .ypx-blog-sidebar,
  .ypx-single-sidebar {
    position: static;
  }

  .ypx-dl-home-title,
  .ypx-dl-home-text {
    text-align: center;
  }

  .ypx-dl-home-actions {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .ypx-footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .ypx-newsletter-form .input-group {
    border-radius: 1rem;
  }

  .ypx-newsletter-form .btn {
    width: 100%;
    margin-top: 0.5rem;
  }

  .ypx-portal-body {
    grid-template-columns: 1fr;
  }

  .ypx-portal-sidebar {
    display: none;
  }

  .ypx-portal-kpis {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .ypx-hero-badge {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    white-space: normal;
  }

  .ypx-hero-heading {
    font-size: 2.55rem;
  }

  .ypx-hero-description {
    font-size: 1rem;
  }

  .ypx-hero-actions .btn,
  .ypx-dl-home-actions .btn {
    width: 100%;
  }

  .ypx-hero-mini-stat {
    width: 100%;
    flex: 0 0 100%;
  }

  .ypx-floating-actions,
  .ypx-float-stack-v2 {
    right: 18px;
    bottom: 18px;
  }

  .ypx-backtop span,
  .ypx-backtop-v2 span,
  .ypx-backtop-modern span {
    display: none;
  }

  .ypx-backtop,
  .ypx-backtop-v2,
  .ypx-backtop-modern {
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
    justify-content: center;
  }

  .ypx-backtop i,
  .ypx-backtop-v2 i,
  .ypx-backtop-modern em,
  .ypx-whatsapp,
  .ypx-whatsapp-v2,
  .ypx-chat-toggle,
  .ypx-chat-v2 {
    width: 52px;
    height: 52px;
    font-size: 1.55rem;
  }

  .ypx-float-action-v2[data-tooltip]::before {
    display: none;
  }

  .ypx-chatbot,
  .ypx-chatbot-v2 {
    right: 16px;
    left: 16px;
    bottom: 88px;
    width: auto;
  }

  .ypx-chatbot-body,
  .ypx-chatbot-v2-body {
    height: 360px;
  }

  .ypx-dl-home-panel-body {
    padding: 1rem;
  }

  .ypx-dl-home-chart-head {
    flex-direction: column;
  }
}

/* =========================================================
   FIX DATA LAB PREVIEW HOME - YUPANIX
   Corrige "Vista previa de señales publicadas"
========================================================= */

.ypx-home-datalab-v2 {
  position: relative !important;
  overflow: hidden !important;
  color: #fff !important;
}

.ypx-home-datalab-v2 .container {
  position: relative !important;
  z-index: 2 !important;
}

/* Contenedor de vista previa */
.ypx-dl-home-preview {
  position: relative !important;
  z-index: 2 !important;
  margin-top: 2.5rem !important;
  padding: 1.35rem !important;
  border-radius: 1.35rem !important;
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18) !important;
  backdrop-filter: blur(14px) !important;
}

.ypx-dl-home-preview-title {
  color: #fff !important;
  font-size: clamp(1.35rem, 2vw, 1.85rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 0 !important;
}

/* Botón Ver pronósticos */
.ypx-dl-home-preview .btn-outline-light {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.42) !important;
  background: transparent !important;
  font-weight: 800 !important;
}

.ypx-dl-home-preview .btn-outline-light:hover {
  color: #0A1A2F !important;
  background: #fff !important;
  border-color: #fff !important;
}

/* Tarjetas de señales */
.ypx-dl-mini-signal {
  height: 100% !important;
  padding: 1.15rem !important;
  border-radius: 1.15rem !important;
  background:
    radial-gradient(circle at top right, rgba(198, 123, 77, 0.16), transparent 35%),
    rgba(7, 18, 32, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18) !important;
  transition: all 0.22s ease !important;
}

.ypx-dl-mini-signal:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(244, 190, 148, 0.32) !important;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24) !important;
}

.ypx-dl-mini-signal span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.34rem 0.68rem !important;
  border-radius: 999px !important;
  background: rgba(198, 123, 77, 0.16) !important;
  color: #F4BE94 !important;
  font-size: 0.68rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  margin-bottom: 0.8rem !important;
}

.ypx-dl-mini-signal h4 {
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  margin-bottom: 0.55rem !important;
}

.ypx-dl-mini-signal p {
  color: rgba(255, 255, 255, 0.66) !important;
  font-size: 0.92rem !important;
  line-height: 1.5 !important;
  margin-bottom: 0.9rem !important;
}

.ypx-dl-mini-signal strong {
  color: #fff !important;
  font-weight: 900 !important;
}

.ypx-dl-mini-signal small {
  color: rgba(255, 255, 255, 0.62) !important;
  font-weight: 700 !important;
}

/* Barra de progreso */
.ypx-dl-mini-bar {
  height: 0.42rem !important;
  background: rgba(255, 255, 255, 0.13) !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}

.ypx-dl-mini-bar em {
  display: block !important;
  height: 100% !important;
  background: linear-gradient(90deg, #C67B4D, #F0BE95) !important;
  border-radius: 999px !important;
}

/* Nota inferior */
.ypx-dl-home-preview .text-white-50,
.ypx-dl-home-preview .small {
  color: rgba(255, 255, 255, 0.64) !important;
}

.ypx-dl-home-preview .bx-info-circle {
  color: #F4BE94 !important;
}

/* Evita que los botones flotantes se monten sobre el menú móvil */
#navbarNav.show {
  z-index: 1205 !important;
}

.offcanvas-backdrop {
  z-index: 1200 !important;
}

@supports selector(body:has(#navbarNav.show)) {
  body:has(#navbarNav.show) .ypx-float-stack-v2,
  body:has(#navbarNav.show) .ypx-floating-actions,
  body:has(#navbarNav.show) .ypx-chatbot,
  body:has(#navbarNav.show) .ypx-chatbot-v2 {
    display: none !important;
  }
}

/* Responsive */
@media (max-width: 767px) {
  .ypx-dl-home-preview {
    padding: 1rem !important;
  }

  .ypx-dl-home-preview .d-flex.flex-wrap {
    align-items: flex-start !important;
  }

  .ypx-dl-home-preview .btn-outline-light {
    width: 100% !important;
    justify-content: center !important;
  }
}


.ypx-silicon-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: max-content;
}

.ypx-silicon-brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f7f5f1;
  border: 1px solid rgba(10, 26, 47, 0.08);
  box-shadow: 0 10px 24px rgba(10, 26, 47, 0.08);
  overflow: hidden;
  flex: 0 0 auto;
}

.ypx-silicon-brand-icon img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.ypx-silicon-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.ypx-silicon-brand-text strong {
  color: #0A1A2F;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.ypx-silicon-brand-text small {
  margin-top: 4px;
  color: #B96F3D;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ypx-silicon-mega-img {
  width: 280px;
  min-width: 280px;
  padding: 12px;
  background: #f4f6fb;
  align-items: center;
  justify-content: center;
}

.ypx-silicon-mega-img img {
  width: 100%;
  height: 100%;
  max-height: 325px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  box-shadow: 0 18px 45px rgba(10, 26, 47, 0.16);
}



/* =========================
   YUPANIX - SERVICIOS
========================= */

.ypx-services-page {
  background: #fff;
}

/* Intro estilo services-v2 */
.ypx-services-intro {
  padding: 72px 0 54px;
  background: #fff;
}

.ypx-services-breadcrumb {
  --bs-breadcrumb-divider: '»';
  margin-bottom: 1.5rem;
}

.ypx-services-breadcrumb .breadcrumb-item,
.ypx-services-breadcrumb .breadcrumb-item a {
  color: #7b8190;
  text-decoration: none;
  font-size: .95rem;
}

.ypx-services-breadcrumb .breadcrumb-item.active {
  color: #c67b4d;
  font-weight: 600;
}

.ypx-services-title {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0a1a2f;
  margin-bottom: 1rem;
}

.ypx-services-lead {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #5f6b7a;
  margin-bottom: 1.8rem;
}

.ypx-services-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid rgba(10, 26, 47, .10);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.ypx-services-feature {
  padding: 1.15rem 1.1rem;
  border-right: 1px solid rgba(10, 26, 47, .08);
  border-bottom: 1px solid rgba(10, 26, 47, .08);
}

.ypx-services-feature:nth-child(2n) {
  border-right: none;
}

.ypx-services-feature:nth-last-child(-n+2) {
  border-bottom: none;
}

.ypx-services-feature i {
  font-size: 1.35rem;
  color: #c67b4d;
  margin-bottom: .5rem;
  display: inline-block;
}

.ypx-services-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0a1a2f;
  margin-bottom: .25rem;
}

.ypx-services-feature p {
  margin: 0;
  color: #667085;
  font-size: .94rem;
  line-height: 1.65;
}

.ypx-services-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.6rem;
}

.ypx-services-photo {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(10, 26, 47, .08);
  box-shadow: 0 18px 45px rgba(16, 24, 40, .08);
  background: #f8fafc;
}

.ypx-services-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

/* Cards de servicios */
.ypx-services-cards-section {
  padding: 70px 0;
  background: #f4f7fb;
}

.ypx-section-mini {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #c67b4d;
  margin-bottom: .9rem;
}

.ypx-section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #0a1a2f;
  margin-bottom: .85rem;
}

.ypx-section-text {
  color: #667085;
  line-height: 1.8;
  font-size: 1.03rem;
  max-width: 760px;
  margin-bottom: 0;
}

.ypx-service-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .06);
  border: 1px solid rgba(10, 26, 47, .07);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ypx-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(16, 24, 40, .10);
  border-color: rgba(198, 123, 77, .28);
}

.ypx-service-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6f73ff 0%, #5b61f6 100%);
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 10px 22px rgba(91, 97, 246, .22);
  margin-bottom: 1.25rem;
}

.ypx-service-card h3 {
  font-size: 1.7rem;
  line-height: 1.2;
  font-weight: 800;
  color: #0a1a2f;
  margin-bottom: .9rem;
}

.ypx-service-card p {
  color: #667085;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.ypx-service-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: .55rem;
}

.ypx-service-points li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  color: #344054;
  font-size: .96rem;
  line-height: 1.6;
}

.ypx-service-points li i {
  color: #c67b4d;
  font-size: 1rem;
  margin-top: .2rem;
}

.ypx-service-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #5b61f6;
  font-weight: 700;
  text-decoration: none;
}

.ypx-service-link:hover {
  color: #4248db;
}

/* Sectores */
.ypx-sectors {
  padding: 70px 0;
  background: #fff;
}

.ypx-sector-tabs {
  gap: .85rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.ypx-sector-tabs .nav-link {
  border: 0;
  background: #eef2f7;
  color: #344054;
  border-radius: 14px;
  font-weight: 600;
  padding: .85rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.ypx-sector-tabs .nav-link.active {
  background: #5b61f6;
  color: #fff;
}

.ypx-sector-panel {
  background: #f5f7fb;
  border: 1px solid rgba(10, 26, 47, .08);
  border-radius: 26px;
  overflow: hidden;
}

.ypx-sector-content {
  padding: 2rem 2rem 2rem 2.2rem;
}

.ypx-sector-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #0a1a2f;
  margin-bottom: 1rem;
}

.ypx-sector-content p {
  color: #667085;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.ypx-sector-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: .65rem;
}

.ypx-sector-list li {
  display: flex;
  gap: .55rem;
  color: #344054;
  font-weight: 600;
}

.ypx-sector-list i {
  color: #c67b4d;
  margin-top: .15rem;
}

.ypx-sector-image img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
}

/* CTA */
.ypx-services-cta {
  padding: 75px 0;
  background: linear-gradient(135deg, #0a1a2f 0%, #122b4f 100%);
  color: #fff;
}

.ypx-services-cta-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 26px;
  padding: 2.2rem;
}

.ypx-services-cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: .8rem;
}

.ypx-services-cta-box p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .ypx-services-feature-grid {
    grid-template-columns: 1fr;
  }

  .ypx-services-feature {
    border-right: 0 !important;
  }

  .ypx-services-feature:not(:last-child) {
    border-bottom: 1px solid rgba(10, 26, 47, .08);
  }

  .ypx-services-photo img,
  .ypx-sector-image img {
    min-height: 320px;
  }

  .ypx-sector-content {
    padding: 1.5rem;
  }
}

/* =========================================================
   FIX FINAL NAVBAR / DROPDOWNS YUPANIX
   Pegar al FINAL de assets/css/yupanix.css
   Versión recomendada en header: yupanix.css?v=1010
========================================================= */

/* Desktop: hover como Silicon */
@media (min-width: 992px) {
  .ypx-silicon-navbar .ypx-hover-dropdown {
    position: relative !important;
  }

  .ypx-silicon-navbar .ypx-hover-dropdown > .dropdown-menu {
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }

  .ypx-silicon-navbar .ypx-hover-dropdown:hover > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .ypx-silicon-navbar .ypx-hover-dropdown:hover > .nav-link,
  .ypx-silicon-navbar .ypx-hover-dropdown > .nav-link.active {
    color: var(--ypx-accent) !important;
  }

  .ypx-silicon-navbar .ypx-silicon-mega {
    width: min(820px, calc(100vw - 2rem)) !important;
    overflow: hidden !important;
  }

  .ypx-silicon-navbar .ypx-dropdown-clean {
    min-width: 230px !important;
  }
}

/* Móvil: offcanvas controlado por JS propio */
@media (max-width: 991.98px) {
  #navbarNav.ypx-silicon-offcanvas {
    width: min(340px, 88vw) !important;
    max-width: 88vw !important;
    height: 100vh !important;
    background: #fff !important;
    color: var(--ypx-primary) !important;
    box-shadow: -18px 0 55px rgba(10, 26, 47, 0.18) !important;
    z-index: 1205 !important;
  }

  #navbarNav.ypx-silicon-offcanvas .offcanvas-header {
    min-height: 72px !important;
    padding: 1rem 1.1rem !important;
    background: #fff !important;
  }

  #navbarNav.ypx-silicon-offcanvas .offcanvas-title {
    color: var(--ypx-primary) !important;
    font-weight: 900 !important;
    font-size: 1.35rem !important;
  }

  #navbarNav.ypx-silicon-offcanvas .offcanvas-body {
    padding: .8rem 1.1rem 1rem !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #fff !important;
  }

  #navbarNav.ypx-silicon-offcanvas .navbar-nav {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }

  #navbarNav.ypx-silicon-offcanvas .nav-item {
    width: 100% !important;
    border-bottom: 1px solid rgba(10, 26, 47, .08) !important;
  }

  #navbarNav.ypx-silicon-offcanvas .nav-link {
    width: 100% !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: .9rem 0 !important;
    color: #26364A !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #navbarNav.ypx-silicon-offcanvas .nav-link.active,
  #navbarNav.ypx-silicon-offcanvas .nav-link.show {
    color: var(--ypx-accent) !important;
  }

  #navbarNav.ypx-silicon-offcanvas .dropdown-toggle::after {
    margin-left: auto !important;
    transition: transform .18s ease !important;
  }

  #navbarNav.ypx-silicon-offcanvas .ypx-hover-dropdown.ypx-open > .dropdown-toggle::after {
    transform: rotate(180deg) !important;
  }

  #navbarNav.ypx-silicon-offcanvas .ypx-hover-dropdown > .dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    margin: 0 !important;
    padding: .35rem 0 .85rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
  }

  #navbarNav.ypx-silicon-offcanvas .ypx-hover-dropdown.ypx-open > .dropdown-menu,
  #navbarNav.ypx-silicon-offcanvas .ypx-hover-dropdown.show > .dropdown-menu,
  #navbarNav.ypx-silicon-offcanvas .dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  #navbarNav.ypx-silicon-offcanvas .d-lg-flex {
    display: block !important;
  }

  #navbarNav.ypx-silicon-offcanvas .ypx-silicon-mega {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }

  #navbarNav.ypx-silicon-offcanvas .ypx-silicon-mega-img {
    display: none !important;
  }

  #navbarNav.ypx-silicon-offcanvas .ypx-silicon-mega-col {
    width: 100% !important;
    min-width: 100% !important;
    padding: 0 !important;
  }

  #navbarNav.ypx-silicon-offcanvas .ypx-silicon-mega-col h6 {
    margin: .75rem 0 .5rem !important;
    padding: 0 !important;
    color: var(--ypx-accent-dark) !important;
    font-size: .7rem !important;
    font-weight: 950 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  #navbarNav.ypx-silicon-offcanvas .dropdown-item {
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    gap: .75rem !important;
    margin-bottom: .45rem !important;
    padding: .78rem .9rem !important;
    border-radius: .95rem !important;
    background: #F8F6F2 !important;
    color: #26364A !important;
    font-weight: 800 !important;
    white-space: normal !important;
  }

  #navbarNav.ypx-silicon-offcanvas .dropdown-item i {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: .8rem !important;
    background: rgba(198, 123, 77, .12) !important;
    color: var(--ypx-accent) !important;
    font-size: 1.15rem !important;
  }

  #navbarNav.ypx-silicon-offcanvas .dropdown-item:hover {
    background: rgba(198, 123, 77, .13) !important;
    color: var(--ypx-accent-dark) !important;
  }

  #navbarNav.ypx-silicon-offcanvas .offcanvas-header.border-top {
    padding: 1rem 1.1rem !important;
    background: #fff !important;
  }

  #navbarNav.ypx-silicon-offcanvas .ypx-mobile-actions {
    display: grid !important;
    gap: .75rem !important;
    width: 100% !important;
  }

  #navbarNav.ypx-silicon-offcanvas .ypx-mobile-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: .9rem !important;
    font-weight: 850 !important;
  }
}

/* Backdrop por encima de la página */
.offcanvas-backdrop {
  z-index: 1200 !important;
}

/* Ocultar flotantes cuando el menú está abierto */
body:has(#navbarNav.show) .ypx-float-stack-v2,
body:has(#navbarNav.show) .ypx-floating-actions,
body:has(#navbarNav.show) .ypx-chatbot,
body:has(#navbarNav.show) .ypx-chatbot-v2 {
  display: none !important;
}

/* =========================================================
   NAVBAR YUPANIX DEFINITIVO
   Desktop: hover
   Móvil: click con .ypx-open
========================================================= */

/* Desktop */
@media (min-width: 992px) {
  .ypx-silicon-navbar .ypx-hover-dropdown {
    position: relative !important;
  }

  .ypx-silicon-navbar .ypx-hover-dropdown > .dropdown-menu {
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }

  .ypx-silicon-navbar .ypx-hover-dropdown:hover > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .ypx-silicon-navbar .ypx-hover-dropdown:hover > .nav-link,
  .ypx-silicon-navbar .ypx-hover-dropdown > .nav-link.active {
    color: var(--ypx-accent) !important;
  }

  .ypx-silicon-navbar .ypx-silicon-mega {
    width: min(820px, calc(100vw - 2rem)) !important;
    overflow: hidden !important;
  }

  .ypx-silicon-navbar .ypx-dropdown-clean {
    min-width: 230px !important;
  }
}

/* Móvil */
@media (max-width: 991.98px) {
  body {
    padding-top: 72px !important;
    overflow-x: hidden !important;
  }

  .ypx-silicon-navbar {
    min-height: 72px !important;
    z-index: 1090 !important;
  }

  .ypx-silicon-navbar .container {
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }

  .ypx-silicon-brand {
    max-width: calc(100vw - 90px) !important;
    margin-right: 0 !important;
    gap: .65rem !important;
  }

  .ypx-silicon-brand-icon {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
  }

  .ypx-silicon-brand-icon img {
    width: 30px !important;
    height: 30px !important;
    max-height: 30px !important;
    object-fit: contain !important;
  }

  .ypx-silicon-brand-text strong {
    font-size: 1.16rem !important;
  }

  .ypx-silicon-brand-text small {
    font-size: .55rem !important;
    letter-spacing: .07em !important;
  }

  .ypx-silicon-navbar .navbar-toggler {
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    box-shadow: none !important;
    margin-left: auto !important;
  }

  #navbarNav.ypx-silicon-offcanvas,
  #navbarNav.offcanvas {
    width: min(340px, 88vw) !important;
    max-width: 88vw !important;
    height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    color: var(--ypx-primary) !important;
    border-left: 1px solid rgba(10, 26, 47, .08) !important;
    box-shadow: -18px 0 55px rgba(10, 26, 47, .18) !important;
    z-index: 1205 !important;
  }

  #navbarNav .offcanvas-header {
    flex: 0 0 auto !important;
    min-height: 72px !important;
    padding: 1rem 1.1rem !important;
    background: #fff !important;
  }

  #navbarNav .offcanvas-title {
    color: var(--ypx-primary) !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
  }

  #navbarNav .offcanvas-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    padding: .85rem 1.1rem 1rem !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #fff !important;
  }

  #navbarNav .navbar-nav {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #navbarNav .nav-item {
    width: 100% !important;
    border-bottom: 1px solid rgba(10, 26, 47, .08) !important;
  }

  #navbarNav .nav-link {
    width: 100% !important;
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: .9rem 0 !important;
    color: #26364A !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #navbarNav .nav-link.active,
  #navbarNav .nav-link.show {
    color: var(--ypx-accent) !important;
  }

  #navbarNav .dropdown-toggle::after {
    margin-left: auto !important;
    transition: transform .18s ease !important;
  }

  #navbarNav .ypx-hover-dropdown.ypx-open > .dropdown-toggle::after,
  #navbarNav .ypx-hover-dropdown.ypx-open > .nav-link.dropdown-toggle::after {
    transform: rotate(180deg) !important;
  }

  #navbarNav .ypx-hover-dropdown > .dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    float: none !important;
    margin: 0 !important;
    padding: .35rem 0 .85rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
  }

  #navbarNav .ypx-hover-dropdown.ypx-open > .dropdown-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  #navbarNav .d-lg-flex {
    display: block !important;
  }

  #navbarNav .ypx-silicon-mega {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }

  #navbarNav .ypx-silicon-mega-img {
    display: none !important;
  }

  #navbarNav .ypx-silicon-mega-col {
    width: 100% !important;
    min-width: 100% !important;
    padding: 0 !important;
  }

  #navbarNav .ypx-silicon-mega-col h6 {
    margin: .75rem 0 .5rem !important;
    padding: 0 !important;
    color: var(--ypx-accent-dark) !important;
    font-size: .7rem !important;
    font-weight: 950 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
  }

  #navbarNav .dropdown-item {
    min-height: 56px !important;
    display: flex !important;
    align-items: center !important;
    gap: .75rem !important;
    margin-bottom: .45rem !important;
    padding: .78rem .9rem !important;
    border-radius: .95rem !important;
    background: #F8F6F2 !important;
    color: #26364A !important;
    font-weight: 800 !important;
    white-space: normal !important;
  }

  #navbarNav .dropdown-item i {
    width: 36px !important;
    height: 36px !important;
    flex: 0 0 36px !important;
    display: grid !important;
    place-items: center !important;
    border-radius: .8rem !important;
    background: rgba(198, 123, 77, .12) !important;
    color: var(--ypx-accent) !important;
    font-size: 1.15rem !important;
  }

  #navbarNav .dropdown-item:hover {
    background: rgba(198, 123, 77, .13) !important;
    color: var(--ypx-accent-dark) !important;
  }

  #navbarNav .offcanvas-header.border-top {
    flex: 0 0 auto !important;
    padding: 1rem 1.1rem !important;
    background: #fff !important;
  }

  #navbarNav .ypx-mobile-actions {
    width: 100% !important;
    display: grid !important;
    gap: .75rem !important;
  }

  #navbarNav .ypx-mobile-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: .9rem !important;
    font-weight: 850 !important;
  }

  .ypx-beta {
    font-size: .58rem !important;
    padding: .15rem .38rem !important;
  }
}

@media (max-width: 430px) {
  .ypx-silicon-brand-text strong {
    font-size: 1.05rem !important;
  }

  .ypx-silicon-brand-text small {
    font-size: .48rem !important;
  }

  .ypx-silicon-brand-icon {
    width: 40px !important;
    height: 40px !important;
    flex-basis: 40px !important;
  }

  .ypx-silicon-brand-icon img {
    width: 27px !important;
    height: 27px !important;
  }
}

/* Backdrop por encima de la página */
.offcanvas-backdrop {
  z-index: 1200 !important;
}

/* Ocultar flotantes cuando el menú móvil está abierto */
body:has(#navbarNav.show) .ypx-float-stack-v2,
body:has(#navbarNav.show) .ypx-floating-actions,
body:has(#navbarNav.show) .ypx-chatbot,
body:has(#navbarNav.show) .ypx-chatbot-v2 {
  display: none !important;
}

/* =========================================================
   FOOTER YUPANIX AISLADO / SIN CONFLICTOS
   Usa <footer class="ypx-site-footer">
========================================================= */

.ypx-site-footer {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 3.5rem 0 1.2rem;
  background:
    radial-gradient(circle at 8% 10%, rgba(198, 123, 77, 0.14), transparent 30%),
    linear-gradient(180deg, #0A1A2F 0%, #071220 100%);
  color: #fff;
  overflow: hidden;
}

.ypx-site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.35;
  pointer-events: none;
}

.ypx-site-footer .container {
  position: relative;
  z-index: 2;
}

.ypx-site-footer .ypx-footer-main {
  padding-bottom: 1.5rem;
}

.ypx-site-footer .ypx-footer-brand img {
  width: 96px;
  max-width: 100%;
  max-height: 56px;
  height: auto;
  object-fit: contain;
  display: block;
}

.ypx-site-footer .ypx-footer-text {
  max-width: 370px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.98rem;
  line-height: 1.75;
}

.ypx-site-footer .ypx-footer-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.ypx-site-footer .ypx-footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ypx-site-footer .ypx-footer-list li {
  margin-bottom: 0.65rem;
}

.ypx-site-footer .ypx-footer-list a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-weight: 500;
}

.ypx-site-footer .ypx-footer-list a:hover {
  color: #C67B4D;
  padding-left: 0.18rem;
}

.ypx-site-footer .ypx-footer-contact {
  display: flex;
  align-items: center;
}

.ypx-site-footer .ypx-footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.ypx-site-footer .ypx-footer-email i {
  color: #C67B4D;
  font-size: 1.15rem;
}

.ypx-site-footer .ypx-footer-email:hover {
  color: #F4BE94;
}

.ypx-site-footer .ypx-footer-social-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.ypx-site-footer .ypx-footer-social {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  font-size: 1.2rem;
  line-height: 1;
  transition: all 0.22s ease;
}

.ypx-site-footer .ypx-footer-social i {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
}

.ypx-site-footer .ypx-footer-social:hover {
  background: #C67B4D;
  border-color: #C67B4D;
  color: #fff;
  transform: translateY(-2px);
}

.ypx-site-footer .ypx-footer-newsletter {
  margin: 1.3rem 0 1.2rem;
  padding: 1.25rem 1.4rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ypx-site-footer .ypx-footer-newsletter h5 {
  color: #fff;
  font-weight: 900;
}

.ypx-site-footer .ypx-footer-newsletter p {
  color: rgba(255, 255, 255, 0.68);
}

.ypx-site-footer .ypx-newsletter-form .input-group {
  min-height: 54px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.ypx-site-footer .ypx-newsletter-form .input-group-text {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  padding-left: 1.2rem;
}

.ypx-site-footer .ypx-newsletter-form .form-control {
  min-height: 54px;
  border: 0;
  background: transparent;
  color: #fff;
}

.ypx-site-footer .ypx-newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.ypx-site-footer .ypx-newsletter-form .form-control:focus {
  box-shadow: none;
  background: transparent;
  color: #fff;
}

.ypx-site-footer .ypx-newsletter-form .btn {
  border-radius: 999px !important;
  margin: 0.35rem;
  padding-left: 1.3rem;
  padding-right: 1.3rem;
  font-weight: 850;
}

.ypx-site-footer .ypx-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
}

.ypx-site-footer .ypx-footer-bottom p {
  margin: 0;
}

/* Evita que los botones flotantes tapen el footer */
.ypx-float-stack-v2,
.ypx-floating-actions {
  right: 26px !important;
  bottom: 22px !important;
  z-index: 1090 !important;
}

@media (max-width: 991.98px) {
  .ypx-site-footer {
    padding: 2.7rem 0 1.1rem;
  }

  .ypx-site-footer .ypx-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}

@media (max-width: 575.98px) {
  .ypx-site-footer {
    padding: 2.3rem 0 1rem;
  }

  .ypx-site-footer .ypx-footer-brand img {
    max-height: 46px;
  }

  .ypx-site-footer .ypx-footer-newsletter {
    padding: 1rem;
  }

  .ypx-site-footer .ypx-newsletter-form .input-group {
    display: block;
    border-radius: 1rem;
    padding: 0.5rem;
  }

  .ypx-site-footer .ypx-newsletter-form .input-group-text {
    display: none;
  }

  .ypx-site-footer .ypx-newsletter-form .form-control {
    width: 100%;
    min-height: 48px;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 0.55rem;
    padding-left: 1rem;
  }

  .ypx-site-footer .ypx-newsletter-form .btn {
    width: 100%;
    margin: 0;
  }

  .ypx-float-stack-v2,
  .ypx-floating-actions {
    right: 16px !important;
    bottom: 16px !important;
  }
}