/* ==========================================================================
   Landing publica de Go-PYME (index.php) y pantalla de login
   (views/iniciarSesion/viewIniciarSesion.php). Reutiliza los tokens de
   assets/css/lavadero-ui.css (--lav-*, .btn-lav-*) para que el sitio publico
   y la app interna compartan un mismo sistema visual.
   ========================================================================== */

/* ---- Tipografia: Outfit en vez de la sans-serif por defecto del sistema,
   que es la principal razon por la que una pagina hecha con Bootstrap sin
   tocar la tipografia se lee como plantilla generica/vieja. ---- */
body.layout-3,
body.layout-3 .btn,
body.layout-3 input,
body.layout-3 textarea {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.layout-3 h1,
body.layout-3 h2,
body.layout-3 h3,
body.layout-3 h4,
body.layout-3 h5,
body.layout-3 h6 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -.01em;
}

/* ---- Barra superior publica: mismo tratamiento de sombra que la app ---- */
.main-wrapper .main-navbar {
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid var(--lav-border);
  padding-top: 14px;
  padding-bottom: 14px;
}

.navbar-secondary {
  background: #fff;
  border-bottom: 1px solid var(--lav-border);
}

.navbar-secondary .nav-link {
  color: #495057;
  font-weight: 500;
}

.navbar-secondary .nav-item.active .nav-link,
.navbar-secondary .nav-link:hover {
  color: #2f6fd6;
}

/* ---- Hero principal ----
   Colores tomados directamente del propio logo GO-PYME (el aro tipo
   "pinwheel" junto a la G: azul, morado, verde, turquesa) en vez de un azul
   corporativo generico — asi el hero se siente de la marca, no de una
   plantilla. Full-bleed (se sale del .container de Bootstrap) para que el
   color respire en toda la pantalla. */
body {
  overflow-x: hidden;
}

.lav-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 56px;
  overflow: hidden;
  background: linear-gradient(120deg, #123a63 0%, #1c6ca8 45%, #6a3d9a 100%);
  padding: 88px 24px 96px;
  color: #fff;
}

.lav-hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
}

.lav-hero-blob-1 {
  width: 460px;
  height: 460px;
  top: -180px;
  right: -80px;
  background: radial-gradient(circle, rgba(38, 198, 176, .55) 0%, rgba(38, 198, 176, 0) 70%);
}

.lav-hero-blob-2 {
  width: 380px;
  height: 380px;
  bottom: -160px;
  left: 6%;
  background: radial-gradient(circle, rgba(156, 39, 176, .45) 0%, rgba(156, 39, 176, 0) 70%);
}

.lav-hero-copy {
  position: relative;
  z-index: 1;
  animation: lavHeroRise .6s cubic-bezier(.16, 1, .3, 1) both;
}

.lav-hero-badge-col {
  animation: lavHeroRise .7s .1s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes lavHeroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .lav-hero-copy,
  .lav-hero-badge-col {
    animation: none;
  }
}

.lav-hero-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 12px;
  color: #7fe8d4;
  margin-bottom: 14px;
}

.lav-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .15);
}

.lav-hero-lead {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .88);
  max-width: 46ch;
}

.lav-hero-cta.btn {
  background: #fff !important;
  border: none !important;
  color: #1c3f6b !important;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}

.lav-hero-cta.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .3);
  color: #123a63 !important;
}

.lav-hero-badge-col {
  position: relative;
  z-index: 1;
}

.lav-hero-badge {
  display: inline-block;
  background: #fff;
  border-radius: 28px;
  padding: 36px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  transform: rotate(-4deg);
}

.lav-hero-logo {
  width: 260px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .lav-hero { padding: 56px 16px 64px; }
  .lav-hero-title { font-size: 2rem; }
  .lav-hero-badge-col { margin-top: 32px; }
  .lav-hero-badge { transform: none; }
}

/* ---- Pastillas de servicios de asesoria ---- */
.lav-pill-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--lav-border);
  border-radius: var(--lav-radius);
  padding: 18px 10px;
  font-size: 13px;
  font-weight: 600;
  color: #495057;
  box-shadow: var(--lav-shadow);
  transition: box-shadow .15s ease, transform .15s ease;
  height: 100%;
}

.lav-pill-tag:hover {
  box-shadow: var(--lav-shadow-hover);
  transform: translateY(-2px);
}

.lav-pill-tag i {
  font-size: 22px;
  color: #3b82f6;
}

/* Nota: los colores .lav-c-* y el chip .lav-feature-icon viven en
   assets/css/lavadero-ui.css (no aqui) porque tambien los usan las
   vistas internas de la app, que no cargan landing.css. */

