/*========================================
0. GENERICOS
========================================*/

/* 1. Importación de la fuente desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* 2. Aplicación global a todo el sitio */
body, h3, h4, h5, h6, p, a, li, span, div {
    font-family: 'Inter', sans-serif !important;
}

body {
    background-color: #fff;
}

.material-icons {
    font-family: 'Material Icons' !important;
}

.col .responsive-img,
.video-responsive{
border-radius: 24px;
}

.header img,
.footer img,
.icons img {
border-radius:0!important;
}

.dynamicform:has(> .margin-block) {
  overflow: hidden;
  padding: 24px;
}

.dynamicform:has(> .center) {
    display: flex;
    align-items: center;
   }

span.blue-text {
       color: #1a3e77 !important;
}

.dynamicform:has(> .bk-blue-degradee) {
background: linear-gradient(180deg, rgba(235, 242, 248, 0) 0%, rgba(235, 242, 248, 1) 100%) !important;
  width: 100%;
  height: 100%;
}

.reverse {
   flex-direction: column-reverse;
}



/*===========================================================   1. TIPOGRAFÍA
============================================================*/

h1,
h1 *{
    display: block;
    width: 100%;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.2 ;
    font-weight: 700 ;
    word-wrap: normal ;
    margin-top: 218px;
   font-family: 'Outfit', sans-serif!important;
}

@media (max-width: 768px) {
h1, 
.white-text {
        margin-top: 48px !important;
    }
}

h2,
h2 * { 
    font-size: clamp(1.875rem, 4vw, 2.5rem) !important;
    line-height: 1.3 !important;
    margin-top: 86px;
    font-family: 'Outfit', sans-serif!important;
}

h3 { 
    color: #1C1D1F; 
    font-size: 28px; 
}

p { 
    font-size: 17px; 
    color: #1C1D1F; 
}

.p-large p{
  font-size: clamp(1.375rem, 3vw, 1.75rem) !important;
  line-height: 1.3 !important;
}

.border-blue{
  position:relative;
}

.border-blue:before{
   content:"";
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    border: 3px solid #1a3e77;
    width: 100%;
    border-radius: 3px;
}

.icon-box .col img{
    background-color: #1a3e77;
    padding: 18px;
    border-radius: 12px;
    width: 68px !important;
}

@media only screen and (max-width: 767px) {
.card {
    margin: 0 8px!important;
    max-width: calc(100% - 16px);
    float: initial!important;
   }

}

/*=============================
MARGIN-SECTION
=============================*/

.dynamicform:has(> .margin-section){    
    padding: 60px 0;
    display: block;
    overflow: hidden;
}

/*===========================================
BLUE-BOX-SECTION   &   GREEN-BOX-SECTION
===========================================*/

.dynamicform:has(> .box-section-blue10),
.dynamicform:has(> .green-card) {    
  background-color: #ebf0f6;
    border-radius: 48px;
    padding: 42px 24px;
    overflow: hidden;
    margin: 24px 82px;
    width: calc(100% - 164px);
    display: flex;
    align-items: center; 
}

.dynamicform:has(> .green-card){
   align-items: stretch;
   background-color: #d7e9dc;
   gap: 24px;
}

.green-card {
    background-color: #fff;
    border: 2px solid #417b52;
    border-radius: 24px;
    padding: 58px 24px !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media only screen and (max-width: 767px) {

.dynamicform:has(> .box-section-blue10),
.dynamicform:has(> .green-card){
   padding: 14px 12px;
   margin: auto 8px;
   width: calc(100% - 16px);
   flex-wrap: wrap;
   }
}

/*==============================
2. LISTADOS
==============================*/

.list-square,
.list-circle,
.arrow-list,
.green-list,
.admiration-circle-blue{
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.list-square ul li,
.list-circle ul li,
.arrow-list ul li,
.green-list ul li,
.admiration-circle-blue ul li{
  position: relative !important;
  padding-left: 45px !important; /* Espacio generoso para que el icono no pise el texto */
  margin-bottom: 8px !important;
  font-size: 18px;             
  color: #000000;
  line-height: 1.5;   
  display: flex;
  align-items: flex-start;      
}

/*------------------------------------------
Bullets cuadrados con check
------------------------------------------*/

.list-square ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px; 
  width: 26px; /* Tamaño del cuadrado */
  height: 26px;
  
  /* SVG que dibuja el recuadro negro con el check blanco/transparente dentro */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cpolyline points='9 11 12 14 22 4'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/*------------------------------------------
Bullets círculos con check
------------------------------------------*/

.list-circle ul li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);    /* Centrado vertical automático */
  width: 24px;                    /* Tamaño del círculo */
  height: 24px;
  
  /* SVG que dibuja el círculo negro con el check fino adentro */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='16 9 11 14 8 11'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}


/*------------------------------------------
Bullets círculos verdes con check
------------------------------------------*/
.green-list ul li{
margin-bottom: 12px!important;
}

