/* 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;

}

.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(> .header) {
  min-width: 100%!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;
}

body h1,
body h1 *{
    display: block;
    width: 100%;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.2 ;
    font-weight: 700 ;
    word-wrap: normal ;
    margin-top: 50px;
   font-family: 'Outfit', sans-serif!important;
}

@media (max-width: 768px) {
h1, 
.white-text {
        margin-top: 48px !important;
    }
}

body h2,
body 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-medium p{
 font-size: clamp(1.125rem, 2.2vw, 1.375rem) !important;
line-height: 1.45 !important;
}

.p-large p{
  font-size: clamp(1.375rem, 3vw, 1.75rem) !important;
  line-height: 1.3 !important;
} 

.row:has(> div > .vertical-center) > div {
    display: flex;
    align-items: center;
   }

.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%);
}


@media (max-width: 600px) {

  /* Colocar los bloques uno debajo del otro */
  .row[style*="background:"]:has(h1) > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  /* Eliminar las columnas vacías laterales */
  .row[style*="background:"]:has(h1) > div > .col.l1 {
    display: none !important;
  }

  /* Dar al bloque de texto todo el ancho */
  .row[style*="background:"]:has(h1) > div > .col:has(h1) {
    box-sizing: border-box;
    float: none !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 24px !important;
  }

  /* Quitar los desplazamientos interiores */
  .row[style*="background:"]:has(h1) .row:has(h1) {
    width: 100% !important;
    margin: 0 !important;
  }

  .row[style*="background:"]:has(h1) .col.s12:has(h1) {
    box-sizing: border-box;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Centrar el título y los párrafos */
  .row[style*="background:"]:has(h1) div:has(> h1) {
    width: 100%;
    text-align: center !important;
  }

  .row[style*="background:"]:has(h1) div:has(> h1) > :is(h1, p) {
    display: block !important;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

}


@media only screen and (max-width: 600px) {
    .box-green {
    margin-top: 60px!important;
    }
}

/**************************
VERTICAL CENTER
*************************/
.dynamicform:has(> .horizontal-center) {
  display: flex;
  flex-direction: row;
  justify-content: center;   
  align-items: center;   
}

@media only screen and (max-width: 992px) {
.dynamicform:has(> .horizontal-center.reverse-column){
   flex-direction:column-reverse;
    }
.dynamicform:has(> .horizontal-center){
   flex-wrap: wrap;
    }
}


/*********************
listados
********************/
/*==============================
2. LISTADOS
==============================*/

.list-square,
.list-circle,
.arrow-list,
.green-list,
.admiration-circle-black{
  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-black 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 círculos con admiracion azul
------------------------------------------*/
.admiration-circle-black 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='%23000000' 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");
}


.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;
}

/*------------------------------------------
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;
}


/*********************
BLACK-BLOCK-UNIK
********************/

.black-block-unik {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;

    background-color: #000000 !important;
    border-radius: 20px;

    padding: 24px 40px;
    margin-top: 90px;
    margin-bottom: 90px;

    color: #ffffff;

    /* Separación entre icono y texto */
    gap: 38px;
}


/* =========================
   ICONO CRONÓMETRO
   ========================= */

.black-block-unik::before {
    content: "";
    display: block;

    width: 72px;
    height: 72px;

    flex: 0 0 72px;
    margin-left: 37px;

    background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M29 3H43' stroke='white' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M36 13C18.8792 13 5 26.8792 5 44C5 61.1208 18.8792 75 36 75C53.1208 75 67 61.1208 67 44C67 26.8792 53.1208 13 36 13Z' transform='translate(0 -6)' stroke='white' stroke-width='6'/%3E%3Cpath d='M36 40L49 27' stroke='white' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}


/* =========================
   CONTENIDO
   ========================= */

.black-block-unik > div {
    flex: 1;
    min-width: 0;
}


/* TEXTO */
.black-block-unik p {
    color: #ffffff;
    text-align: left !important;

    font-size: 25px;
    line-height: 1.3;

    margin: 0 !important;
    padding: 20px;
}


