/*
Theme Name: ComplyData
Theme URI: https://complydata.cl
Author: José Barrera
Author URI: https://complydata.cl
Description: Tema WordPress para ComplyData
Version: 1.0.0
Text Domain: complydata
*/
/* ==========================
   Fuentes
========================== */
/* Public Sans - Thin */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

/* Public Sans - Thin Italic */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-ThinItalic.ttf")
    format("truetype");
  font-weight: 100;
  font-style: italic;
}

/* Public Sans - ExtraLight */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-ExtraLight.ttf")
    format("truetype");
  font-weight: 200;
  font-style: normal;
}

/* Public Sans - ExtraLight Italic */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-ExtraLightItalic.ttf")
    format("truetype");
  font-weight: 200;
  font-style: italic;
}

/* Public Sans - Light */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

/* Public Sans - Light Italic */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-LightItalic.ttf")
    format("truetype");
  font-weight: 300;
  font-style: italic;
}

/* Public Sans - Regular */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* Public Sans - Italic (Regular Italic) */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}

/* Public Sans - Medium */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

/* Public Sans - Medium Italic */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-MediumItalic.ttf")
    format("truetype");
  font-weight: 500;
  font-style: italic;
}

/* Public Sans - SemiBold */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-SemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* Public Sans - SemiBold Italic */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-SemiBoldItalic.ttf")
    format("truetype");
  font-weight: 600;
  font-style: italic;
}

/* Public Sans - Bold */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* Public Sans - Bold Italic */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-BoldItalic.ttf")
    format("truetype");
  font-weight: 700;
  font-style: italic;
}

/* Public Sans - ExtraBold */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-ExtraBold.ttf")
    format("truetype");
  font-weight: 800;
  font-style: normal;
}

/* Public Sans - ExtraBold Italic */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-ExtraBoldItalic.ttf")
    format("truetype");
  font-weight: 800;
  font-style: italic;
}

/* Public Sans - Black */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

/* Public Sans - Black Italic */
@font-face {
  font-family: "Public Sans";
  src: url("assets/fonts/Public-Sans/PublicSans-BlackItalic.ttf")
    format("truetype");
  font-weight: 900;
  font-style: italic;
}

/* Century Gothic Paneuropean - Thin */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanThin.ttf")
    format("truetype");
  font-weight: 100;
  font-style: normal;
}

/* Century Gothic Paneuropean - Thin Italic */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanThinItalic.ttf")
    format("truetype");
  font-weight: 100;
  font-style: italic;
}

/* Century Gothic Paneuropean - Light */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanLight.ttf")
    format("truetype");
  font-weight: 300;
  font-style: normal;
}

/* Century Gothic Paneuropean - Light Italic */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanLightItalic.ttf")
    format("truetype");
  font-weight: 300;
  font-style: italic;
}

/* Century Gothic Paneuropean - Regular */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanRegular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* Century Gothic Paneuropean - Italic (Regular Italic) */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanItalic.ttf")
    format("truetype");
  font-weight: 400;
  font-style: italic;
}

/* Century Gothic Paneuropean - SemiBold */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanSemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* Century Gothic Paneuropean - SemiBold Italic */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanSemiBoldItalic.ttf")
    format("truetype");
  font-weight: 600;
  font-style: italic;
}

/* Century Gothic Paneuropean - Bold */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanBold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* Century Gothic Paneuropean - Bold Italic */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanBoldItalic.ttf")
    format("truetype");
  font-weight: 700;
  font-style: italic;
}

/* Century Gothic Paneuropean - ExtraBold */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanExtraBold.ttf")
    format("truetype");
  font-weight: 800;
  font-style: normal;
}

/* Century Gothic Paneuropean - ExtraBold Italic */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanExtraBoldItalic.ttf")
    format("truetype");
  font-weight: 800;
  font-style: italic;
}

/* Century Gothic Paneuropean - Black */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanBlack.ttf")
    format("truetype");
  font-weight: 900;
  font-style: normal;
}

/* Century Gothic Paneuropean - Black Italic */
@font-face {
  font-family: "Century Gothic Paneuropean";
  src: url("assets/fonts/Century-Gothic-Paneuropean/CenturyGothicPaneuropeanBlackItalic.ttf")
    format("truetype");
  font-weight: 900;
  font-style: italic;
}

/* SF Pro - Regular */
@font-face {
  font-family: "SF Pro";
  src: url("assets/fonts/SF-Pro/SFPRODISPLAYREGULAR.OTF") format("opentype");
  font-weight: 400;
  font-style: normal;
}

