/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Quitar márgenes por defecto */
* {
  margin: 0;
  padding: 0;
}

/* Mejor render de texto */
html {
  -webkit-text-size-adjust: 100%;
  font-size: 100%;
}
/* Quitar fondo de autocompletado en Chrome / Android */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--brand-blue) inset !important;
  -webkit-text-fill-color: var(--white) !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Body base */
body {
  min-height: 100vh;
  line-height: 1.5;
  font-family: "Segoe UI Light", "Segoe UI", sans-serif;
  font-weight: 300;
  text-rendering: optimizeLegibility;
  font-size: var(--text-base);
  color: var(--white);
  font-size-adjust: 0.5;
}
:root {
  /* Typography */
  --fs-xs: 0.75rem;    /* 12px */
  --fs-sm: 0.875rem;   /* 14px */
  --fs-base: 1.125rem; /* 18px */
  --fs-md: 1.25rem;    /* 20px */
  --fs-lg: 1.5rem;     /* 24px */
  --fs-xl: 1.75rem;    /* 28px */
  --fs-2xl: 2.625rem;  /* 42px */
  /* Brand colors */
  --brand-blue: #137cff;
  --brand-blue-dark: #040a8e;
  --brand-blue-mid: #333ae0;
  --brand-green: #90dd2d;
  --brand-green-hover: #72c500;
  /* Neutral */
  --black: #000000;
  --dark: #121212;
  --white: #ffffff;
  --gray-light: #bdbdbd;
  --gradient-brand-blue: linear-gradient(
    135deg,
    var(--brand-blue) 0%,
    var(--brand-blue-mid) 50%,
    var(--brand-blue-dark) 100%
  );
}
h1, h2, h3, h4, h5{ line-height: 1.1;}
h1 { font-size: var(--fs-2xl); font-weight: 300;}
h2 { font-size: var(--fs-xl); font-weight: 200;}
h3 { font-size: var(--fs-lg); font-weight: 400;}
h4 { font-size: var(--fs-md); font-weight: 400;}
h5 { font-size: var(--fs-sm); font-weight: 300;}
p, li, input, textarea {font-size: var(--fs-base);}
small, .meta, .legal {font-size: var(--fs-sm);}
button, .btn, .btn-cotiza, .btn-whatsapp {
  font-size: var(--fs-base);
}
@media (min-width: 1440px) {
  body { font-size: 1.25rem; } /* 20px */
}
/* Imágenes y media */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}
svg{fill: #ffffff;}
/* Formularios */
input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

/* Enlaces */
a {text-decoration: none; color: inherit;}

/* Listas */
ul, ol { list-style: none;}

/* Botones */
button {
  background: none;
  border: none;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--white);
  /*outline-offset: 2px;*/
}

/* Header sticky */
header {
  position: fixed;
  width: 100%;
  top: 10px;
  z-index: 1000;
  align-items: center;
  height: 70px;
  min-height: 70px;
  /*margin-bottom: 10px;*/
}
main{
  padding-top: 0px;
}
.header-inner {
  width: 95%;
  display: flex;
  margin-inline: auto;
  justify-content: space-between;
  padding: 5px 10px;
  border-radius: 14px 14px 0 0;
  background-color: rgba(0,0,0,0.85);
  /*background-color: rgba(19, 124, 255, 0.80);*/
}
.brand img{
  height: 60px;
  width: auto;
}

.brand {
  font-weight: 600;
  font-size: 18px;
}

/* Navegación */
.menu-nav {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-nav a {
  font-size: var(--fs-base);
  text-decoration: none;
}

#hero{
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  width: auto;
  padding-top: 150px;
  padding-bottom: 30px;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
#hero .hero-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
}
#seccion{
  position: relative;
  overflow: hidden;
  min-height: 250px;
  width: auto;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
#seccion .seccion-img{
  position: absolute;
  inset: 0;
  min-height: 250px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
}
.overlay-img::before {
  content: "";
  position: absolute;
  border-radius: inherit;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.70),
    rgba(0,0,0,0.15)
  );
  z-index: 1;
}
.overlay-img > * {
  position: relative;
  z-index: 2;
}
.contenido{ padding: 15px;}
.contenido p{text-align:justify;}
.contenido h2{text-align:center; padding-bottom: 15px; border-bottom:2px solid var(--brand-blue); margin-bottom:15px}
.contenido h3{ padding-top:10px; font-size: var(--fs-md); font-weight:400}
.marker {
  background: linear-gradient(
    transparent 60%,
    rgba(19,124,255,0.3) 0
  );
}
.hand-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M2 8 C20 2 40 12 60 8 80 4 100 10 120 7 140 4 160 10 198 6' fill='none' stroke='%2390dd2d' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: left bottom;
}

