/**
 * Venta Simplify — Hero + header brand polish
 * Brand: #0e6bd0 (blue) · #ff6620 (orange)
 */

:root {
  --vs-blue: #0e6bd0;
  --vs-blue-deep: #0a4f9e;
  --vs-blue-dark: #083d7a;
  --vs-orange: #ff6620;
  --vs-orange-deep: #e55510;
  --vs-orange-soft: rgba(255, 102, 32, 0.22);
}

/* ========== Preloader ========== */
.preloader {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0e6bd0 !important;
  background-image: none !important;
}

.vs-preloader {
  position: relative;
  width: 108px;
  height: 108px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vs-preloader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: #ffffff;
  border-right-color: rgba(255, 102, 32, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 16px 36px rgba(8, 61, 122, 0.28);
  animation: vs-preloader-spin 1.1s linear infinite;
}

.vs-preloader__ring--delay {
  inset: 14px;
  border-width: 2px;
  border-top-color: rgba(255, 255, 255, 0.92);
  border-right-color: rgba(255, 102, 32, 0.7);
  animation-duration: 1.6s;
  animation-direction: reverse;
}

.vs-preloader__core {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ff6620;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.08),
    0 0 28px rgba(255, 102, 32, 0.35);
  animation: vs-preloader-pulse 1.25s ease-in-out infinite;
}

@keyframes vs-preloader-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes vs-preloader-pulse {
  0%, 100% { transform: scale(0.9); opacity: 0.9; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* ========== Header: flex layout, sin solapes ========== */
.main-header.home-3 .outer-container {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
}

.main-header.home-3 .landing-logo--color {
  filter: none !important;
  background: transparent;
  max-width: 220px !important;
  max-height: 132px !important;
}

.main-header.home-3 .outer-container .container,
.main-header.home-3 .main-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.main-header.home-3 .logo-box,
.main-header.home-3 .logo-box.pull-left {
  float: none !important;
  flex: 0 0 auto;
}

.main-header.home-3 .outer-container .logo-box .logo {
  padding: 14px 0;
}

.main-header.home-3 .menu-area,
.main-header.home-3 .menu-area.pull-right {
  float: none !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}

.main-header.home-3 .main-menu {
  float: none !important;
}

.main-header.home-3 .menu-area .btn-box {
  position: relative;
  float: none !important;
  margin: 0 !important;
  order: 2;
}

.main-header.home-3 .menu-area .mobile-nav-toggler {
  float: none !important;
  margin: 0 !important;
  order: 3;
  padding: 8px;
}

.main-header.home-3 .menu-area .btn-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 22px;
  border-radius: 999px;
  background: #ff6620;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(255, 102, 32, 0.35);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.main-header.home-3 .menu-area .btn-box a:before,
.main-header.home-3 .menu-area .btn-box a:after {
  display: none !important;
}

.main-header.home-3 .menu-area .btn-box a:hover {
  background: #e55510;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 102, 32, 0.42);
}

/* Sticky: azul marca + logo horizontal; ocultar logo del banner al scroll */
.sticky-header {
  background: #0e6bd0 !important;
  box-shadow: 0 6px 18px rgba(10, 22, 40, 0.18) !important;
  min-height: 0 !important;
}

/* Evita doble logo: el header absoluto del banner se oculta al activar sticky */
.main-header.fixed-header .outer-container {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.sticky-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding-top: 0;
  padding-bottom: 0;
}

.sticky-header .landing-logo--sticky {
  filter: none !important;
  width: auto !important;
  height: 52px !important;
  max-width: 320px !important;
  max-height: 52px !important;
  object-fit: contain !important;
}

.sticky-header .menu-area {
  float: none !important;
  display: flex;
  align-items: center;
  margin: 0;
}

.sticky-header .main-menu .navigation > li > a {
  padding: 10px 18px !important;
  line-height: 1.2 !important;
}

.scroll-top:hover {
  background: #ff6620 !important;
  box-shadow: 0 8px 20px rgba(255, 102, 32, 0.35);
}

.theme-btn-two {
  background: #ff6620 !important;
  border-color: transparent !important;
}

.sec-title h2,
.sec-title .title {
  color: #0e6bd0;
}

/* ========== Hero ========== */
.vs-hero.banner-style-three {
  position: relative;
  overflow: hidden;
  padding: 150px 0 100px;
  background:
    radial-gradient(ellipse 70% 60% at 70% 45%, rgba(14, 107, 208, 0.22), transparent 60%),
    #0a1628;
}

.vs-hero.banner-style-three .image-layer {
  display: none !important;
}

/* Legacy glow/grid layers (si quedan en cache) */
.vs-hero-glow,
.vs-hero-grid {
  display: none !important;
}

.vs-hero .container {
  position: relative;
  z-index: 2;
  overflow: visible;
}

.vs-hero-row {
  overflow: visible;
}

.vs-hero .content-box .top-text,
.vs-hero .vs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  margin-bottom: 1.15rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(8, 61, 122, 0.18);
}

.vs-hero .vs-hero-badge i {
  color: #ff6620;
  font-size: 0.78rem;
}

.vs-hero .content-box h1 {
  margin-bottom: 1.1rem;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.vs-hero .content-box h1 span {
  color: #ff6620;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  font-weight: 800;
}

.vs-hero .content-box .text {
  margin-bottom: 1.25rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.65;
}

.vs-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.vs-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.vs-hero-pill:hover {
  background: rgba(255, 102, 32, 0.22);
  border-color: rgba(255, 102, 32, 0.55);
  transform: translateY(-1px);
}

.vs-hero-pill i {
  color: #ff6620;
  font-size: 0.72rem;
}

.vs-hero .vs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
}

.vs-hero .vs-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.4rem 0.55rem 0.55rem;
  border-radius: 999px;
  background: #ff6620;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 28px rgba(255, 102, 32, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.vs-hero .vs-hero-cta:hover {
  color: #fff;
  background: #e55510;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 102, 32, 0.42);
}

