/*
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Description: Child theme para Kadence.
Author: Grupo Valentes
Author URI: https://grupovalentes.com/
Template: kadence
Version: 1.0.0
Text Domain: kadence-child
*/
.single-content address,.single-content figure,.single-content hr,.single-content p,.single-content table,.single-content pre,.single-content form,.single-content .wp-block-buttons,.single-content .wp-block-button,.single-content .wc-block-grid,.single-content .wp-block-kadence-advancedbtn,.single-content .wp-block-media-text,.single-content .wp-block-cover,.single-content .entry-content-asset,.single-content .wp-block-kadence-form,.single-content .wp-block-group,.single-content .wp-block-yoast-faq-block,.single-content .wp-block-yoast-how-to-block,.single-content .schema-faq-section,.single-content .wp-block-kadence-tableofcontents,.single-content .enlighter-default,.single-content .wp-block-kadence-iconlist,.single-content [class*=__inner-content] {
    margin-top: 0;
    margin-bottom: 0px;
}

.wp-block-button.is-style-outline .wp-block-button__link:not(.has-background), .wp-block-button.is-style-outline .wp-element-button:not(.has-background), .button.button-style-outline:not(.has-background), .button.kb-btn-global-outline:not(.has-background) {
    background: var(--global-palette1);
}
#menu-footer a{
    color: #fff
}

.custom-1 a {
        color: #012E62;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-transform: uppercase !important;
    background: transparent;
    text-decoration: underline !important;

}
.custom-1 a:hover {
    text-decoration: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
p.top-foo {
    font-weight: 600;
}
p.top-foo strong {
    font-weight: 900;
}

.fw-bold {
    font-weight: 700;
}
.fw-normal {
    font-weight: 400;
}
.fw-semibold {
    font-weight: 600;
}
.fw-light {
    font-weight: 300;
}
:root {
    --wp--preset--font-size--small:    13px;
    --wp--preset--font-size--normal:   16px;
    --wp--preset--font-size--medium:   16px;
    --wp--preset--font-size--large:    20px;
    --wp--preset--font-size--x-large:  28px;
    --wp--preset--font-size--xx-large: 36px;
    --wp--preset--font-size--huge:     48px;
}

@media (max-width: 768px) {
    :root {
        --wp--preset--font-size--small:    12px;
        --wp--preset--font-size--normal:   15px;
        --wp--preset--font-size--medium:   15px;
        --wp--preset--font-size--large:    18px;
        --wp--preset--font-size--x-large:  22px;
        --wp--preset--font-size--xx-large: 28px;
        --wp--preset--font-size--huge:     36px;
    }
    p.top-foo {
    text-align: center;
}
}

/* =========================================================
   Widget area: Después del Header — full width
   ========================================================= */

.cb-after-header-area {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 0;
}

.cb-after-header-area .widget {
    margin: 0;
    padding: 0;
}

/* =========================================================
   Contact Form 7 — Estilo personalizado
   ========================================================= */

.wpcf7-form p {
    margin-bottom: 0 !important;
}

/* ── Campos de texto / email ─────────────────────────────── */
.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email {
    width: 100%;
    background: #f7f7f7;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.wpcf7-form .wpcf7-text::placeholder,
.wpcf7-form .wpcf7-email::placeholder {
    color: #999;
}

.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus {
    border-color: #012e62;
    box-shadow: 0 0 0 3px rgba(1, 46, 98, 0.08);
    background: #fff;
}

/* ── Textarea ───────────────────────────────────────────── */
.wpcf7-form .wpcf7-textarea {
    width: 100%;
    min-height: 100px;
    background: #f7f7f7;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 15px;
    color: #333;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 12px;
    box-sizing: border-box;
    font-family: inherit;
}

.wpcf7-form .wpcf7-textarea::placeholder {
    color: #999;
}

.wpcf7-form .wpcf7-textarea:focus {
    border-color: #012e62;
    box-shadow: 0 0 0 3px rgba(1, 46, 98, 0.08);
    background: #fff;
}

/* ── Checkbox de aceptación ─────────────────────────────── */
.wpcf7-form .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 1.5px solid #aaa;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    margin-top: 2px;
    transition: background 0.15s, border-color 0.15s;
    position: relative;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"]:checked {
    background: #012e62;
    border-color: #012e62;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: '';
    display: block;
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    color: #444;
    line-height: 1.4;
    cursor: pointer;
}

/* ── Texto legal ────────────────────────────────────────── */
.wpcf7-legal-text {
    font-size: 12.5px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 20px !important;
}

.wpcf7-legal-text a {
    color: #012e62;
    text-decoration: none;
    font-weight: 600;
}

.wpcf7-legal-text a:hover {
    text-decoration: underline;
}

/* ── Botón ENVIAR ───────────────────────────────────────── */
.wpcf7-form .wpcf7-submit {
    background: #a08050;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px 32px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}

.wpcf7-form .wpcf7-submit:hover {
    background: #8a6c3e;
}

/* ── Mensajes de error / éxito ──────────────────────────── */
.wpcf7-form .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #c0392b;
    margin-top: -8px;
    margin-bottom: 8px;
    display: block;
}

.wpcf7 .wpcf7-response-output {
    border-radius: 6px;
    font-size: 14px;
    padding: 10px 16px;
    margin-top: 12px;
    border: none;
}

.wpcf7 .wpcf7-mail-sent-ok {
    background: #eafaf1;
    color: #1e8449;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng {
    background: #fdedec;
    color: #c0392b;
}