.v { color:var(--brand-green); font-weight: 600}
.a { color: var(--brand-blue);}
.n{color: var(--black);}
.blanco{color:#ffffff}
.justify{text-align:justify;}
.pb-20{padding-bottom:20px;}
.pt-20{padding-top:20px;}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--brand-green);
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
#cotiza{
  padding: 20px;
  justify-content: center;
  align-content: center;
  display: flex;
}

.btn-cotiza {
  display: flex;              
  align-items: center;
  gap: 10px;
  background-color: var(--brand-green);
  padding: 10px 18px;
  border-radius: 999px;   
  font-weight: 600;
  line-height: 1; 
  text-decoration: none;
  white-space: nowrap;
  z-index: 10;
}

.btn-cotiza svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  flex-shrink: 0; 
}

.btn-whatsapp svg{
  width: 24px;
  height: 24px;
}
.aprobaciones {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--brand-green);
  padding: 5px 5px;
  border-radius: 8px;
  font-weight: 400;
  text-decoration: none;
  font-size: var(--fs-xs);
  margin-top: 10px;
  text-shadow: none;
}

.aprobaciones img{
  width: 18px;
  height: 18px;
}
#servicios p{text-align: justify; color:var(--black);}
#sectores { 
  background: var(--gradient-brand-blue);
  border-radius: 35px 35px 0px 0px;
  padding-bottom: 30px;
}
.sector-container{
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  background-color: var(--white);
  border-radius: 35px 35px 0px 0px;
  padding: 20px 15px;
  text-shadow:
  0 1px 2px rgba(0,0,0,.6),
  0 3px 6px rgba(0,0,0,.3);
}
.sector-item{
  flex: 1 1 280px;
  min-width: 200px;
  min-height: 200px;
  background-color: #121212;
  border-radius: 25px 25px 0px 0px;
  padding:25px;
  font-size: var(--fs-base);
}
.sector-item h3{ padding-bottom:5px; color:var(--brand-green); border-bottom: 2px solid var(--brand-green); margin-bottom:10px;
  font-size: var(--fs-lg);
}
.sector-item p{text-align: left;}
.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0rem 1.5rem; /* vertical | horizontal */
  padding: 0;
  margin: 0;
  list-style: none;
  padding-bottom: 15px;
}
.inline-list.check li::before {
  content: "✓";
  margin-right: 0.3rem;
  color: var(--brand-green);
  font-weight: 600;
}
.tab-content{
  position: relative;
  background-size: cover;
  background-position: 90% 10%;
  overflow: hidden;
}
.jubilados{
  background-image: url('img/jubilados-tab.webp');
}
.privada{
  background-image: url('img/privada-tab.webp');
}
.salud{
  background-image: url('img/salud-tab.webp');
}
.gobierno{
  background-image: url('img/gobierno-tab.webp');
}
.educador{
  background-image: url('img/educador-tab.webp');
}
.acp{
  background-image: url('img/acp-tab.webp');
}
.tab {
  opacity: 0;                     /* invisible al inicio */
  transform: translateY(20px) scale(0.95); /* efecto pop + slide desde abajo */
  transition: opacity 0.4s ease, transform 0.4s ease;
  background-color: #121212;
  color: var(--white);
  padding: 5px 15px;
}