.green-list ul li::before{
content: "";
  position: absolute;
  left: 0;
  top: 3px; 
  width: 26px;               
  height: 26px;

  /* SVG: Círculo y check en verde con trazo limpio (stroke-width: 2) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234caf50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='16 9 11 14 8 11'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/*------------------------------------------
Bullets círculos con flecha
------------------------------------------*/
.arrow-list ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  
  width: 20px; /* Tamaño de la flecha */
  height: 20px;
  
  /* SVG de una flecha limpia apuntando a la derecha */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3Cpolyline points='12 5 19 12 12 19'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/*------------------------------------------
Bullets círculos con admiracion azul
------------------------------------------*/
.admiration-circle-blue ul li::before{
content: ""; 
position: absolute; 
left: 0; 
top: 50%; 
transform: translateY(-50%); /* Centrado vertical perfecto */ 
width: 22px; /* Tamaño del icono circular */ 
height: 22px; 
/* SVG que dibuja el círculo con el signo de exclamación en AZUL */ 
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d47a1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E"); 
background-repeat: no-repeat; 
background-size: contain; 
}


/*==========================================
BOX GREY
==========================================*/

.box {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  background: transparent !important;
  padding: 0 !important;
  gap: 0 !important;
}

/* Primer hijo: deja el contenido anterior ocupando todo */
.box > div:nth-child(1) {
  width: 100% !important;
  min-width: 100% !important;
}

/* Contenedor gris formado por icono + texto */
.box > div:nth-child(2),
.box > div:nth-child(3) {
  background-color: #e1e1e1 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
}

/* Caja Icono */
.box > div:nth-child(2) {
  width: 140px !important;
  min-width: 140px !important;
  justify-content: center !important;
  padding: 28px 16px 28px 24px !important;
  border-radius: 20px 0 0 20px !important;
}

.box > div:nth-child(2) .col .responsive-img{
width: 48px !important;
height: 45px !important;
border-radius: 0;

}

/* Caja blanca detrás del icono */
.box > div:nth-child(2) > * {
  background: #ffffff !important;
  width: 92px !important;
  height: 92px !important;
  border-radius: 14px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Texto */
.box > div:nth-child(3) {
  flex: 1 1 0 !important;
  max-width: none !important;
  justify-content: center !important;
  padding: 28px 40px 28px 10px !important;
  border-radius: 0 20px 20px 0 !important;
}

/* Texto interno */
.box > div:nth-child(3) *,
.box > div:nth-child(3) p {
  color: #1f1f1f;
  margin: 0;
  text-align: left;
  font-weight: 600;
  line-height: 1.2;
}

/* Responsive */
@media (max-width: 768px) {
.box > div:nth-child(2) {
    width: 68px !important;
    min-width: 68px !important;
    padding: 22px 10px 22px 18px !important;
  }

.box > div:nth-child(2) > * {
    width: 50px !important;
    height: 42px !important;
    border-radius: 6px;
  }

.box > div:nth-child(2) .col .responsive-img{
    width: 25px !important;
    height: 24px !important;
}

.box > div:nth-child(3) {
    padding: 22px 24px 22px 8px !important;
  }

.box > div:nth-child(3) p {
   font-size: 14px!important;
   font-weight: 500;
  }
}


/* ====================================================
   3. Especialidades  (.soluciones)
   ==================================================== */

.col.soluciones {
  position: relative;
  border-radius: 30px;
  overflow: hidden; 
}

.col.soluciones img{
    filter: brightness(0.6);
}

/* Si hay imagen, que quede debajo */
.col.soluciones  img,
.col.soluciones  div:nth-of-type(1){
  position: relative;
  z-index: 1;
  height: 100%;
  border-radius: 24px;
  transition: filter 0.45s ease; /* <- animación del oscurecimiento */
}

/* Overlay encima y ajustado EXACTO a la caja */
.col.soluciones  div:nth-of-type(2){
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 30px;
  background: rgba(0,0,0,0);
  transition: background 0.45s ease;
  padding: 3rem;
  box-sizing: border-box;
  pointer-events: none;
}

/* Textos siempre blancos y por encima */
.col.soluciones div:nth-of-type(2) h3,
.col.soluciones div:nth-of-type(2) p{
  color: #fff;
  position: absolute;      /* <- para animar posición sin saltos */
  left: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  margin: 0;
  will-change: transform, opacity;
  pointer-events: none;
}

/* H3 abajo en estado normal */
.col.soluciones div:nth-of-type(2) h3{
  bottom: 0;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.45s ease, opacity 0.35s ease; 
}

/* P oculto en estado normal */
.col.soluciones div:nth-of-type(2) p{
  top: calc(8rem + 5.2rem); /* tu posición base */
  opacity: 0;
  transform: translateY(12px); /* <- arranca un pelín más abajo */
  transition: transform 0.45s ease, opacity 0.35s ease; /* <- suave */
}

/* Hover: oscurece imagen */
.col.soluciones:hover img{
  filter: brightness(0.3);
}

/* Hover: h3 sube con movimiento sutil */
.col.soluciones:hover div:nth-of-type(2) h3{
  transform: translateY(-50%); /* <- sube “bonito” sin saltar */
}

.col.soluciones.paragraph:hover div:nth-of-type(2) h3{
  transform: translateY(-169px); /* <- sube “bonito” sin saltar */
}

.col.soluciones.paragraph.two-columns:hover div:nth-of-type(2) h3{
      transform: translateY(-127px);
}

.col.soluciones.paragraph.two-columns div:nth-of-type(2) p{
  top: calc(2rem + 5.2rem); /* tu posición base */
}

/* Hover: aparece p con subida y fade (ligero delay para efecto pro) */
.col.soluciones:hover div:nth-of-type(2) p{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.08s, 0.08s; /* <- primero h3, luego p */
  pointer-events: none;
}

@media (max-width: 768px) {
   .col.soluciones:hover div:nth-of-type(2) h3{
      transform: translateY(-59px);
  }

.col.soluciones div:nth-of-type(2) h3 {
      font-size: 17px !important;
      text-align: center !important;
   }

.col.soluciones.paragraph:hover div:nth-of-type(2) h3{
       transform: translateY(-54px);
   }

.col.soluciones.paragraph.two-columns:hover div:nth-of-type(2) h3{
      transform: translateY(-104px);
}

.col.soluciones.paragraph.two-columns div:nth-of-type(2) p {
    top: calc(-4rem + 5.2rem);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.3em;
    }
}

.box > div:nth-child(2),
.box > div:nth-child(3) {
   flex-wrap: nowrap;
}

/* Estilos de tipografía fina para el texto interior */
.box > div:nth-child(3) *,
.box > div:nth-child(3) {  
  line-height: 1.4 !important;
}

@media only screen and (max-width: 992px) {
.dynamicform:has(> .center) {
  flex-wrap: wrap;
  }

.dynamicform:has(> .center.reverse) {
  flex-direction: column-reverse;
  }
}


/*===========================================
DARK-GREY-BOX
============================================*/
.dark-grey-box .col{
background: linear-gradient(
    180deg,
    rgb(71,71,71) 0%,
    rgb(62,62,62) 25%,
    rgb(52,52,52) 50%,
    rgb(43,43,43) 75%,
    rgb(34,34,34) 100%
);
border-radius: 24px;
padding: 12px 148px 12px 46px;
margin-bottom: 24px;
}

.dark-grey-box > div{
   position:relative;
}

.dark-grey-box > div:before{
    position: absolute;
    content:'';
    width: 46px;
    height: 40px;
    right: 38px;
    top: 50%;
    transform: translateY(-75%);
}

.dark-grey-box > div:first-child:before{
background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 236 237'%3E%3Cg fill='none' stroke='%23fff' stroke-width='18' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M64 10h108'/%3E%3Cpath d='M64 46h108'/%3E%3Cpath d='M64 82h108v37h55L118 228 9 119h55z'/%3E%3C/g%3E%3C/svg%3E");
}

.dark-grey-box > div:nth-child(2):before{
background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M20 52V14L50 24L20 34' fill='none' stroke='%23fff' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background-size: 60px;
}

.dark-grey-box .col *{
color: #fff;
}

/*-----RESPONSIVE-------*/

@media only screen and (max-width: 767px) {
   .dark-grey-box .col{
      padding: 6px 58px 18px 24px !important;
   }

   .dark-grey-box .col p{
    font-size: 13px;
    line-height: 1.3em;
   }

  .dark-grey-box .col h3 {
    font-size: 23px !important;
   }

.dark-grey-box > div:before {
    width: 26px;
    height: 28px;
    right: 18px;
    }

.dark-grey-box > div:nth-child(2):before{
    background-size: 36px;
   }
}

/*=======================================
FAQS
========================================*/

.dynamicform:has(> .faqs){
    overflow: hidden;
    display: block;
    background-color: #ffebd6;
    border-radius: 48px;
    max-width: 1024px;
    margin-top: 86px;
    padding-bottom: 24px;
}

.faqs > div{  
  background: linear-gradient(
    180deg,
    rgb(255, 197, 140) 0%,
    rgb(255, 207, 159) 50%,
    rgb(255, 217, 178) 100%
);
  border-radius: 30px !important;
  padding: 0 48px !important;
  margin-bottom:  20px;
}

.faqs > div:first-child{
  background: transparent;
}

.faqs h3{
  color: #bf7326;
}

.faqs p{
  color: #372425;
}

/*-----RESPONSIVE-------*/

@media only screen and (max-width: 767px) {
  .faqs > div {
    padding: 0 16px !important;
   }
}