/* "10 minutos" */
.black-block-unik p strong {
    font-weight: 700;
    color: #ffffff;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 767px) {

    .black-block-unik {
        padding: 24px;
        gap: 20px;
        border-radius: 16px;
       margin-top: 80px !important; 
    }

    .black-block-unik::before {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .black-block-unik p {
        font-size: 20px;
        line-height: 1.35;
    }
}


/*------------------------------------------
CONTACT FORM
-----------------------------------------*/
.dynamicform:has(> .contact-form) {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 62px;
    margin-top: 120px!important;
    margin-bottom: 150px!important;
    padding: 42px !important;
}


.contact-form.card {
    grid-template-columns: auto !important;
    margin-bottom: 100px;
}


/* -------------------------------------
----------- VISTA MOVIL---------------
---------------------------------------*/
/* Ajuste específico para móvil */
@media (max-width: 600px) {


/*----  CONTACT FORM ------*/
    .dynamicform:has(> .contact-form){
        padding: 43px 32px 0 32px;
        flex-wrap: wrap;
     }


}


/*=============================
MARGIN-SECTION
=============================*/
.row:has(> div > .margin-section){   
    padding: 60px 0;
    display: block;
    overflow: hidden;
}


/************************
 FONDO DEGRADADO
************************/

.fondo-degradado {
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(91, 153, 220, 0.75) 0%,
            rgba(145, 185, 230, 0.50) 28%,
            transparent 58%
        ),
        radial-gradient(
            circle at 75% 75%,
            rgba(180, 204, 235, 0.55) 0%,
            transparent 60%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 28%,
            #f2f6fc 50%,
            #dce7f5 75%,
            #d5e0ef 100%
        );

    background-repeat: no-repeat;
    background-size: cover;
}



/***************************
CAJA VERDE
*************************/


/* =========================================
   BOX GREEN - BLOQUE KLINIKARE
========================================= */

.box-green {
    background:
        radial-gradient(
            circle at 50% 15%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.55) 45%,
            transparent 75%
        ),
        linear-gradient(
            135deg,
            #f4f8f5 0%,
            #edf5ef 50%,
            #e0ede4 100%
        );

    border-radius: 16px;

    /* Tamaño y posición del recuadro */
    padding: 62px 50px 58px !important;
    box-sizing: border-box;

    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px; 
}


/* =========================================
   TÍTULO
========================================= */

.box-green h3 {
    color: #3f8059 !important;

    font-size: 28px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;

    text-align: center !important;

    max-width: 520px;
    margin: 0 auto 12px !important;
}


/* =========================================
   TEXTO GENERAL
========================================= */

.box-green p {
    text-align: center !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}


/* Primera frase:
   "Software de gestión clínica..."
========================================= */

.box-green p > span {
    color: #3f8059 !important;

    font-size: 16px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
}


/* =========================================
   ÚLTIMA LÍNEA
   Agenda · Facturación · Comunicación...
========================================= */

.box-green p strong {
    display: block;

    color: #000000 !important;

    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;

    margin-top: 42px !important;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 992px) {

    .box-green {
        padding: 50px 35px !important;
    }

    .box-green h3 {
        font-size: 25px !important;
    }

}


/* =========================================
   MÓVIL
========================================= */

@media (max-width: 600px) {

    .box-green {
        padding: 40px 22px !important;
        border-radius: 16px;
    }

    .box-green h3 {
        font-size: 23px !important;
        line-height: 1.15 !important;
    }

    .box-green p > span {
        font-size: 15px !important;
    }

    .box-green p strong {
        font-size: 15px !important;
        margin-top: 32px !important;
    }
}


/************************
BOTÓN NEGRO EVENTO
************************/

.btn-black-event a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 14px 45px;
    border: none !important;
    border-radius: 50px !important;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    margin: 30px auto;
}


/* HOVER */
.btn-black-event a:hover {
    background-color: #342F2F !important;
    color: #ffffff !important;
}

/* PADRE DEL BOTÓN */
.row:has(.center-align > a.btn-black-event) {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;

    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

/* MÓVIL */
@media (max-width: 768px) {
    .btn-black-event {
        width: 100%;
        min-width: 0;
        min-height: 62px;
        padding: 16px 25px;
        font-size: 18px;
    }
}