.vs-hero .vs-hero-cta__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.75rem;
}

.vs-hero .vs-hero-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 2px;
  opacity: 0.95;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.vs-hero .vs-hero-link:hover {
  color: #fff;
  border-color: #ff6620;
}

.vs-hero .image-column {
  position: relative;
  z-index: 2;
}

/* Showcase: sin márgenes negativos agresivos (evita solape con header) */
.vs-hero-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 720px;
  margin: 0 0 0 auto;
  min-height: 0;
  padding-bottom: 48px;
}

.vs-hero-trust {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 61, 122, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(8, 61, 122, 0.2);
}

.vs-hero-trust__item {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
}

.vs-hero-trust__value {
  display: block;
  color: #ff6620;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.vs-hero-trust__label {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.vs-hero-trust__divider {
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.vs-hero-devices {
  position: relative;
  width: 100%;
}

.vs-hero-tip {
  position: absolute;
  left: 8px;
  top: 14%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 240px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 102, 32, 0.55);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 32px rgba(8, 61, 122, 0.22);
}

.vs-hero-tip__dot {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--vs-orange);
  box-shadow: 0 0 0 4px rgba(255, 102, 32, 0.22);
  animation: vs-hero-tip-pulse 2s ease-in-out infinite;
}

.vs-hero-tip__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.vs-hero-tip__text strong {
  color: #0b3d74;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.vs-hero-tip__text small {
  color: #64748b;
  font-size: 11px;
  line-height: 1.3;
}

@keyframes vs-hero-tip-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 102, 32, 0.2); }
  50% { box-shadow: 0 0 0 7px rgba(255, 102, 32, 0.08); }
}

.vs-device-laptop {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.6s ease;
  filter: drop-shadow(0 28px 48px rgba(8, 61, 122, 0.4));
}

