/*
Theme Name: PF Corporate
Theme URI: https://precisefuture.es/themes/pf-corporate
Description: Tema hijo de Hello Elementor, diseñado para ser 100% compatible con Elementor y optimizado para SEO.
Author: Precise Future
Author URI: https://precisefuture.es
Template: hello-elementor
Version: 2.0.0
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: pf-corporate
*/

/**
 * Estilos básicos utilizando las variables de color globales
 */


/** Esto no deberia estar aqui */
:root {
    --pf-color-background: #ffffff;
    --pf-color-text: #545454;
    --pf-color-button-dark: #292c5e;
    --pf-color-button-light: #959aa4;
    --pf-color-link: #616294;
    --pf-color-hover: #f64004;
    --pf-color-surface: #f8f8f8;
}

/* Estilos globales */
body {
    background-color: var(--pf-color-background);
    color: var(--pf-color-text);
}

a {
    color: var(--pf-color-link);
    transition: color 0.3s ease;
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--pf-color-hover);
    transition: color 0.3s ease;
    text-decoration: none;
}

p a {
    text-decoration: underline;
    transition: color 0.3s ease;
}

p a:hover {
    color: var(--pf-color-hover);
    transition: color 0.3s ease;
    text-decoration: underline;
}

h1 {
    color: var(--pf-color-button-dark);
}

h2 {
    color: var(--pf-color-button-hover);
}



/* Botones */
.pf-button-dark {
    background-color: var(--pf-color-button-dark);
    color: var(--pf-color-background);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.pf-button-dark:hover {
    filter: contrast(1.2) brightness(1.1) drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    transform: translateY(-2px);
}

.pf-button-light {
    background-color: var(--pf-color-button-light);
    color: var(--pf-color-text);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.pf-button-light:hover {
    filter: contrast(1.2) brightness(1.1) drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    transform: translateY(-2px);
}

/* Superficies y paneles */
.pf-surface {
    background-color: var(--pf-color-surface);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

/* Clases de utilidad para colores directos */
.pf-bg-primary {
    background-color: var(--pf-color-button-dark);
}

.pf-bg-light {
    background-color: var(--pf-color-button-light);
}

.pf-bg-surface {
    background-color: var(--pf-color-surface);
}

.pf-text-primary {
    color: var(--pf-color-button-dark);
}

.pf-text-light {
    color: var(--pf-color-button-light);
}

.pf-link-color {
    color: var(--pf-color-link);
}

/* Ajustes específicos para widgets de Elementor */
.elementor a {
    color: var(--pf-color-link);
}

.elementor a:hover {
    color: var(--pf-color-hover);
}

/* Reescribir los estilos de Elementor */

a.elementor-button {
    background-color: var(--pf-color-button-dark);
    color: var(--pf-color-background);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    color: var(--pf-color-background);
}

a.elementor-button:hover {
    filter: contrast(1.2) brightness(1.1) drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
    transform: translateY(-2px);
    background-color: var(--pf-color-button-dark);
    color: var(--pf-color-background);
}

.lined-bottom {
    margin-bottom: 1.5rem;
    display: block !important;
    position: relative;
}

.lined-bottom::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--pf-color-hover);
}

.lined-bottom-center {
    margin-bottom: 1.5rem;
    display: block !important;
    position: relative;
}

.lined-bottom-center::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -20px;
    left: calc(50% - 45px);
    width: 90px;
    height: 3px;
    background-color: var(--pf-color-hover);
}

.right-border-box {
    background-color: #fff;
    padding: 20px 50px 20px 0px;
    border-left: 5px solid var(--pf-color-button-dark);
    position: relative;
}

.right-border-box i {
    width: 32px;
    height: 32px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    place-items: center;
    position: absolute;
    right: 10px;
}

.profesores .right-border-box {
    padding: 10px 20px 10px 30px;
    min-width: calc(33% - 10px);
}

.step-indicator {
    display: flex;
    justify-content: center;
    place-items: center;
    width: 48px;
    height: 48px;
    background-color: var(--pf-color-button-dark);
    color: #fff;
    border-radius: 50%;
    font-size: 1rem !important;
    line-height: 1rem !important;
    font-weight: bolder;
}