/* 1. Importación de la fuente desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Outfit:wght@100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* 2. Aplicación global a todo el sitio */
body, h2, h3, h4, h5, h6, p, a, li, span, div {
    font-family: 'Inter', sans-serif !important;
}

h1{

}

.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;
  margin: 120px auto;
}

a.btn.black {
    font-size: 18px;
    height: 44px;
    padding: 4px 2rem;
}

/* ==========================================================================
   1. ESTILOS BASE Y TIPOGRAFÍA
========================================================================== */
body {
    background-color: #fff;
}

h1 {
    display: block !important;
    font-family: "Outfit", sans-serif;
    width: 100% !important;
    font-size: 4.5rem !important;
    font-weight: 700 !important;
    line-height: 0.95 !important;
    word-wrap: normal !important;
    color: #fff;
}

@media (max-width: 768px) {
h1{
    font-size: 2.5rem !important;
    }
}

h2 { 
    font-size: 40px; 
    margin-top: 120px;
}

h3 { 
    color: #1C1D1F; 
    font-size: 28px; 
}

p { 
    font-size: 17px; 
    color: #1C1D1F; 
}

.green-text p{
   color: #004852;
}

.button-align-left {
 float: left;
}

/* -----------------------------
   BANNER
-----------------------------*/
.banner.text {
  min-width: 70%;
}

.banner.text p {
  color: #fff;
  margin-bottom: 68px;
}

.banner.text img{
    margin-top: 218px;
    float: left;
    border-radius: 0;
}

.dynamicform:has(> .banner.logo) {
  display: flex; 
  align-items: stretch;  
}

.banner.text, .banner.logo{
   flex: 1;
}

.banner.logo {
    display: flex;
    flex-direction: column-reverse;
   margin-bottom: 68px;
}

.banner.logo img{
    border-radius: 0;
    float: right;
}


/*---VISTA MOVIL-----*/
@media (max-width: 768px) {

.banner.text img {
    margin-top: 28px !important;
    }
}

/*-------------------------
PRIMER CTA
---------------------------*/
.first-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 38px 0;
} 

.first-cta a.btn.black {
    margin-left: 32px;
}

@media (max-width: 768px) {

.first-cta{
flex-direction: column;
}

.first-cta a.btn.black {
    margin-left: 0;
     }

}
/*-------------------------
PHOTO + TEXT
-------------------------*/


.dynamicform:has(.color-card) {
    max-width: 980px;
    display: flex !important;
    flex-wrap: wrap;
    height: 100% !important;
    padding: 36px 0;
}

.dynamicform:has(.color-card) .row, 
.dynamicform:has(.color-card) .col {
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: end;
    margin: 0;
    padding: 0;
}

/* Contenedor de la imagen */
.color-card .center {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
}

.color-card img.responsive-img {
    display: block !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 2; /* Por encima del fondo redondeado */
    max-width: 360px !important;
}

.color-card-text p{
   margin:0;
}


/* ------ BULLETS ------*/

/* El contenedor principal */
.bullets {
  width: 100%;
  padding: 20px;
}

/* La lista (quitamos los puntos por defecto si quieres personalizarlos) */
.bullets ul {
  list-style: none; /* Quitamos el bullet estándar para tener más control */
  padding: 0;
  margin: 0;
}

/* Cada elemento de la lista */
.bullets li {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: #004852; 
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

/* El nuevo bullet personalizado (un círculo con tu color azul) */
.bullets li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #004852; 
  border-radius: 50%; 
  margin-right: 15px; /* Espacio entre el punto y el texto */
  flex-shrink: 0; /* Evita que el punto se aplaste si el texto es largo */
}