/* ---- Tarjetas de caracteristicas (4 columnas) ---- */
.lav-feature-card {
  background: #fff;
  border-radius: var(--lav-radius);
  box-shadow: var(--lav-shadow);
  padding: 28px 20px;
  text-align: center;
  height: 100%;
  margin-bottom: 24px;
  transition: box-shadow .15s ease, transform .15s ease;
}

.lav-feature-card:hover {
  box-shadow: var(--lav-shadow-hover);
  transform: translateY(-2px);
}

.lav-feature-card p {
  color: #495057;
  font-size: 14px;
  margin-bottom: 0;
}

.lav-feature-card:hover .lav-feature-icon {
  transform: scale(1.08);
}

/* ---- Pantalla de login: dos paneles a pantalla completa (marca + formulario),
   patron habitual de apps SaaS actuales en vez de una tarjeta flotando sobre
   un fondo generico. ---- */
.lav-login-screen {
  min-height: 100vh;
  display: flex;
}

.lav-login-brand-pane {
  flex: 1 1 46%;
  position: relative;
  background: linear-gradient(150deg, #123a63 0%, #1c6ca8 45%, #6a3d9a 100%);
  color: #fff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.lav-login-brand-pane::before,
.lav-login-brand-pane::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
}

.lav-login-brand-pane::before {
  width: 380px;
  height: 380px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(38, 198, 176, .5) 0%, rgba(38, 198, 176, 0) 70%);
}

.lav-login-brand-pane::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(156, 39, 176, .4) 0%, rgba(156, 39, 176, 0) 70%);
}

.lav-login-home-link {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .85);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.lav-login-home-link:hover {
  color: #fff;
}

.lav-login-brand-pane-body {
  position: relative;
  z-index: 1;
  margin: auto 0;
  max-width: 440px;
}

.lav-login-brand-logo {
  width: 170px;
  margin-bottom: 28px;
}