/* SF Pro - Medium */
@font-face {
  font-family: "SF Pro";
  src: url("assets/fonts/SF-Pro/SFPRODISPLAYMEDIUM.OTF") format("opentype");
  font-weight: 500;
  font-style: normal;
}

/* SF Pro - Semibold Italic */
@font-face {
  font-family: "SF Pro";
  src: url("assets/fonts/SF-Pro/SFPRODISPLAYSEMIBOLDITALIC.OTF")
    format("opentype");
  font-weight: 600;
  font-style: italic;
}

/* SF Pro - Bold */
@font-face {
  font-family: "SF Pro";
  src: url("assets/fonts/SF-Pro/SFPRODISPLAYBOLD.OTF") format("opentype");
  font-weight: 700;
  font-style: normal;
}

/* SF Pro - Heavy Italic */
@font-face {
  font-family: "SF Pro";
  src: url("assets/fonts/SF-Pro/SFPRODISPLAYHEAVYITALIC.OTF") format("opentype");
  font-weight: 800;
  font-style: italic;
}

/* SF Pro - Black Italic */
@font-face {
  font-family: "SF Pro";
  src: url("assets/fonts/SF-Pro/SFPRODISPLAYBLACKITALIC.OTF") format("opentype");
  font-weight: 900;
  font-style: italic;
}

/* SF Pro - Light Italic */
@font-face {
  font-family: "SF Pro";
  src: url("assets/fonts/SF-Pro/SFPRODISPLAYLIGHTITALIC.OTF") format("opentype");
  font-weight: 300;
  font-style: italic;
}

/* SF Pro - Thin Italic */
@font-face {
  font-family: "SF Pro";
  src: url("assets/fonts/SF-Pro/SFPRODISPLAYTHINITALIC.OTF") format("opentype");
  font-weight: 100;
  font-style: italic;
}