.vs-device-laptop:hover {
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.vs-device-laptop__bezel {
  background: linear-gradient(180deg, #1e3a5f 0%, #0f2744 100%);
  border-radius: 16px 16px 10px 10px;
  padding: 12px 12px 14px;
  box-shadow:
    0 24px 60px rgba(8, 61, 122, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(255, 102, 32, 0.15);
}

.vs-device-laptop__chrome {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
  padding-left: 4px;
}

.vs-device-laptop__chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #64748b;
}

.vs-device-laptop__chrome span:nth-child(1) { background: #f87171; }
.vs-device-laptop__chrome span:nth-child(2) { background: #fbbf24; }
.vs-device-laptop__chrome span:nth-child(3) { background: #34d399; }

.vs-device-laptop .vs-product-frame--hero {
  border-radius: 8px;
  box-shadow: none;
  border: none;
  overflow: hidden;
}

.vs-device-laptop__base {
  height: 12px;
  margin: 0 auto;
  width: 108%;
  margin-left: -4%;
  background: linear-gradient(180deg, #c5d4e8, #8aa3c4);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 18px rgba(8, 61, 122, 0.16);
}

.vs-hero-phone {
  position: absolute;
  right: 0;
  bottom: -36px;
  width: clamp(170px, 26%, 230px);
  height: auto;
  z-index: 4;
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 22px 36px rgba(8, 61, 122, 0.42));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.vs-hero-phone:hover {
  transform: translateY(-8px);
  filter: drop-shadow(0 28px 42px rgba(8, 61, 122, 0.48));
}

/* ========== Responsive — producción seguro ========== */
@media (max-width: 1199px) {
  .vs-hero.banner-style-three {
    padding: 130px 0 80px;
  }

  .vs-hero-showcase {
    max-width: 100%;
    margin: 0;
    padding-bottom: 40px;
  }

  .vs-hero-phone {
    width: clamp(150px, 24vw, 200px);
    right: 4px;
    bottom: -28px;
  }

  .vs-hero-tip {
    left: 4px;
    max-width: 210px;
  }

  /* Mantener Ingresar alineado junto al menú hamburguesa */
  .main-header.home-3 .menu-area .btn-box {
    display: block !important;
  }
}

@media (max-width: 991px) {
  .vs-hero.banner-style-three {
    padding: 120px 0 70px;
  }

  .vs-hero-showcase {
    margin: 2rem auto 0;
    width: 100%;
    max-width: 560px;
    padding-bottom: 36px;
  }

  .vs-device-laptop {
    transform: none;
  }

  .vs-device-laptop:hover {
    transform: translateY(-4px);
  }

  .vs-hero-phone {
    width: 160px;
    right: 8px;
    bottom: -20px;
  }

  .vs-hero-tip {
    top: 10%;
  }

  .vs-hero-glow {
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .vs-hero.banner-style-three {
    padding: 110px 0 56px;
  }

  .main-header.home-3 .outer-container .logo-box .logo {
    padding: 16px 0;
  }

  .main-header.home-3 .menu-area .btn-box {
    display: none !important;
  }

  .vs-hero .content-box h1 {
    font-size: 32px;
  }

  .vs-hero-trust {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px;
  }

  .vs-hero-trust__divider {
    width: 100%;
    height: 1px;
  }

  .vs-hero-trust__item {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .vs-hero-tip {
    position: relative;
    left: auto;
    top: auto;
    max-width: none;
    width: 100%;
    margin: 0 0 12px;
  }

  .vs-hero-phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(220px, 58vw);
    margin: 1.1rem auto 0;
  }

  .vs-hero-showcase {
    align-items: center;
    padding-bottom: 0;
  }

  .vs-hero-actions {
    flex-direction: column;
    align-items: flex-start !important;
  }

  .vs-hero-glow--orange,
  .vs-hero-glow--blue,
  .vs-hero-glow--soft {
    filter: blur(48px);
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vs-hero-glow,
  .vs-hero-tip__dot {
    animation: none !important;
  }
}
