/* --- 10. Página de Contacto y Contact Form 7 --- */
.nxp-contact-container {
    padding-top: 80px;
    padding-bottom: 80px;
}

.nxp-contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 50px;
}

.nxp-contact-info-col {
    padding-right: 20px;
}

.nxp-contact-heading {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 15px;
    line-height: 1.2;
}

.nxp-contact-desc {
    font-size: 16px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 40px;
}

.nxp-contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.nxp-contact-item {
    display: flex;
    align-items: flex-start;
}

.nxp-contact-icon {
    width: 45px;
    height: 45px;
    background: #eef4f9;
    color: #1e73be;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.nxp-contact-icon svg {
    width: 20px;
    height: 20px;
}

.nxp-contact-text {
    font-size: 15px;
    color: #555555;
    line-height: 1.5;
}

.nxp-contact-text strong {
    font-size: 16px;
    color: #111111;
    display: block;
    margin-bottom: 5px;
}

.nxp-contact-text a {
    color: #1e73be;
    text-decoration: none;
    font-weight: 600;
}

.nxp-contact-social {
    border-top: 1px solid #eaeaea;
    padding-top: 25px;
}

.nxp-contact-social p {
    font-size: 14px;
    color: #888888;
    margin-bottom: 10px;
}

.nxp-social-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #0077b5;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.nxp-social-btn:hover {
    background: #005582;
}

.nxp-social-btn svg {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.nxp-cf7-card {
    background: #121212;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.nxp-cf7-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.nxp-cf7-desc {
    font-size: 15px;
    color: #aaaaaa;
    margin-bottom: 30px;
    line-height: 1.6;
}

.nxp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nxp-form-group {
    margin-bottom: 20px;
}

.nxp-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.nxp-cf7-card .wpcf7-form-control.wpcf7-text,
.nxp-cf7-card .wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 6px;
    padding: 12px 15px;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.nxp-cf7-card .wpcf7-form-control.wpcf7-text:focus,
.nxp-cf7-card .wpcf7-form-control.wpcf7-textarea:focus {
    outline: none;
    border-color: #1e73be;
    background: #222222;
    color: #ffffff !important;
    box-shadow: 0 0 0 2px rgba(30, 115, 190, 0.2);
}

.wpcf7-form-control.wpcf7-text::placeholder,
.wpcf7-form-control.wpcf7-textarea::placeholder {
    color: #555555;
}

.wpcf7-form-control.wpcf7-textarea {
    resize: vertical;
    min-height: 120px;
}

.wpcf7-form-control.wpcf7-submit.nxp-cta-button {
    background: #D8225D;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wpcf7-form-control.wpcf7-submit.nxp-cta-button:hover {
    background: #b01a4a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(216, 34, 93, 0.3);
}

.wpcf7-spinner {
    margin-top: 15px;
}

.nxp-rgpd-group .wpcf7-list-item,
.nxp-rgpd-group-newsletter .wpcf7-list-item {
    margin: 0;
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
}

.nxp-rgpd-group input[type="checkbox"],
.nxp-rgpd-group-newsletter input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #D8225D;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background: rgba(216, 34, 93, 0.1);
    border: 1px solid #D8225D;
    color: #D8225D;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #D8225D;
    margin-top: 5px;
}

@media (max-width: 900px) {
    .nxp-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .nxp-contact-info-col {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .nxp-form-grid {
        grid-template-columns: 1fr;
    }
}