/* SF Pro - Ultralight Italic */
@font-face {
  font-family: "SF Pro";
  src: url("assets/fonts/SF-Pro/SFPRODISPLAYULTRALIGHTITALIC.OTF")
    format("opentype");
  font-weight: 200;
  font-style: italic;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

/* ==========================
   HEADER
========================== */

.header-complydata {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  padding: 50px 0;
}

.navbar-complydata {
  display: flex;
  align-items: center;
}

/* ==========================
   LOGO
========================== */

.logo-complydata {
  flex-shrink: 0;
}

.logo-complydata img {
  width: auto;
  max-height: 52px;
}

/* ==========================
   MENU
========================== */

.menu-complydata {
  gap: 20px;
  margin-right: 0 !important;
}

.menu-complydata .menu-item {
  list-style: none;
}

.menu-complydata .nav-link {
  color: #ffffff;
  font-family: Century Gothic Paneuropean;
  font-weight: 700;
  font-style: Bold;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 40px;
  letter-spacing: 0px;
  vertical-align: middle;
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu-complydata .nav-link:hover {
  color: #33ccff;
}

/* Página activa */

.menu-complydata .current-menu-item .nav-link,
.menu-complydata .current_page_item .nav-link,
.menu-complydata .current-menu-ancestor .nav-link,
.menu-complydata .nav-link.active {
  color: #33ccff;
}
.btn-planes-menu a {
  font-family: SF Pro;
  font-weight: 400 !important;
  font-style: Regular !important;
  font-size: 17px !important;
  leading-trim: NONE;
  line-height: 22px !important;
  letter-spacing: -0.43px !important;
  color: #ffffff;
  background-color: #3f67ea;
  padding: 14px 20px;
  border-radius: 47px;

  padding-top: 10px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}
.btn-planes-menu {
  display: flex;
  align-items: center;
}

/* ==========================
   CLASES INDIVIDUALES
========================== */

.menu-item-home {
}

.menu-item-modulos {
}

.menu-item-ley-21-719 {
}

.menu-item-contacto {
}

.menu-item-blog {
}

.menu-item-demo {
}

/* ==========================
   BOTON DEMO
========================== */

.cta-header {
  margin-left: 35px;
}

.btn-demo-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 180px;

  padding: 14px 30px;

  background: #062ba8;

  color: #ffffff;

  border-radius: 999px;

  text-decoration: none;

  font-size: 15px;
  font-weight: 600;

  transition: all 0.3s ease;
}

.btn-demo-header:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================
   HERO
========================== */

.hero-complydata {
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* ==========================
   SECCIONES
========================== */

.section-padding {
  padding: 100px 0;
}

/* ==========================
   FOOTER
========================== */

.footer-complydata {
  background-image: url("assets/img/background-footer-complydata.webp");
  background-size: cover;
}

.container-940 {
  max-width: 940px;
  margin: 0 auto;
  padding: 0;
}
.container-1125 {
  width: calc(100% - 30px);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* bloque interno que se alinea con el final del 940 */
.container-1125 .align-940-end {
  margin-right: calc((100vw - 989px) / 2);
}

.section-full {
  width: 100%;
}

/* Contenedor que tendrá el efecto */
.grid-effect {
  position: relative; /* Para que el canvas se posicione dentro */
  overflow: hidden; /* Evita que el canvas se salga */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* La imagen se define inline o con una clase adicional */
}

/* Canvas dentro del contenedor */
.grid-effect canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none; /* Permite que los eventos de mouse pasen al contenedor */
  z-index: 1;
}

/* Contenido por encima del canvas */
.grid-effect .grid-content {
  position: relative;
  z-index: 2;
  /* Asegura que el contenido esté por encima */
}

/* ==========================
   ANIMACIONES AL HACER SCROLL
   (Solo con clases CSS)
========================== */

/* Estado inicial: oculto y con transformaciones */
.animate-on-scroll {
  opacity: 0;
  transition: none;
}

/* Clases de animación: se activan al tener .is-visible */
.animate-on-scroll.is-visible.fade-in {
  animation: fadeIn var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible.fade-in-up {
  animation: fadeInUp var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible.fade-in-down {
  animation: fadeInDown var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible.fade-in-left {
  animation: fadeInLeft var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible.fade-in-right {
  animation: fadeInRight var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible.slide-left {
  animation: slideLeft var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible.slide-right {
  animation: slideRight var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible.slide-up {
  animation: slideUp var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible.slide-down {
  animation: slideDown var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible.zoom-in {
  animation: zoomIn var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible.zoom-out {
  animation: zoomOut var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}
.animate-on-scroll.is-visible.flip {
  animation: flip var(--duration, 0.8s) ease forwards;
  animation-delay: var(--delay, 0s);
}

/* ==========================
   KEYFRAMES
========================== */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes zoomIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes zoomOut {
  0% {
    opacity: 0;
    transform: scale(1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes flip {
  0% {
    opacity: 0;
    transform: perspective(600px) rotateY(90deg);
  }
  100% {
    opacity: 1;
    transform: perspective(600px) rotateY(0);
  }
}

/* ==========================
   OPCIONAL: Retrasos y duraciones personalizadas
   usando clases adicionales
========================== */
.delay-0s {
  --delay: 0s;
}
.delay-0-2s {
  --delay: 0.2s;
}
.delay-0-4s {
  --delay: 0.4s;
}
.delay-0-6s {
  --delay: 0.6s;
}
.delay-0-8s {
  --delay: 0.8s;
}
.delay-1s {
  --delay: 1s;
}
.delay-1-2s {
  --delay: 1.2s;
}
.delay-1-5s {
  --delay: 1.5s;
}
.delay-2s {
  --delay: 2s;
}

.duration-0-5s {
  --duration: 0.5s;
}
.duration-0-8s {
  --duration: 0.8s;
}
.duration-1s {
  --duration: 1s;
}
.duration-1-2s {
  --duration: 1.2s;
}
.duration-1-5s {
  --duration: 1.5s;
}
.duration-2s {
  --duration: 2s;
}

.footer-complydata {
  padding-top: 76px;
  padding-bottom: 45px;
}

.footer-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-menu-wrapper .menu-complydata {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.footer-menu-wrapper .menu-complydata li {
  list-style: none;
}

.footer-menu-wrapper .menu-complydata a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-menu-wrapper .menu-complydata a:hover {
  opacity: 0.8;
}

.footer-demo-btn {
  border-radius: 999px;
  padding: 14px 28px;
}

/* Mobile: sigue visible, pero apilado */
@media (max-width: 991px) {
  .footer-navbar {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .footer-menu-wrapper .menu-complydata {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .bleed-left {
    margin-left: calc((100vw - 1125px) / -2);
  }

  .bleed-right {
    margin-right: calc((100vw - 1125px) / -2);
  }
}

/* ==========================
   MOBILE
========================== */
@media (max-width: 991px) {


  .navbar-collapse {
    margin-top: 20px;
  }

  .menu-complydata {
    gap: 15px;
  }

  .menu-complydata .nav-link {
    padding: 10px 0;
  }

  .cta-header {
    margin-left: 0;
    margin-top: 20px;
  }

  .btn-demo-header {
    width: 100%;
  }
}