/* --- ESTILOS PARA PC (Escritorio) --- */
@media (min-width: 993px) {
    
    /* Aplicamos el fondo y el redondeo directamente a la columna de la imagen */
    .color-card {
        border-radius: 24px; 
        position: relative;
        overflow: hidden; 
    }

/* Asignación de colores por clase en PC */
.dynamicform:has(.color-card.left2) .color-card{
    position:relative;
}

.dynamicform:has(.color-card) .color-card::after{
    width: 62%;
    position: absolute;
    top: 0;
    bottom: 0; 
    left: 98px;
    content: "";
    border-radius: 24px;
    background: linear-gradient(to bottom, #004852 60%, #000000 100%);
}

    /* Centrado vertical del texto de descripción */
    .dynamicform:has(.color-card) > .col:not(.color-card) {
        justify-content: center !important;
        padding: 0 5% !important;
    }

    .color-card img {
        margin-top: auto !important;
        margin-bottom: -2px !important; 
        max-width: 100% !important;
        align-self: center;
    }
}

/* --- ESTILOS PARA MÓVIL Y TABLET --- */
@media (max-width: 992px) {
    .dynamicform:has(.color-card) {
        flex-direction: column !important;
    }

    .color-card {
        width: 100% !important;
        order: 1 !important; 
        border-radius: 24px;
        padding-top: 40px !important;
        overflow: hidden;
    }

}


/* =============================================
   BLOQUE DE PRODUCTO
   ============================================= */

/* 1. Contenedor Principal */
.product-block {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 68px 0;
}

.product-block.reverse{
    flex-direction: row-reverse;
    margin-bottom: 0;
}

/* 2. Columna de Texto */
.product-block > div:first-child, 
.product-block.reverse > div:last-child {
    flex: 1.2;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-block.reverse > div:last-child{
border: none;
}

/* 3. Columna de Imagen */
.product-block > div:last-child,  
.product-block.reverse > div:first-child{
    flex: 1;
    margin: 0 !important;
    border: 1px solid #d1d1d1;
    border-radius: 15px;
    padding: 30px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 4. Ajuste de la imagen interna */
.product-block img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0;
}

/* 5. Títulos y Párrafos */
.product-block h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #000;
}

.product-block h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 5px;
}

/* Texto gris debajo de Características */
.product-block h4 + p {
    color: #888888;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-left: 46px; /* Alineación con el texto del h4 */
    margin-top: 0;
}

/* 6. Lista de Bullets superiores */
.product-block ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.product-block ul li {
    font-weight: 500;
    font-size: 1.05rem;
    color: #000;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.product-block ul li::before {
    content: "•";
    color: #004852;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    font-size: 1.5rem;
    line-height: 1;
}

/* 7. Icono de Engranaje (Google Material Symbols) */
.product-block h4::before {
    content: "settings"; 
    font-family: 'Material Symbols Outlined';
    font-size: 20px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d1d1d1;
    border-radius: 8px;
    background-color: #ffffff;
    flex-shrink: 0;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}





.offer-denarius img {
   border-radius: 0!important;
   float: left;
}


/* -------------------------------------
----------- VISTA MOVIL---------------
---------------------------------------*/
/* Ajuste específico para móvil */
@media (max-width: 768px) {

.dynamicform:has(> .banner.text){
    flex-wrap: wrap;
    flex-direction: column;
}

.banner.text{
  max-width: 100%;
}}



/*------------------------------------------
CONTACT FORM
-----------------------------------------*/
.dynamicform:has(> .contact-form) {
    display: flex;
    justify-content: center;
    gap: 10px;
    background-color: #EEEEEE;
    border-radius: 24px;
    padding: 62px;
    margin-bottom: 120px!important;
    padding: 42px !important;
}


.contact-form.card {
    grid-template-columns: auto !important;
}


/* -------------------------------------
----------- VISTA MOVIL---------------
---------------------------------------*/
/* Ajuste específico para móvil */
@media (max-width: 768px) {


/*----  CONTACT FORM ------*/
    .dynamicform:has(> .contact-form){
        padding: 43px 12px 0 12px !important;
        flex-wrap: wrap;
     }
}