.lav-login-brand-pane-body h2 {
  font-weight: 800;
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.lav-login-brand-pane-body > p {
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.lav-login-brand-badge {
  display: inline-block;
  background: #fff;
  border-radius: 20px;
  padding: 18px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  transform: rotate(-3deg);
}

.lav-login-brand-badge img {
  width: 170px;
  display: block;
}

.lav-login-form-pane {
  flex: 1 1 54%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 48px 24px;
}

.lav-login-form-col {
  width: 100%;
  max-width: 380px;
}

.lav-login-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: #eaf1fe;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.lav-login-form-col h4 {
  font-weight: 800;
  margin-bottom: 6px;
  font-size: 1.6rem;
}

.lav-login-subtitle {
  color: var(--lav-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.lav-login-form-col .form-control {
  border-radius: 10px;
  height: 48px;
  border-color: var(--lav-border);
}

.lav-login-form-col .form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}

.lav-login-form-col label {
  font-weight: 600;
  font-size: 13px;
}

@media (max-width: 991px) {
  .lav-login-screen {
    flex-direction: column;
  }

  .lav-login-brand-pane {
    flex: none;
    padding: 24px 24px 48px;
  }

  .lav-login-brand-pane-body {
    margin: 24px 0 0;
  }

  .lav-login-brand-pane-body h2 {
    font-size: 1.5rem;
  }

  .lav-login-brand-badge {
    transform: none;
  }

  .lav-login-form-pane {
    padding: 40px 24px 56px;
  }
}

/* ---- Footer publico: mismo degradado de marca que el hero y el login
   (en vez de un navy plano generico) para que el arranque y el cierre de
   la pagina se sientan de la misma familia visual. Full-bleed igual que
   el hero (se sale del .container de 960px) para no quedar como un
   rectangulo angosto flotando con margenes blancos a los lados. Los
   chips de color de cada icono retoman la paleta real del logo GO-PYME
   (azul/morado/verde/turquesa), la misma que ya usan las tarjetas de
   servicios — asi los colores quedan atados a la marca del negocio en
   vez de a un turquesa generico. ---- */
.lav-footer {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: linear-gradient(135deg, #0f2a4a 0%, #123a63 55%, #1c3f6b 100%);
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 0;
  margin-top: 40px;
  overflow: hidden;
}

.lav-footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}

.lav-footer-badge {
  display: inline-block;
  background: #fff;
  border-radius: 14px;
  padding: 10px 16px;
  margin-bottom: 14px;
}

.lav-footer-badge img {
  width: 130px;
  display: block;
}

.lav-footer-tagline {
  font-size: 14px;
  max-width: 26ch;
  line-height: 1.6;
}

.lav-footer ul.list-unstyled li {
  margin: 0 0 12px;
}

.lav-footer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin: 0;
  padding: 0;
  overflow-wrap: anywhere;
  transition: color .15s ease, transform .15s ease;
}

.lav-footer-link:hover {
  color: #fff;
  text-decoration: none;
  transform: translateX(3px);
}

.lav-footer-link i {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

/* Un color de marca por enlace, tomado del aro del logo GO-PYME */
.lav-footer ul.list-unstyled li:nth-child(1) .lav-footer-link i { background: rgba(58, 167, 224, .22); color: #7cc4ef; }
.lav-footer ul.list-unstyled li:nth-child(2) .lav-footer-link i { background: rgba(34, 167, 93, .22); color: #6fdb9d; }
.lav-footer ul.list-unstyled li:nth-child(3) .lav-footer-link i { background: rgba(26, 188, 156, .22); color: #6fe3cf; }
.lav-footer ul.list-unstyled li:nth-child(4) .lav-footer-link i { background: rgba(156, 39, 176, .22); color: #d18ade; }

.lav-footer-bottom {
  margin-top: 44px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

.lav-footer-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  margin: 0 8px;
  vertical-align: middle;
}

.footer-social-container .social-icon-call a,
.footer-social-container .social-icon-whatsapp a {
  box-shadow: var(--lav-shadow-hover);
}

/* ---- Encabezado de paginas de contenido (Nosotros/Asesores): reemplaza
   el header "Inicio" fantasma que Stisla solo mostraba en tablet/mobile
   por un titulo real, consistente con la tipografia del resto del sitio. ---- */
.lav-page-header {
  padding: 48px 0 8px;
  text-align: center;
}

.lav-page-header-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 12px;
  color: #1c6ca8;
  margin-bottom: 10px;
}

.lav-page-header h1 {
  font-size: 2.1rem;
  font-weight: 800;
  color: #123a63;
  margin-bottom: 10px;
}

.lav-page-header p {
  color: var(--lav-muted);
  font-size: 15px;
  max-width: 56ch;
  margin: 0 auto;
}

.lav-page-header-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  margin-bottom: 14px;
}

/* ---- Tarjetas de contenido largo (Mision/Vision): reusan el chip de
   icono coloreado de .lav-feature-icon pero con texto alineado a la
   izquierda, mas legible para parrafos largos que un feature-card
   centrado. ---- */
.lav-info-card {
  background: #fff;
  border-radius: var(--lav-radius);
  box-shadow: var(--lav-shadow);
  padding: 32px 28px;
  height: 100%;
  transition: box-shadow .15s ease, transform .15s ease;
}

.lav-info-card:hover {
  box-shadow: var(--lav-shadow-hover);
  transform: translateY(-2px);
}

.lav-info-card h3 {
  font-weight: 800;
  font-size: 1.2rem;
  margin: 4px 0 14px;
  color: #123a63;
}

.lav-info-card p {
  color: #495057;
  font-size: 14.5px;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 0;
}

/* ---- Tarjetas de asesores: mismo lenguaje visual (sombra, radio,
   hover-lift) que el resto del sitio, sin el borde superior de color
   solido que traia .card-primary del template. ---- */
.lav-advisor-card {
  background: #fff;
  border-radius: var(--lav-radius);
  box-shadow: var(--lav-shadow);
  padding: 30px;
  margin-bottom: 24px;
  transition: box-shadow .15s ease, transform .15s ease;
}

.lav-advisor-card:hover {
  box-shadow: var(--lav-shadow-hover);
  transform: translateY(-2px);
}

.lav-advisor-card .author-box-picture {
  width: 100px;
  height: 100px;
  object-fit: cover;
  box-shadow: 0 0 0 4px #fff, 0 4px 16px rgba(17, 24, 39, .14);
}

.lav-advisor-card .author-box-name a {
  color: #123a63;
  font-weight: 800;
  font-size: 17px;
}

.lav-advisor-card .author-box-name a:hover {
  color: #1c6ca8;
}

.lav-advisor-card .author-box-job {
  color: #1c6ca8;
  font-size: 12.5px;
}

.lav-advisor-card .author-box-description {
  color: #495057;
  font-size: 14px;
  line-height: 1.8;
}

.lav-advisor-card .btn-icons {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf1fe;
  color: #3b82f6;
  transition: transform .15s ease, background .15s ease;
}

.lav-advisor-card .btn-icons:hover {
  transform: translateY(-2px);
  background: #dbe8fd;
  color: #3b82f6;
}

.lav-advisor-card .btn-icons.btn-instagram {
  background: #f5e6f7;
  color: #9c27b0;
}

.lav-advisor-card .btn-icons.btn-instagram:hover {
  background: #efd6f2;
  color: #9c27b0;
}
