/* ============================================================
   Activos Digitales S.A.S. — Hoja de estilos principal
   Contiene el tema visual (colores, degradados, tipografías)
   compartido por TODAS las páginas del sitio (index, kyc,
   preguntas, etc.) para conservar la uniformidad.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{
  --color-primary: #00040f;      /* fondo principal (negro azulado) */
  --color-dim-white: #ffffffb3;  /* texto secundario */
  --color-white: #ffffff;
  --gold: #ffd700;

  --black-gradient: linear-gradient(144.39deg, #ffffff -278.56%, #6d6d6d -78.47%, #11101d 91.61%);
  --card-shadow: 0px 20px 100px -10px rgba(66, 71, 91, .1);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: var(--color-primary);
  color: var(--color-white);
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ text-decoration: none; color: inherit; }
ul{ margin: 0; padding: 0; }
button{ font-family: 'Poppins', sans-serif; border: none; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.flex-center{ display:flex; justify-content:center; align-items:center; }
.flex-start{ display:flex; justify-content:center; align-items:flex-start; }
.section{ display:flex; flex-direction: column; padding: 24px 0; }
.section-reverse{ display:flex; flex-direction: column-reverse; padding: 24px 0; }
.section-info{ flex:1; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.section-img{ flex:1; display:flex; justify-content:center; align-items:center; position:relative; margin-top: 40px; }
.section-img-reverse{ flex:1; display:flex; justify-content:center; align-items:center; position:relative; margin-top: 40px; }

@media (min-width: 768px){
  .section{ flex-direction: row; padding: 64px 0; }
  .section-reverse{ flex-direction: row-reverse; padding: 64px 0; }
  .section-img{ margin-top:0; margin-left: 40px; }
  .section-img-reverse{ margin-top:0; margin-right: 40px; }
}

.heading2{
  font-weight: 600;
  font-size: 40px;
  line-height: 66.8px;
  width: 100%;
}
@media (min-width: 480px){
  .heading2{ font-size: 48px; line-height: 76.8px; }
}

.paragraph{
  font-weight: 400;
  font-size: 18px;
  line-height: 30.8px;
  color: var(--color-dim-white);
}

.text-gradient{
  background: radial-gradient(64.18% 64.18% at 71.16% 35.69%, #def9fa .89%, #bef3f5 17.23%, #9dedf0 42.04%, #7de7eb 55.12%, #5ce1e6 71.54%, #33bbcf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-blue-gradient{
  background: linear-gradient(157.81deg, #def9fa -43.27%, #bef3f5 -21.24%, #9dedf0 12.19%, #7de7eb 29.82%, #5ce1e6 51.94%, #33bbcf 90.29%);
}
.bg-black-gradient{ background: var(--black-gradient); }
.bg-black-gradient-2{ background: linear-gradient(-168.39deg, #ffffff -278.56%, #6d6d6d -78.47%, #11101d 91.61%); }

.blue-gradient-blob{ background: linear-gradient(180deg, rgba(188,165,255,0) 0%, #214d76 100%); filter: blur(123px); }
.pink-gradient-blob{ background: linear-gradient(90deg, #f4c4f3 0%, #fc67fa 100%); filter: blur(900px); }
.white-gradient-blob{ background: rgba(255,255,255,.6); filter: blur(750px); }

.btn-primary{
  padding: 16px 24px;
  font-weight: 500;
  font-size: 18px;
  color: var(--color-primary);
  border-radius: 10px;
  outline: none;
}

/* ---------- Navbar ---------- */
.navbar{
  position: fixed; top:0; left:0; right:0; z-index: 50;
  width: 100%; display:flex; padding: 24px 0; align-items:center; justify-content:center;
  background-color: var(--color-primary);
}
.navbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  width:100%; max-width: 1280px; padding: 0 4px;
}
.navbar-logos{ display:flex; align-items:center; }
.navbar-logos img:first-child{ width:80px; height:80px; }
.navbar-logos img:last-child{ width:180px; height:65px; margin-left: 8px; }
@media (min-width: 640px){
  .navbar-logos img:first-child{ width:100px; height:100px; }
  .navbar-logos img:last-child{ width:220px; height:80px; }
}

.nav-links{
  list-style: none; display:none; justify-content:flex-end; align-items:center; flex:1;
}
.nav-links li{
  font-weight: 400; cursor:pointer; font-size:16px; color: var(--color-dim-white); margin-right: 40px;
}
.nav-links li:last-child{ margin-right:0; }
.nav-links li.active{ color: var(--color-white); }
.nav-links li.exchange-link{ border: 2px solid var(--gold); border-radius: 8px; padding: 4px; }

@media (min-width: 640px){
  .nav-links{ display:flex; }
  .nav-toggle-wrapper{ display:none; }
}

.nav-toggle-wrapper{ display:flex; justify-content:flex-end; align-items:center; }
.nav-toggle-wrapper img{ width:28px; height:28px; cursor:pointer; }

.nav-sidebar{
  display:none; flex-direction:column; justify-content:flex-end; align-items:flex-start;
  padding: 24px; background: var(--black-gradient);
  position:absolute; top: 80px; right:0; margin: 8px 16px; min-width: 160px; border-radius: 12px;
  animation: slide-top .5s cubic-bezier(.25,.46,.45,.94) both;
}
.nav-sidebar.open{ display:flex; }
.nav-sidebar ul{ list-style:none; width:100%; }
.nav-sidebar li{ font-weight:500; cursor:pointer; font-size:16px; color: var(--color-dim-white); margin-bottom: 16px; }
.nav-sidebar li:last-child{ margin-bottom:0; }
.nav-sidebar li.active{ color: var(--color-white); }

@keyframes slide-top{
  0%{ transform: translateY(-50px); opacity: 0; }
  100%{ transform: translateY(0); opacity: 1; }
}

/* ---------- Hero ---------- */
.hero{ display:flex; flex-direction:column; padding-top: 5px; }
@media (min-width: 768px){ .hero{ flex-direction: row; } }
.hero-left{ flex:1; display:flex; flex-direction:column; align-items:flex-start; padding: 0 24px; }
@media (min-width: 640px){ .hero-left{ padding: 0 64px; } }
@media (min-width: 1280px){ .hero-left{ padding: 0; } }

.hero h1{
  font-weight: 600; color: var(--color-white);
  font-size: 44px; line-height: 50px;
}
@media (min-width:640px){ .hero h1{ font-size:52px; line-height:60px; } }
@media (min-width:1024px){ .hero h1{ font-size:58px; line-height:68px; } }
@media (min-width:1280px){ .hero h1{ font-size:62px; line-height:75px; } }

.hero-top-row{ display:flex; flex-direction:row; justify-content:space-between; align-items:center; width:100%; }

.hero p{ max-width: 470px; margin-top: 20px; }
.hero p.glow{ animation: text-glow 10s ease-in-out infinite; }
@keyframes text-glow{
  0%,100%{ text-shadow: 0 0 6px rgba(92,225,230,0.15); }
  50%{ text-shadow: 0 0 18px rgba(92,225,230,0.55); }
}

.hero-cta{ padding-top: 20px; }

.hero-right{ flex:1; display:flex; justify-content:center; align-items:center; margin: 40px 0; position:relative; }
@media (min-width:768px){ .hero-right{ margin:0; } }
.hero-right img.main-img{
  width:50%; position:relative; z-index:5;
  animation: zoom-in-out 10s infinite ease-in-out;
}
@media (min-width:768px){ .hero-right img.main-img{ width:60%; } }
@media (min-width:1024px){ .hero-right img.main-img{ width:80%; } }
@keyframes zoom-in-out{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.05); }
}

.ver-aliados{
  display:none; width:140px; height:140px; border-radius: 50%; padding:2px; cursor:pointer;
}
.ver-aliados-inner{
  display:flex; flex-direction:column; justify-content:center; align-items:center;
  background-color: var(--color-primary); width:100%; height:100%; border-radius:50%;
}
@media (min-width: 480px){ .ver-aliados{ display:flex; } .ver-aliados-mobile{ display:none; } }

/* ---------- Stats ---------- */
.stats{ display:flex; flex-direction:row; flex-wrap:wrap; justify-content:center; align-items:center; margin-bottom: 24px; }
@media (min-width:640px){ .stats{ margin-bottom: 80px; } }
.stat-item{ flex:1; display:flex; justify-content:flex-start; align-items:center; flex-direction:row; margin:12px; cursor:pointer; min-width: 150px; }
.stat-item h4{ font-weight:600; font-size:30.89px; line-height:43.16px; color: var(--color-white); margin:0; }
@media (min-width:480px){ .stat-item h4{ font-size:40.89px; line-height:53.16px; } }
.stat-item p{ font-weight:400; font-size:15.45px; line-height:21.58px; text-transform:uppercase; margin:0 0 0 12px; }
@media (min-width:480px){ .stat-item p{ font-size:20.45px; line-height:26.58px; } }

/* ---------- Feature cards (Business section) ---------- */
.feature-card{
  display:flex; flex-direction:row; padding:24px; border-radius:20px; margin-bottom:24px;
  transition: background .3s ease, box-shadow .3s ease;
}
.feature-card:last-child{ margin-bottom:0; }
.feature-card:hover{ background: var(--black-gradient); box-shadow: var(--card-shadow); }
.feature-icon{
  width:64px; height:64px; border-radius:50%; overflow:hidden; position:relative;
  display:flex; justify-content:center; align-items:center; flex-shrink:0;
  background:#1c1c1e; border:2px solid #2c2c2e;
}
.feature-text{ flex:1; display:flex; flex-direction:column; margin-left:12px; }
.feature-text h4{ font-weight:600; color:var(--color-white); font-size:18px; line-height:23.4px; margin:0 0 4px; }
.feature-text p{ font-weight:400; color: var(--color-dim-white); font-size:16px; line-height:24px; margin:0; }

/* ---------- Feedback / Clients cards ---------- */
.feedback-card{
  display:flex; flex-direction:column; justify-content:space-between;
  padding: 48px 40px; border-radius:20px; max-width:370px; margin:20px auto;
  background: transparent; transition: background .3s ease;
}
.feedback-card:hover{ background: var(--black-gradient); }
.feedback-card p{ font-size:18px; line-height:32.4px; color:var(--color-white); margin: 40px 0; }
.feedback-card h4{ font-weight:600; font-size:20px; line-height:32px; color:var(--color-white); margin:0; }
.feedback-container{ display:flex; flex-wrap:wrap; justify-content:center; }

/* ---------- Aliados ---------- */
.AliadosContainer{
  height:auto; color:wheat; display:flex; flex-wrap:wrap; width:100%;
  justify-content:center; padding:20px; gap:20px;
}
.AliadosContainer img{ width:220px; }
.AliadosContainer .box{ background:#111; border-radius: 12px; padding: 10px; display:flex; align-items:center; justify-content:center; }

/* ---------- CTA ---------- */
.cta{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  padding: 32px 24px; margin: 24px 0; background: var(--black-gradient); border-radius:20px;
  box-shadow: 0 20px 100px -10px #42475b1a;
}
@media (min-width:640px){ .cta{ flex-direction: row; padding: 48px 64px; margin: 64px 0; } }
.cta-text{ flex:1; display:flex; flex-direction:column; }
.cta-btn-wrap{ display:flex; justify-content:center; align-items:center; margin-top: 40px; }
@media (min-width:640px){ .cta-btn-wrap{ margin-top:0; margin-left:40px; } }

/* ---------- Footer ---------- */
.footer-top{ display:flex; flex-direction:column; margin-bottom:32px; width:100%; }
@media (min-width:768px){ .footer-top{ flex-direction: row; align-items:flex-start; } }
.footer-brand{ flex:1; display:flex; flex-direction:column; justify-content:flex-start; margin-right:40px; }
.footer-brand img{ width:266px; height:72.14px; object-fit:contain; }
.footer-brand p{ margin-top:16px; max-width:312px; }
.footer-links{ flex:1.5; width:100%; display:flex; flex-direction:row; justify-content:space-between; flex-wrap:wrap; margin-top:40px; }
@media (min-width:768px){ .footer-links{ margin-top:0; } }
.footer-col{ display:flex; flex-direction:column; margin:16px 0; min-width:150px; }
.footer-col h4{ font-weight:500; font-size:18px; line-height:27px; color:var(--color-white); margin:0; }
.footer-col ul{ list-style:none; margin-top:16px; }
.footer-col li{ font-weight:400; font-size:16px; line-height:24px; color:var(--color-dim-white); cursor:pointer; margin-bottom:16px; }
.footer-col li:last-child{ margin-bottom:0; }
.footer-col li:hover{ color:#5ce1e6; }
.footer-bottom{
  width:100%; display:flex; flex-direction:column; justify-content:space-between; align-items:center;
  padding-top:24px; border-top:1px solid #3F3E45;
}
@media (min-width:768px){ .footer-bottom{ flex-direction:row; } }
.footer-bottom p{ font-size:18px; line-height:27px; text-align:center; }
.footer-social{ display:flex; flex-direction:row; margin-top:24px; }
@media (min-width:768px){ .footer-social{ margin-top:0; } }
.footer-social img{ width:21px; height:21px; object-fit:contain; margin-right:24px; cursor:pointer; }
.footer-social img:last-child{ margin-right:0; }

/* ---------- WhatsApp floating widget ---------- */
.wa-fab{
  position:fixed; bottom:20px; right:20px; z-index:1000;
  width:60px; height:60px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.3);
}
.wa-fab svg{ width:32px; height:32px; fill:#fff; }
.wa-badge{
  position:absolute; top:0; right:8px; transform:translate(50%,-50%);
  background:#eb0014; color:#fff; font-size:12px; font-weight:500;
  min-width:20px; height:20px; border-radius:10px; display:flex; align-items:center; justify-content:center; padding:0 6px;
}
.wa-chat{
  position:fixed; bottom:92px; right:20px; z-index:1000; width:300px;
  background:#fff; border-radius:10px; overflow:hidden; box-shadow:0 5px 40px rgba(0,0,0,.16);
  display:none; flex-direction:column; font-family:'Poppins',sans-serif;
}
.wa-chat.open{ display:flex; }
.wa-chat-header{ background:#075E54; color:#fff; padding:12px 16px; display:flex; align-items:center; gap:10px; }
.wa-chat-header img{ width:40px; height:40px; border-radius:50%; }
.wa-chat-header .name{ font-weight:600; font-size:14px; }
.wa-chat-header .status{ font-size:12px; opacity:.85; }
.wa-chat-close{ margin-left:auto; cursor:pointer; font-size:18px; background:none; color:#fff; }
.wa-chat-body{ background:#e5ddd5; padding:16px; }
.wa-chat-bubble{ background:#fff; border-radius:8px; padding:10px 12px; font-size:13px; color:#111; max-width:90%; }
.wa-chat-footer{ padding:10px; display:flex; }
.wa-chat-footer button{
  width:100%; background:#25D366; color:#fff; border-radius:6px; padding:10px; font-weight:600; font-size:14px;
}

/* ---------- Organigrama / Sagrilaft modal (custom, no external libs) ---------- */
.modal-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.85); z-index:2000;
  display:none; align-items:center; justify-content:center; padding:24px;
}
.modal-overlay.open{ display:flex; }
.modal-box{
  background:#fff; color:#111; border-radius:12px; max-width:640px; width:100%;
  max-height:85vh; overflow-y:auto; padding:24px; position:relative; text-align:center;
}
.modal-box.wide{ max-width: 800px; text-align: justify; }
.modal-box h3{ margin-top:0; text-align:center; }
.modal-box p{ line-height:1.5; font-size:.95rem; margin: 0 0 12px; }
.modal-box img{ max-width:100%; border-radius:8px; margin: 12px auto; }
.modal-close{
  position:absolute; top:12px; right:12px; background:none; font-size:20px; color:#333; cursor:pointer;
}
.modal-actions{ margin-top:16px; display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.modal-actions button{
  padding:10px 18px; border-radius:8px; font-weight:500; cursor:pointer;
}
.modal-btn-confirm{ background: linear-gradient(157.81deg,#def9fa -43.27%,#bef3f5 -21.24%,#9dedf0 12.19%,#7de7eb 29.82%,#5ce1e6 51.94%,#33bbcf 90.29%); color:#00040f; }
.modal-btn-cancel{ background:#eee; color:#333; }

.fullscreen-img-overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.9); z-index:3000;
  display:none; align-items:center; justify-content:center;
}
.fullscreen-img-overlay.open{ display:flex; }
.fullscreen-img-overlay img{ width:90%; max-height:100vh; }
.fullscreen-close{
  position:absolute; top:20px; right:20px; background:none; color:#fff; font-size:30px; cursor:pointer;
}

.br-desktop{ display:none; }
@media (min-width: 640px){ .br-desktop{ display:block; } }

.ver-aliados-mobile{ display:flex; }
.ver-aliados-mobile .ver-aliados{ display:flex; }
@media (min-width:480px){ .ver-aliados-mobile{ display:none; } }

/* Highlighted words used inside modals / preguntas */
.resaltado{ font-weight:700; color:#477ed1; text-transform:uppercase; }