/* cuando el día entra al viewport */
.tab.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
footer{ 
  background-color: var(--black);
  color:#bdbdbd;
  font-size:var(--fs-sm);
  /*margin-top: 20px;*/
}
footer hr{
  border: none;
  height: 1px;
  width: 100%;
  margin: 0px auto;
  margin-top:10px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
}
.contenido-footer{padding: 10px 15px 0px;}
.footer-legal{
  display: flex;
}
.footer-item{
  flex: 1 1 50%; 
}
.aicodigo{
  display: flex; 
  align-items:center; 
  color:#bdbdbd; 
  font-size: var(--fs-xs); 
  justify-content: center; 
  margin: auto 0; gap:10px;
  padding: 5px 0 10px;
}
.aicodigo a{display: flex; justify-content: center;}
.aicodigo img{ height:40px; width: auto; display: block; vertical-align: middle;
}
#bottom{
  background-color: #222222;
}
.bottom-contenido{
  padding: 10px 15px;
  display: flex;
}
.bottom-item{
  flex: 1;
}
.bottom-item img{
  height: 40px; width: auto; vertical-align: middle;
}
.bottom-item h3{font-weight: 500; color: var(--white); padding-bottom: 5px; font: var(--fs-sm);}
.social-icon{
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding-left: 5px;
  vertical-align: middle;
}
.social-icon img{height: 20px; width: auto; justify-content: center; padding-left: 15px}
.left{text-align:left;}
.right{text-align:right;}
#scrollTopBtn{
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(114, 197, 0, 0.75);
  backdrop-filter: blur(4px);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}

/* visible */
#scrollTopBtn.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scrollTopBtn:hover{
  background-color: rgba(114, 197, 0, 1);
  color: #ffffff;
}
/* BOTÓN FLOTANTE */
#contact-toggle{
  position: fixed;
  top: 100px; /* 80px header + aire */
  right: 16px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: rgba(144,221,45,0.85);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

#contact-toggle svg{
  width: 35px;
  height: 35px;
}
.contacto-panel{
  background-color: rgba(19, 124, 255, 0.95);
  color: var(--white);
  border-radius: 14px;
  padding: 16px;
}
.contacto-panel h4{
  margin: 0 0 10px;
  font-size: var(--fs-base);
}
.contacto-panel ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.contacto-panel li{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: var(--fs-sm);
}
.contacto-panel a{
  color: var(--fs-white);
  text-decoration: none;
}
.contacto-panel li svg{
  width:20px;
  height:20px;
  color:var(--brand-green);
  flex-shrink:0;
  display: block;
}
.linea{
  border-bottom: 1px solid var(--white);
  overflow: hidden;
}
.linea-a{
  border-bottom: 1px solid var(--brand-blue);
  padding-bottom: 10px;
}
.reviews {
  padding: 10px 16px;
  text-align: center;
}
.reviews h2{
  color: var(--brand-blue);
  font-weight: 300;
  padding-bottom: 10px;
}

.carousel {
  overflow: hidden;
  touch-action: pan-y;
  background: var(--gradient-brand-blue);
  border-radius: 24px;
}

.carousel-track {
  display: flex;
  will-change: transform;
}

.review {
  min-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.review cite {
  display: block;
  margin-top: 8px;
  font-weight: 600;
}
.review p{
  display: block;
  font-size: var(--fs-xs);
  padding-top: 10px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 12px;
}

.carousel-dots button {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  background: #ccc;
}

.carousel-dots button.active {
  background: var(--brand-blue);
}
#privacidad-header, #cotiza-header, #gracias-header, #servicios-header, #contacto-header, #equipo-header{
  /*min-height: 250px;*/
}
.privacidad{ color: var(--black);}
.privacidad p{ text-align: justify;}
/*.privacidad h2{ color: var(--brand-blue); 
font-weight: 200; padding-bottom: 15px;}*/
#privacidad-header{
  min-height: 250px;
  width: auto;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
  pointer-events: none;
  /*background-image: url('img/privacidad.webp');*/
}
#equipo-header{
  background-image: url('img/equipo_asesoria.webp');
}
#cotiza-header{
  background-image: url('img/cotiza.webp');
}
#gracias-header{
  background-image: url('img/gracias.webp');
}
#servicios-header{
  background-image: url('img/servicios.webp');
}
#contacto-header{
  background-image: url('img/contactenos.webp');
}

.contacto{ display:flex; width:100%; color:var(--black); gap:5px; padding:25px 0;}
.contacto-item{
  flex: 1; 
  display:flex;
  align-items: center;
  background: var(--brand-green);
  box-shadow: 0 4px 10px -4px rgba(0, 0, 0, 0.6);
  transition: all 0.2s ease;
  color: var(--white);
  font-weight: 600;
  justify-content: center;
  padding:5px 0px;
}
.menu-nav a.small { font-size: var(--fs-sm);}
.menu-nav a span{
  color: var(--brand-green);
  margin-right: 6px;
  font-weight: 600;
}
.menu-nav a::before{
  content: "✓";
  margin-right: 0.3rem;
  color: var(--brand-green);
  font-weight: 600;
}

