/* 1. Importación de la fuente desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

/* 2. Aplicación global a todo el sitio */
body, h1, h2, h3, h4, h5, h6, p, a, li, span, div {
    font-family: 'Inter', sans-serif !important;
}

.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;
    max-width: 1024px;
    padding: 42px;
   }


@media only screen and (max-width: 992px) {
.dynamicform:has(> .center) {
  flex-wrap: wrap;
  }

.dynamicform:has(> .center.reverse) {
  flex-direction: column-reverse;
  }
}


/* ==========================================================================
   1. ESTILOS BASE Y TIPOGRAFÍA
========================================================================== */
body {
    background-color: #fff;
}

h1 {
    display: block;
    width: 100%;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 0.95;
    word-wrap: normal !important;
}


h2 { 
    font-size: 40px; 
    margin-top: 120px;
}

h3 { 
    color: #1C1D1F; 
    font-size: 28px; 
}


@media (max-width: 768px) {
.hero h1 {
    font-size: 3rem !important;
    text-align: center;
    font-weight: 600;
    line-height: 3;
  }

h3{
    font-weight: 400!important;
    font-size: 18px!important;
    line-height: 1.5!important;
    text-align: center;
   }

}


p { 
    font-size: 17px; 
    color: #1C1D1F; 
}

.button-white a {
    padding: 14px 46px;
    background-color: #fff;
    border-radius: 99px;
    color: #1d1d1d;
    font-size: 18px;
    display: inline-block;
    min-width: 320px;
    text-align: center;
    transition: 0.3s;
}

.button-white a:hover{
    box-shadow: 0 3px 7px rgb(0 0 0 / 47%);
}
 
.button a {
    padding: 14px 46px;
    background-color: #1d1d1d;
    border-radius: 99px;
    color: #fff;
    font-size: 18px;
    display: inline-block;
    min-width: 320px;
    text-align: center;
    transition: 0.3s;
    display: inline-block;
}

.button a:hover{
    box-shadow: 0 3px 7px rgb(0 0 0 / 47%);
}

.button-second a{
    color: #1d1d1d;
    background-color: #fff;
    border: 1px solid #1d1d1d;
    margin-top: 24px;
    padding: 14px 46px;
    border-radius: 99px;
    font-size: 18px;
    display: inline-block;
    min-width: 320px;
    text-align: center;
    transition: 0.3s;
}

.button-second a:hover{
    background-color: #f5f6f7;
    box-shadow: 0 3px 7px rgb(0 0 0 / 15%);
}

/**************************
VERTICAL CENTER
*************************/
.dynamicform:has(> .horizontal-center) {
  display: flex;
  flex-direction: row;
  justify-content: center;   
  align-items: center;   
}


/*********************
listados
********************/

.list-square,
.list-circle,
.green-list,
.arrow-list  {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.list-square ul li,
.list-circle ul li,
.green-list ul li,
.arrow-list ul li  {
  position: relative !important;
  padding-left: 45px !important; /* Espacio generoso para que el icono no pise el texto */
  margin-bottom: 24px;
  font-size: 18px;         
  color: #000000;
  line-height: 1.5;         
  display: flex;
  align-items: flex-start;      
}


.list-square ul li::before {
  content: "";
  position: absolute;
  left: 0;
  /* Pequeño truco para centrar el icono perfectamente con la primera línea de texto */
  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;
}

.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;
}

.green-list ul li{
margin-bottom: 0;
}

.green-list ul li::before{
content: "";
  position: absolute;
  left: 0;
  top: 20px; 
  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;
}


.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;
}

/* ====================================================
   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(3rem + 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(-100px); /* <- sube “bonito” sin saltar */
}

/* 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(-205px);
  }
}


/******************************
CHANGE APP
*****************************/
.change-app > div{
  background: linear-gradient(180deg, #3a3a3a 0%, #222222 100%);
  border-radius: 30px !important; 
  padding: 24px 50px !important;
  margin-bottom: 24px;
}


/****************************
FAQS
****************************/

.faqs > div{  
  background: linear-gradient(180deg, #ffd3b0 0%, #ffdfc4 100%) !important;
  border-radius: 30px !important;
  padding: 24px 50px !important;
  margin-bottom:  20px;
}

.faqs h4{
  color: #bf7326;
}

.faqs p{
  color: #372425;
}