
/* FoxVision Contacto v1.0.6 */

/* Cabecera externa del tema */
body.fvc-contact-page .entry-header,
body.fvc-contact-page .page-header,
body.fvc-contact-page header.entry-header,
body.fvc-contact-page h1.entry-title,
body.fvc-contact-page .page-title {
    display:none !important;
}

/* Mantener contenido/formulario */
body.fvc-contact-page .entry-content,
body.fvc-contact-page .page-content,
body.fvc-contact-page .wp-block-post-content,
body.fvc-contact-page .fv-page-shell,
body.fvc-contact-page form {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
}

/* Caja principal */
body.fvc-contact-page .fv-page-shell {
    width:min(1180px, calc(100% - 48px)) !important;
    max-width:1180px !important;
    margin:34px auto 48px !important;
    padding:0 !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    background:#071523 !important;
    border:1px solid rgba(17,190,235,.30) !important;
    border-radius:16px !important;
    box-shadow:0 14px 38px rgba(0,0,0,.22) !important;
}

/* Cabecera dentro de caja */
body.fvc-contact-page .fvc-tool-heading {
    margin:0 !important;
    padding:26px 32px 24px !important;
    background:#0d1c2e !important;
    border:0 !important;
    border-bottom:1px solid rgba(92,139,187,.36) !important;
    box-shadow:none !important;
}

body.fvc-contact-page .fvc-tool-kicker {
    margin:0 0 8px !important;
    color:#2bd9ff !important;
    font-size:14px !important;
    line-height:1.25 !important;
    font-weight:800 !important;
    letter-spacing:.17em !important;
    text-transform:uppercase !important;
}

body.fvc-contact-page .fvc-tool-title {
    margin:0 0 12px !important;
    padding:0 !important;
    color:#f5f7fb !important;
    font-size:38px !important;
    line-height:1.08 !important;
    letter-spacing:-.02em !important;
    font-weight:750 !important;
}

body.fvc-contact-page .fvc-tool-lead {
    margin:0 !important;
    max-width:1080px !important;
    color:#b6c6da !important;
    font-size:18px !important;
    line-height:1.5 !important;
}

/* Contenido interior */
body.fvc-contact-page .fv-page-shell > :not(.fvc-tool-heading) {
    margin-left:38px !important;
    margin-right:38px !important;
}

body.fvc-contact-page .fv-page-shell > :last-child {
    margin-bottom:42px !important;
}

/* Formulario */
body.fvc-contact-page .fv-contact-box,
body.fvc-contact-page .foxvision-contact-form,
body.fvc-contact-page .fvcf-wrap,
body.fvc-contact-page form {
    width:auto !important;
    max-width:none !important;
    box-sizing:border-box !important;
}

body.fvc-contact-page .fv-contact-box {
    background:transparent !important;
    border:0 !important;
    padding:0 !important;
}

body.fvc-contact-page form,
body.fvc-contact-page .foxvision-contact-form,
body.fvc-contact-page .fvcf-wrap {
    background:#0d1c29 !important;
    border:1px solid rgba(17,190,235,.22) !important;
    border-radius:14px !important;
    padding:28px 30px !important;
}

body.fvc-contact-page label {
    color:#d9e3ee !important;
    font-weight:600 !important;
}

body.fvc-contact-page input:not([type="checkbox"]):not([type="radio"]),
body.fvc-contact-page select,
body.fvc-contact-page textarea {
    width:100% !important;
    box-sizing:border-box !important;
    background:#081421 !important;
    color:#eef4fa !important;
    border:1px solid rgba(80,150,190,.42) !important;
    border-radius:10px !important;
    outline:none !important;
    box-shadow:none !important;
}

/* Tablet */
@media (max-width:980px) {
    body.fvc-contact-page .fv-page-shell {
        width:min(100% - 30px,1180px) !important;
        margin:26px auto 38px !important;
    }

    body.fvc-contact-page .fvc-tool-heading {
        padding:24px 26px 22px !important;
    }

    body.fvc-contact-page .fvc-tool-title {
        font-size:34px !important;
    }

    body.fvc-contact-page .fv-page-shell > :not(.fvc-tool-heading) {
        margin-left:28px !important;
        margin-right:28px !important;
    }

    body.fvc-contact-page .fvc-footer__inner {
        width:min(100% - 30px,1180px) !important;
    }
}