/* Inputs, selects y textarea */
input, select, textarea {
  padding: 8px 10px;
  border: 1px solid var(--white);
  /*border-radius: 4px;*/
  font-size: var(--fs-sm);
  background: var(--brand-blue);
  color: var(--white);
  transition: border 0.2s, box-shadow 0.2s;
  outline: none;
}
input.active, select.active, textarea.active{background: var(--brand-blue)}
/* Campo inválido */
input.invalid,
select.invalid,
textarea.invalid {
  border: 2px solid red;
  /*box-shadow: 0 0 3px yellow;*/
}
.form-group {
  margin-bottom: 5px;
  position: relative;
  display: flex;
  flex-direction: column;
  color: var(--white);
}
/* Campo válido */
input.valid,
select.valid,
textarea.valid {
  border-color: var(--white);
  /*box-shadow: 0 0 3px #ffffff;*/
}

/* Mensajes de error */
.error-message {
  color: yellow;
  font-size: var(--fs-xs);
  margin-top: 3px;
  min-height: 16px; /* evita que el layout salte */
}

/* Botón de enviar */
button[type="submit"] {
  padding: 10px 18px;
  background-color: var(--brand-blue);
  color: #fff;
  border: 1px solid var(--white);
  /*border-radius: 4px;*/
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.2s;
}

button[type="submit"]:hover {
  background-color: #40a9ff;
}

/* Mensaje general de estado */
#form-status {
  margin-top: 12px;
  font-weight: 300;
  font-size: var(--fs-sm);
  min-height: 24px;
}

#form-status.error {
  color: yellow;
}

#form-status:not(.error) {
  color: yellow;
}
.form-content{
  border-radius: 14px;
  border: 2px solid rgba(19,124,255,0.2);
  background: var(--brand-blue);
  /*background: rgba(19,124,255,0.1);*/
  padding: 10px 15px;
  margin: 20px 0;
}
/* CONTENEDOR GENERAL */
.services-section {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra horizontalmente las cards */
  gap: 24px;
  /*padding: 16px; /* espacio interno */
  width: 100%;
  box-sizing: border-box;
  color: var(--black);
}
/* CARD */
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 15px;
  /*box-shadow: 0 8px 20px rgba(0,0,0,0.08);*/
  width: 100%;           /* ocupa todo el contenedor */
  max-width: 700px;      /* no se estira demasiado en pantallas grandes */
  box-sizing: border-box; /* incluye padding en el width */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.5s ease;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HEADER */
.card-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.card-number {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-blue);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--brand-blue);
}

/* INTRO */
.card-intro {
  margin-bottom: 12px;
  line-height: 1.5;
  color: #333;
  text-align: justify;
}

/* DETALLE EXPANDIBLE */
.card-detail-wrapper {
  margin-bottom: 12px;
}

.expand-toggle {
  display: none;
}

.expand-label {
  display: inline-block;
  font-weight: 300;
  color: var(--brand-blue);
  cursor: pointer;
  margin-bottom: 6px;
  font-size: var(--fs-base);
}

.card-detail {
  max-height: 0;
  overflow: hidden;
  /*transition: max-height 0.35s ease;*/
  line-height: 1.5;
  color: #555;
  text-align: justify;
}

.expand-toggle:checked + .expand-label + .card-detail {
  max-height: 500px;
}
.expand-label::after{content: "..."}
.expand-label::before{ content: "+ Más";
margin-right: 0.3rem;
}
.expand-toggle:checked + .expand-label::before { content: "— Menos"}
.expand-toggle:checked + .expand-label::after{content: "";}
/* CIERRE */
.card-close {
  font-weight: 400;
  color: #333;
  line-height: 1.1;
  text-align: center;
}
.bg-green{background: rgba(82,196,26,0.08);}
.bg-blue{background: rgba(19,124,255,0.1);}
.center{text-align: center;}
.b{font-weight: bold;}
.line-up-blue{border-top: 2px solid var(--brand-blue);}
.pt-10{padding-top:10px;}
.pb-10{padding-bottom: 10px;}
.mt-30{margin-top:30px;}
.m-auto{margin: auto;}
.fw-400{font-weight: 400}
.outline{
  background: var(--brand-blue);
  position: relative;
}

