/* PLACE YOU CUSTOM STYLES IN THIS FILE */

/* Contact Popup */
.nk-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 20, 20, 0.92);
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.nk-popup-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

body.nk-popup-open {
    overflow: hidden;
}

.nk-popup {
    position: relative;
    background: #141414;
    border: 1px solid #404040;
    max-width: 420px;
    width: 100%;
    padding: 40px 30px 30px;
    box-sizing: border-box;
    margin: auto;
}

.nk-popup h3 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.nk-popup .form-control {
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.nk-popup textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

.nk-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #848484;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 8px;
}

.nk-popup-close:hover {
    color: #fff;
}

.nk-popup-submit {
    display: inline-block;
    margin-top: 20px;
    background: none;
    border: 1px solid #848484;
    color: #fff;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: .5px;
    cursor: pointer;
    transition: .2s border-color, .2s background-color;
}

.nk-popup-submit:hover {
    border-color: #F44336;
    background-color: #F44336;
}

/* Honeypot: oculto para personas, visible para bots */
.nk-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Trigger del popup: ahora es el unico CTA de contacto visible, mas grande e invertido */
.nk-contact-cta {
    display: inline-block;
    padding: 14px 38px;
    font-size: 1.2em;
    border: 1px solid #F44336;
    border-radius: 30px;
    background-color: #F44336;
    color: #fff !important;
    transition: .2s background-color, .2s color;
}

.nk-contact-cta:hover {
    background-color: transparent;
    color: #F44336 !important;
}

/* Alinea verticalmente iconos + boton pill, sin pisar el resto de usos de .nk-nav */
.nk-layout-bottom-center .nk-nav ul {
    display: flex;
    align-items: center;
}

.nk-nav-icon {
    display: flex !important;
    align-items: center;
}

.nk-nav-icon svg {
    display: block;
    transition: transform .2s;
}

.nk-nav-icon:hover svg {
    transform: scale(1.08);
}

/* Feedback del formulario, controlado 100% por nuestro propio JS */
.nk-contact-feedback {
    display: none;
    font-size: 0.85em;
    margin-bottom: 15px;
    line-height: 1.5;
}

.nk-contact-feedback:not(:empty) {
    display: block;
}

.nk-contact-feedback.success {
    color: #5CB85C;
}

.nk-contact-feedback.error {
    color: #D9534F;
}

.nk-popup-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.nk-popup-submit:disabled:hover {
    border-color: #848484;
    background-color: transparent;
}