/* Móvil */
@media (max-width:680px) {
    body.fvc-contact-page .fv-page-shell {
        width:calc(100% - 20px) !important;
        margin:16px auto 26px !important;
        border-radius:13px !important;
    }

    body.fvc-contact-page .fvc-tool-heading {
        padding:20px 18px 18px !important;
    }

    body.fvc-contact-page .fvc-tool-kicker {
        font-size:10px !important;
        letter-spacing:.13em !important;
    }

    body.fvc-contact-page .fvc-tool-title {
        font-size:28px !important;
        line-height:1.1 !important;
    }

    body.fvc-contact-page .fvc-tool-lead {
        font-size:15px !important;
        line-height:1.45 !important;
    }

    body.fvc-contact-page .fv-page-shell > :not(.fvc-tool-heading) {
        margin-left:18px !important;
        margin-right:18px !important;
    }

    body.fvc-contact-page form,
    body.fvc-contact-page .foxvision-contact-form,
    body.fvc-contact-page .fvcf-wrap {
        padding:22px 18px !important;
    }

    body.fvc-contact-page .fvc-footer__inner {
        width:calc(100% - 26px) !important;
        padding:20px 0 22px !important;
        font-size:14px !important;
    }
}






/* =========================================================
   FOOTER v1.0.8
   COPIA LITERAL DEL FOOTER QUE FUNCIONA EN EMAIL SECURITY
   ========================================================= */

body.fvc-contact-page footer.ct-footer,
body.fvc-contact-page #footer,
body.fvc-contact-page .site-footer:not(.fves-footer),
body.fvc-contact-page [data-id="footer"] {
    display:none !important;
}

.fves-footer {
    display:block !important;
    width:100%;
    margin:0;
    background:#06111d;
    border-top:1px solid rgba(0,200,255,.22);
}

.fves-footer__inner {
    width:min(1180px,calc(100% - 48px));
    margin:0 auto;
    padding:24px 0 26px;
    text-align:center;
    color:#c7d1dc;
    font-size:16px;
    line-height:1.5;
}

@media (max-width:980px) {
    .fves-footer__inner {
        width:min(100% - 30px,1180px);
    }
}

@media (max-width:680px) {
    .fves-footer__inner {
        width:calc(100% - 26px);
        padding:20px 0 22px;
        font-size:14px;
    }
}


/* v1.0.9 — eliminar exclusivamente el footer original de Blocksy/CreativeThemes.
   El footer FoxVision (.fves-footer) permanece visible. */
body.fvc-contact-page footer#footer,
body.fvc-contact-page footer.ct-footer,
body.fvc-contact-page #footer.site-footer,
body.fvc-contact-page .ct-footer,
body.fvc-contact-page [data-id="footer"]:not(.fves-footer) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* Ocultar específicamente el copyright del tema si el contenedor padre
   no ha sido capturado por el selector anterior. */
body.fvc-contact-page .ct-footer-copyright,
body.fvc-contact-page [data-id="copyright"] {
    display: none !important;
}


/* =========================================================
   v1.0.10 — footer de Contacto igual al visual de Email Security
   ========================================================= */

/* Footer FoxVision: full width, centrado y con altura real */
body.fvc-contact-page .fves-footer {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:150px !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
    background:#071523 !important;
    border-top:1px solid rgba(0,200,255,.30) !important;
    position:relative !important;
    left:0 !important;
    right:0 !important;
    float:none !important;
    clear:both !important;
}

body.fvc-contact-page .fves-footer__inner {
    display:block !important;
    width:min(1180px, calc(100% - 48px)) !important;
    max-width:1180px !important;
    margin:0 auto !important;
    padding:0 !important;
    text-align:center !important;
    color:#c7d1dc !important;
    font-size:16px !important;
    line-height:1.5 !important;
    font-weight:400 !important;
    box-sizing:border-box !important;
}

/* Si el tema deja un bloque copyright independiente, no debe ocupar sitio */
body.fvc-contact-page .ct-footer-copyright,
body.fvc-contact-page [data-id="copyright"],
body.fvc-contact-page .copyright,
body.fvc-contact-page .site-info {
    display:none !important;
    height:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
}

@media (max-width:680px) {
    body.fvc-contact-page .fves-footer {
        min-height:118px !important;
    }

    body.fvc-contact-page .fves-footer__inner {
        width:calc(100% - 26px) !important;
        font-size:14px !important;
    }
}


/* v1.0.11 — igualar la altura del footer al resto de páginas */
body.fvc-contact-page .fves-footer {
    min-height:0 !important;
    height:auto !important;
    display:block !important;
}

body.fvc-contact-page .fves-footer__inner {
    padding:24px 0 26px !important;
}