.outline::before,
.outline::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;        /* grosor de la línea */
  background: var(--brand-blue);
}

.outline::before{
  top: -6px;           /* distancia arriba */
}

.outline::after{
  bottom: -6px;        /* distancia abajo */
}
.header-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.flex{display: flex; align-items: center; justify-content: center; gap:15px}
.item{ flex: 1; 
  display:flex;
  align-items: center;
  background: var(--brand-green);
  transition: all 0.2s ease;
  color: var(--white);
  font-weight: 600;
  justify-content: center;
  padding:5px 0px;
}
/* Spinner básico para mensajes de envío */
.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 5px solid rgba(255,255,0,0.3); /* color visible y válido */
  border-top-color: var(--brand-green);  /* el color que quieras para la animación */
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
/* Contenedor del equipo */
.equipo-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  justify-items: center;
  padding: 20px 0;
  border-radius: 8px;
}

/* Card base */
.equipo-card {
  width: 100%;
  max-width: 320px;
  perspective: 1000px;
}

.card-inner {
  position: relative;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform .6s;
}

/* flip */
.equipo-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  aspect-ratio: 3/2.5;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
}
.card-front h3{ padding-top: 10px}

.card-back {
  transform: rotateY(180deg);
  background: url('/img/asesoria-logo-transparente.webp') no-repeat bottom center / 50% var(--brand-blue);
  color: var(--white);
}

/* IMAGEN — ahora sí libre */
.card-front img {
  width: 100%;
  aspect-ratio: 16/10;
  /*height: 200px; /* puedes cambiar esto */
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
}
.card-cta, .card-cta-back{ font-weight:400; font-size: var(--fs-sm); background-color: var(--brand-green); border-radius: 20px; padding: 5px 15px; margin-top:15px; color: var(--white);}
.card-back p{border-bottom: 1px solid var(--white); margin-bottom:10px}
.cargo{font-size:0.95rem
}

@media (max-width: 480px) {
  .equipo-card {
    max-width: 95%;
  }
}

/* Hover solo desktop */
@media (hover: hover) and (pointer: fine) {
  .equipo-card:hover .card-inner {
    transform: rotateY(180deg);
  }
}

.link{ display:flex; width:100%; color:var(--white); align-items: center; justify-content: center; padding:10px 0; background-color: var(--brand-blue)}
.link a{
  padding: 0 10px;
  font-weight: 400;
  font-size: var(--fs-sm);
  gap: 5px;
  border-right:1px solid;
}
.link a:last-child{border-right: none;}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 1000;
    font-size: var(--fs-sm);
    }
.overlay.active {
      opacity: 1;
      pointer-events: auto;
    }
.overlay-content {
      width: calc(100% - 32px);
      max-width: 300px;
      position: absolute;
      top: 100px;
      right: 16px;
      /*transform: translateY(-10px);*/
     /* overflow: hidden;*/
    }
.overlay-content-in {
      background-color: rgba(19, 124, 255, 0.85);
      padding: 10px 20px 0;
      width: calc(100% - 32px);
      width: 100%;
      border-radius: 14px 14px 0 0;
      /*transform: translateY(-10px);*/
     /* overflow: hidden;*/
    }
.overlay-content-in svg, .dark svg{
  width:20px;
  height:20px;
  color: var(--brand-green);
  flex-shrink: 0;
}
.overlay-content-in h4, .dark h4{
  margin: 10px 0 10px;
  font-size: var(--fs-base);
  font-weight: 300;
}
.overlay-content-in ul, .dark ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.overlay-content-in li, .dark li{
  display: flex;
  /*align-items: center;*/
  gap: 8px;
  padding-bottom: 8px;
  font-size: var(--fs-sm);
}

.overlay-content-in a, .dark a{
  color: var(--fs-white);
  text-decoration: none;
}
.close-btn {
      cursor: pointer;
      text-lign: right;
      width: 100%;
      text-align: right;
      padding-bottom: 5px;
    }
.dark{background-color: rgba(0, 0, 0, 0.75);
  border-radius: 0 0 14px 14px;
  padding: 10px 20px;
  width: 100%;
}