@media (max-width:680px) {
    body.fvc-contact-page .fves-footer {
        min-height:0 !important;
        height:auto !important;
    }

    body.fvc-contact-page .fves-footer__inner {
        padding:20px 0 22px !important;
    }
}


/* v1.0.12 — footer 1,5x respecto a v1.0.11 */
body.fvc-contact-page .fves-footer__inner {
    padding:36px 0 39px !important;
}

@media (max-width:680px) {
    body.fvc-contact-page .fves-footer__inner {
        padding:30px 0 33px !important;
    }
}


/* v1.0.13 — footer único gestionado por FOXVISION Core. */
body.fvc-contact-page .fves-footer:not(.fv-global-footer),
body.fvc-contact-page .fvc-footer,
body.fvc-contact-page .fvport-footer { display:none !important; }
body.fvc-contact-page .fv-global-footer { display:block !important; }

/* === FoxVision Contacto 2.0.0: estilos del formulario integrados === */

.fvc-contact-block{margin-top:28px}
.fvc-form{background:#111e29;border:1px solid #25485a;border-radius:16px;padding:28px;color:#eaf4f8;box-sizing:border-box}
.fvc-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.fvc-form label{display:block;margin:0 0 18px}
.fvc-form label>span:first-child{display:block;margin:0 0 7px;font-size:14px;font-weight:700;color:#eaf4f8}
.fvc-form b{color:#00c8ff}
.fvc-form input[type=text],.fvc-form input[type=email],.fvc-form select,.fvc-form textarea{width:100%;box-sizing:border-box;background:#09131c;border:1px solid #315267;border-radius:8px;color:#f5f9fb;padding:12px 13px;font:inherit;outline:none}
.fvc-form textarea{min-height:155px;resize:vertical}
.fvc-form input:focus,.fvc-form select:focus,.fvc-form textarea:focus{border-color:#00c8ff;box-shadow:0 0 0 3px rgba(0,200,255,.10)}
.fvc-form ::placeholder{color:#718794}
.fvc-consent{display:flex!important;gap:10px;align-items:flex-start;font-size:13px;line-height:1.55;color:#aabcc7}
.fvc-consent input{margin-top:4px;accent-color:#00c8ff}.fvc-consent a{color:#00c8ff}
.fvc-form button{background:#00c8ff;border:0;border-radius:8px;color:#061018;font-weight:800;padding:12px 18px;cursor:pointer}
.fvc-form button:hover{filter:brightness(1.08)}
.fvc-note{margin:15px 0 0!important;color:#778e9b!important;font-size:12px!important}
.fvc-hp{position:absolute!important;left:-99999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.fvc-alert{margin:0 0 18px;padding:12px 14px;border-radius:8px}
.fvc-ok{border:1px solid rgba(45,200,125,.45);background:rgba(45,200,125,.10);color:#b9f3d5}
.fvc-error{border:1px solid rgba(235,85,85,.45);background:rgba(235,85,85,.10);color:#ffc2c2}
@media(max-width:700px){.fvc-grid{grid-template-columns:1fr;gap:0}.fvc-form{padding:19px}}

/* v1.2.1 - Mejora de legibilidad del desplegable */
.fvc-form select{
    background-color:#09131c !important;
    color:#f5f9fb !important;
    color-scheme:dark;
}

.fvc-form select option{
    background:#13212E !important;
    color:#f5f9fb !important;
}

.fvc-form select option:checked,
.fvc-form select option:hover,
.fvc-form select option:focus{
    background:#1b3b4d !important;
    color:#ffffff !important;
}

.fvc-form select:invalid{
    color:#8fa3af !important;
}

.fvc-form select:valid{
    color:#f5f9fb !important;
}

/* v1.2.2 - Corrección del recorte vertical del texto en "Motivo de contacto" */
.fvc-form select{
    min-height:44px !important;
    height:44px !important;
    line-height:20px !important;
    padding-top:11px !important;
    padding-bottom:11px !important;
    padding-left:13px !important;
    padding-right:38px !important;
    box-sizing:border-box !important;
    vertical-align:middle !important;
    font-size:14px !important;
    font-family:inherit !important;
    text-rendering:optimizeLegibility;
}

.fvc-form select option{
    line-height:1.4 !important;
    min-height:28px !important;
    padding:6px 10px !important;
    font-size:14px !important;
}

/* Evita que reglas del tema reduzcan la altura interna del select */
.fvc-contact-block select,
.fvc-contact-block .fvc-form select{
    overflow:visible !important;
    clip:auto !important;
}

